Skip to content

Commit 2a57298

Browse files
committed
Rename tests directory to match other projects
1 parent 00be735 commit 2a57298

18 files changed

Lines changed: 6 additions & 6 deletions

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.github/ export-ignore
2-
/test/ export-ignore
2+
/tests/ export-ignore
33
/.editorconfig export-ignore
44
/.gitattributes export-ignore
55
/.gitignore export-ignore

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
/vendor/
66
/composer.lock
7-
/test/config.php
7+
/tests/config.php

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$finder = PhpCsFixer\Finder::create()
44
->path([
55
'src/',
6-
'test/',
6+
'tests/',
77
])
88
->ignoreVCSIgnored(true)
99
->append([__FILE__])

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"autoload-dev": {
3737
"psr-4": {
38-
"DevTheorem\\Phaster\\Test\\": "test/"
38+
"DevTheorem\\Phaster\\Test\\": "tests/"
3939
}
4040
},
4141
"config": {
@@ -44,7 +44,7 @@
4444
"scripts": {
4545
"analyze": "phpstan analyze",
4646
"cs-fix": "php-cs-fixer fix -v",
47-
"test": "phpunit test --bootstrap test/bootstrap.php",
47+
"test": "phpunit tests --bootstrap tests/bootstrap.php",
4848
"test-mssql": "@test --exclude-group mysql --exclude-group pgsql",
4949
"test-mysql": "@test --exclude-group mssql --exclude-group pgsql",
5050
"test-pgsql": "@test --exclude-group mssql --exclude-group mysql",

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ parameters:
22
level: 10
33
paths:
44
- src
5-
- test
5+
- tests

0 commit comments

Comments
 (0)