@@ -79,7 +79,7 @@ code coverage of the fixed bugs and the new features.
7979To run the existing unit tests, run this command:
8080
8181``` bash
82- vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml Tests /Unit/
82+ vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests /Unit/
8383```
8484
8585### Running the integration tests
@@ -100,7 +100,7 @@ When running the integration tests, you will need to specify the database name
100100and access credentials on the command line (in the same line):
101101
102102``` bash
103- PHPLIST_DATABASE_NAME=phplist_test PHPLIST_DATABASE_USER=phplist PHPLIST_DATABASE_PASSWORD=batterystaple vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml Tests /Integration/
103+ PHPLIST_DATABASE_NAME=phplist_test PHPLIST_DATABASE_USER=phplist PHPLIST_DATABASE_PASSWORD=batterystaple vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests /Integration/
104104```
105105
106106
@@ -116,7 +116,7 @@ We will only merge pull requests that follow the project's coding style.
116116Please check your code with the provided PHP_CodeSniffer standard:
117117
118118``` bash
119- vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ Classes/ Tests /
119+ vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ Classes/ tests /
120120```
121121
122122Please also check the code structure using PHPMD:
@@ -128,13 +128,13 @@ vendor/bin/phpmd Classes/ text vendor/phplist/phplist4-core/Configuration/PHPMD/
128128And also please run the static code analysis:
129129
130130``` bash
131- vendor/bin/phpstan analyse -l 5 Classes/ Tests /
131+ vendor/bin/phpstan analyse -l 5 Classes/ tests /
132132```
133133
134134You can also run all code style checks using one long line from a bash shell:
135135
136136``` bash
137- find Classes/ Tests / -name ' *.php' -print0 | xargs -0 -n 1 -P 4 php -l && vendor/bin/phpstan analyse -l 5 Classes/ Tests / && vendor/bin/phpmd Classes/ text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml && vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ Classes/ Tests /
137+ find Classes/ tests / -name ' *.php' -print0 | xargs -0 -n 1 -P 4 php -l && vendor/bin/phpstan analyse -l 5 Classes/ tests / && vendor/bin/phpmd Classes/ text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml && vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ Classes/ tests /
138138```
139139
140140This will execute all tests except for the unit tests and the integration
0 commit comments