File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -108,25 +108,25 @@ We will only merge pull requests that follow the project's coding style.
108108Please check your code with the provided PHP_CodeSniffer standard:
109109
110110``` bash
111- vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ Classes / tests/
111+ vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ src / tests/
112112```
113113
114114Please also check the code structure using PHPMD:
115115
116116``` bash
117- vendor/bin/phpmd Classes / text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml
117+ vendor/bin/phpmd src / text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml
118118```
119119
120120And also please run the static code analysis:
121121
122122``` bash
123- vendor/bin/phpstan analyse -l 5 Classes / tests/
123+ vendor/bin/phpstan analyse -l 5 src / tests/
124124```
125125
126126You can also run all code style checks using one long line from a bash shell:
127127
128128``` bash
129- 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/
129+ find src / tests/ -name ' *.php' -print0 | xargs -0 -n 1 -P 4 php -l && vendor/bin/phpstan analyse -l 5 src / tests/ && vendor/bin/phpmd src / text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml && vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ src / tests/
130130```
131131
132132This will execute all tests except for the unit tests and the integration
Original file line number Diff line number Diff line change 2222
2323You can check for this using this command:
2424
25- vendor/bin/phpcs --standard=PSR2 Classes / tests/
25+ vendor/bin/phpcs --standard=PSR2 src / tests/
2626
2727
2828### Other Information
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ script:
6161 - >
6262 echo;
6363 echo "Linting all PHP files";
64- find Classes / tests/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l;
64+ find src / tests/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l;
6565
6666 - >
6767 echo;
@@ -76,14 +76,14 @@ script:
7676 - >
7777 echo;
7878 echo "Running the static analysis";
79- vendor/bin/phpstan analyse -l 5 Classes / tests/;
79+ vendor/bin/phpstan analyse -l 5 src / tests/;
8080
8181 - >
8282 echo;
8383 echo "Running PHPMD";
84- vendor/bin/phpmd Classes / text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml;
84+ vendor/bin/phpmd src / text vendor/phplist/phplist4-core/Configuration/PHPMD/rules.xml;
8585
8686 - >
8787 echo;
8888 echo "Running PHP_CodeSniffer";
89- vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ Classes / tests/;
89+ vendor/bin/phpcs --standard=vendor/phplist/phplist4-core/Configuration/PhpCodeSniffer/ src / tests/;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1010- Integration tests for the dev and test environment (#44 )
1111
1212### Changed
13- - Adopt more of the default Symfony project structure (#49 )
13+ - Adopt more of the default Symfony project structure (#49 , # 50 )
1414
1515### Deprecated
1616
Original file line number Diff line number Diff line change 4141 },
4242 "autoload" : {
4343 "psr-4" : {
44- "PhpList\\ WebFrontend\\ " : " Classes /"
44+ "PhpList\\ WebFrontend\\ " : " src /"
4545 }
4646 },
4747 "autoload-dev" : {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments