Skip to content

Commit 85a2043

Browse files
oliverkleeSam Tuke
authored andcommitted
[CLEANUP] Rename the Tests/ directory to tests/ (#265)
This is the first step towards adopting more of the default Symfony project structure.
1 parent 5d3d0b5 commit 85a2043

File tree

49 files changed

+17
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+17
-16
lines changed

.github/CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,28 @@ script:
5959
- >
6060
echo;
6161
echo "Linting all PHP files";
62-
find Classes/ Tests/ web/ core/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
62+
find Classes/ tests/ web/ core/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
6363
6464
- >
6565
echo;
6666
echo "Running the unit tests";
67-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml Tests/Unit/;
67+
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Unit/;
6868
vendor/bin/phpunit core/tests/;
6969
7070
- >
7171
echo;
7272
echo "Running the integration tests";
73-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml Tests/Integration/;
73+
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Integration/;
7474
7575
- >
7676
echo;
7777
echo "Running the system tests";
78-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml Tests/System/;
78+
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/System/;
7979
8080
- >
8181
echo;
8282
echo "Running the static analysis";
83-
vendor/bin/phpstan analyse -l 5 bin/ Classes/ Tests/ web/;
83+
vendor/bin/phpstan analyse -l 5 bin/ Classes/ tests/ web/;
8484
8585
- >
8686
echo;
@@ -90,4 +90,4 @@ script:
9090
- >
9191
echo;
9292
echo "Running PHP_CodeSniffer";
93-
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/ bin/ Classes/ Tests/ web/;
93+
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/ bin/ Classes/ tests/ web/;

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

Documentation/ClassStructure.md

Lines changed: 1 addition & 1 deletion

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
"autoload-dev": {
7070
"psr-4": {
71-
"PhpList\\PhpList4\\Tests\\": "Tests/"
71+
"PhpList\\PhpList4\\Tests\\": "tests/"
7272
}
7373
},
7474
"scripts": {
@@ -97,7 +97,7 @@
9797
"symfony-bin-dir": "bin",
9898
"symfony-var-dir": "var",
9999
"symfony-web-dir": "web",
100-
"symfony-tests-dir": "Tests",
100+
"symfony-tests-dir": "tests",
101101
"phplist/phplist4-core": {
102102
"bundles": [
103103
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle",

0 commit comments

Comments
 (0)