Skip to content

Commit a164594

Browse files
authored
Merge pull request #11 from ker0x/feature/normalize-php74
Normalize composer.json, add PHP 7.4 for tests
2 parents 41803d0 + 8077681 commit a164594

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ php:
1010
- 7.1
1111
- 7.2
1212
- 7.3
13+
- 7.4
1314

1415
env:
1516
global:
@@ -33,8 +34,5 @@ script:
3334
- vendor/bin/phpstan --level=max --memory-limit="-1" --no-progress analyze
3435
- vendor/bin/phpunit --stderr --coverage-clover build/coverage/xml
3536

36-
after_script:
37-
- vendor/bin/codacycoverage clover build/coverage/xml
38-
3937
notifications:
4038
email: false

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"authors": [
1414
{
1515
"name": "Romain Monteil",
16-
"homepage": "https://kerox.fr",
1716
"email": "monteil.romain@gmail.com",
17+
"homepage": "https://kerox.fr",
1818
"role": "Author"
1919
}
2020
],
@@ -28,6 +28,10 @@
2828
"phpstan/phpstan": "^0.11.16",
2929
"phpunit/phpunit": "^7.5"
3030
},
31+
"config": {
32+
"optimize-autoloader": true,
33+
"sort-packages": true
34+
},
3135
"autoload": {
3236
"psr-4": {
3337
"Kerox\\Fcm\\": "src"
@@ -39,12 +43,8 @@
3943
}
4044
},
4145
"scripts": {
42-
"php-stan": "vendor/bin/phpstan --level=max --memory-limit=\"-1\" --no-progress analyze",
4346
"php-cs-fixer": "vendor/bin/php-cs-fixer fix --diff --verbose --config=.php_cs",
47+
"php-stan": "vendor/bin/phpstan --level=max --memory-limit=\"-1\" --no-progress analyze",
4448
"test": "vendor/bin/phpunit"
45-
},
46-
"config": {
47-
"optimize-autoloader": true,
48-
"sort-packages": true
4949
}
5050
}

0 commit comments

Comments
 (0)