Skip to content

Commit 4819574

Browse files
committed
Test enhancement for fix PSR-4 autoloading
1 parent e966703 commit 4819574

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- '7.1'
55
- '7.2'
66
- '7.3'
7+
- '7.4'
78

89
before_script:
910
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
@@ -16,7 +17,7 @@ script:
1617
# Fail the Travis CI build on the first error.
1718
- set -e
1819
- mkdir -p build/logs
19-
- php vendor/bin/phpcs --standard=PSR12 src
20+
- php vendor/bin/phpcs --standard=PSR2 src
2021
- php vendor/bin/phpcs --standard=PSR1 tests
2122
- php vendor/bin/phpstan analyze --level max src
2223
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

composer.json

-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
"autoload-dev": {
3838
"psr-4": { "PHPExperts\\Combinatorics\\Tests\\" : "tests/" }
3939
},
40-
"config": {
41-
"classmap-authoritative": true
42-
},
4340
"scripts": {
4441
"post-create-project-cmd": [
4542
"php install.php"

phpstan.neon

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
parameters:
2+
checkMissingIterableValueType: false
3+
paths:
4+
- src/
5+
- tests/
File renamed without changes.

0 commit comments

Comments
 (0)