Skip to content

Commit

Permalink
[CLEANUP] PHP-PDS directory structure: Tests -> tests (#494)
Browse files Browse the repository at this point in the history
Renamed "Tests" top-level directory to "tests" to match PHP-PDS recommendation.
#489
  • Loading branch information
zoliszabo authored and oliverklee committed Jan 21, 2018
1 parent cff6fe5 commit 3b2d4ba
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ code coverage of the fixed bugs and the new features.
To run the existing PHPUnit tests, run this command:

```shell
vendor/bin/phpunit Tests/
vendor/bin/phpunit tests/
```


Expand All @@ -89,7 +89,7 @@ We will only merge pull requests that follow the project's coding style.
Please check your code with the provided PHP_CodeSniffer standard:

```shell
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ src/ Tests/
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ src/ tests/
```

Please make your code clean, well-readable and easy to understand.
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ script:
- >
echo;
echo "Linting all PHP files";
find src/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l;
find src/ tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l;
- >
echo;
echo "Running the unit tests";
vendor/bin/phpunit Tests/;
vendor/bin/phpunit tests/;
- >
echo;
echo "Running PHP_CodeSniffer";
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ src/ Tests/;
vendor/bin/phpcs --standard=Configuration/PhpCodeSniffer/Standards/Emogrifier/ src/ tests/;
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"autoload-dev": {
"psr-4": {
"Pelago\\Tests\\": "Tests/"
"Pelago\\Tests\\": "tests/"
}
},
"extra": {
Expand Down
File renamed without changes.

0 comments on commit 3b2d4ba

Please sign in to comment.