Skip to content

Commit

Permalink
Add test against PHP 8.2 and exclude tests directories from autolaoder (
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Mar 15, 2023
1 parent 5a520c7 commit 6dc287c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 29 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/src/Goodby/CSV/Export/Tests export-ignore
/src/Goodby/CSV/Import/Tests export-ignore
/src/Goodby/CSV/TestHelper export-ignore
/php-cs-fixer.dist.php export-ignore
/phpunit.xml.dist export-ignore
/phpunit-bootstrap.php export-ignore
/rector.php export-ignore
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- php-version: '7.4'
- php-version: '8.0'
- php-version: '8.1'
- php-version: '8.2'
services:
mysql:
image: mysql:5.7
Expand Down
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

15 changes: 14 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,24 @@
"mockery/mockery": "^1.0",
"suin/php-expose": "^1.0",
"mikey179/vfsstream": "^1.1",
"rector/rector": "^0.12.5"
"rector/rector": "^0.12.5",
"phpspec/prophecy": "^1.14"
},
"autoload": {
"psr-0": {
"Goodby\\CSV": "src/"
},
"exclude-from-classmap": [
"/src/Goodby/CSV/Export/Tests/",
"/src/Goodby/CSV/Import/Tests/",
"/src/Goodby/CSV/TestHelper/"
]
},
"autoload-dev": {
"psr-4": {
"Goodby\\CSV\\Export\\Tests\\": "src/Goodby/CSV/Export/Tests/",
"Goodby\\CSV\\Import\\Tests\\": "src/Goodby/CSV/Import/Tests/",
"Goodby\\CSV\\TestHelper\\": "src/Goodby/CSV/TestHelper/"
}
},
"replace": {
Expand Down

0 comments on commit 6dc287c

Please sign in to comment.