Skip to content

Commit

Permalink
Use psr-4 instead of psr-0 autoload and update test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfausk committed Mar 29, 2020
1 parent 7a237a3 commit 1bbe947
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .scenarios.lock/symfony3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"g1a/composer-test-scenarios": "^3.0"
},
"autoload": {
"psr-0": {
"Robertfausk\\Behat\\PantherExtension": "src/"
"psr-4": {
"Robertfausk\\Behat\\PantherExtension": "../../src/"
}
},
"autoload-dev": {
Expand Down
4 changes: 2 additions & 2 deletions .scenarios.lock/symfony4/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"g1a/composer-test-scenarios": "^3.0"
},
"autoload": {
"psr-0": {
"Robertfausk\\Behat\\PantherExtension": "src/"
"psr-4": {
"Robertfausk\\Behat\\PantherExtension": "../../src/"
}
},
"autoload-dev": {
Expand Down
14 changes: 3 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,15 @@ php: [7.1, 7.2, 7.3, 7.4]
matrix:
include:
- php: 7.4
env: 'SCENARIO=symfony4 DEPENDENCIES=highest'
env: 'symfony3 DEPENDENCIES=lowest'
- php: 7.4
env: 'SCENARIO=symfony4 DEPENDENCIES=lowest'
- php: 7.4
env: 'SCENARIO=symfony3'
- php: 7.3
env: 'SCENARIO=symfony4'
env: 'symfony3 DEPENDENCIES=highest'
- php: 7.3
env: 'SCENARIO=symfony3'
- php: 7.2
env: 'SCENARIO=symfony4'
- php: 7.2
env: 'SCENARIO=symfony3'
- php: 7.1
env: 'SCENARIO=symfony4'
- php: 7.1
env: 'SCENARIO=symfony3 DEPENDENCIES=highest'
env: 'SCENARIO=symfony3'
- php: 7.1
env: 'SCENARIO=symfony3 DEPENDENCIES=lowest'
cache:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"g1a/composer-test-scenarios": "^3.0"
},
"autoload": {
"psr-0": {
"psr-4": {
"Robertfausk\\Behat\\PantherExtension": "src/"
}
},
Expand Down

0 comments on commit 1bbe947

Please sign in to comment.