Skip to content

Commit 89ea924

Browse files
usoxWorksDev
authored andcommitted
Replace travis-ci badge by github actions badge
1 parent 1b4bd8d commit 89ea924

File tree

112 files changed

+3180
-2725
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+3180
-2725
lines changed

.github/workflows/php.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: ['ubuntu-latest']
15-
php: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
15+
php: ['8.2', '8.3']
1616
continue-on-error: ${{ matrix.php == '8.3' }}
1717
steps:
1818
- uses: actions/checkout@v2
@@ -43,6 +43,6 @@ jobs:
4343
command: composer update --no-interaction --no-progress --ignore-platform-req=php
4444

4545
- name: Run test suite
46-
run: composer run-script tests
46+
run: composer run-script qa
4747
env:
4848
PHP_CS_FIXER_IGNORE_ENV: 1

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
vendor/
22
composer.lock
33
build/
4-
.phpunit.result.cache
5-
.php_cs.cache
4+
.phpunit.cache/
5+
.php-cs-fixer.cache

.php_cs.dist renamed to .php-cs-fixer.dist.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
2-
$config = PhpCsFixer\Config::create();
2+
3+
$config = new PhpCsFixer\Config();
34
$config->getFinder()
45
->exclude('vendor')
56
->in(__DIR__);

.travis.yml

-16
This file was deleted.

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
[![License](https://poser.pugx.org/scn/evalanche-soap-api-struct/license)](LICENSE)
55
[![Tests](https://github.com/SC-Networks/evalanche-soap-api-struct/actions/workflows/php.yml/badge.svg)](https://github.com/SC-Networks/evalanche-soap-api-struct/actions/workflows/php.yml)
66

7-
## Model Documentation
8-
9-
Can be found [here](/docs/index.md).
10-
117
## Testing
128

139
``` bash

composer.json

+10-4
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@
2121
}
2222
],
2323
"require": {
24-
"php": ">=7.2"
24+
"php": ">=8.2"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^8",
28-
"haydenpierce/class-finder": "^0.2.0"
27+
"phpunit/phpunit": "^11.1",
28+
"friendsofphp/php-cs-fixer": "^3.53",
29+
"phpstan/phpstan": "^1.10",
30+
"phpstan/phpstan-strict-rules": "^1.5",
31+
"rector/rector": "^1.0"
2932
},
3033
"autoload": {
3134
"psr-4": {
@@ -39,6 +42,9 @@
3942
},
4043
"scripts": {
4144
"tests": "vendor/bin/phpunit -c phpunit.xml.dist",
42-
"documentation": "php contrib/ReadmeGenerator.php > docs/index.md"
45+
"stan": "vendor/bin/phpstan",
46+
"check-cs": "vendor/bin/php-cs-fixer fix --dry-run --diff",
47+
"fix-cs": "vendor/bin/php-cs-fixer fix",
48+
"qa": "composer check-cs && composer test && composer stan"
4349
}
4450
}

contrib/ReadmeGenerator.php

-181
This file was deleted.

docs/_config.yml

-4
This file was deleted.

docs/assets/images/logo.png

-47.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)