File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,17 +14,11 @@ jobs:
1414 - name : Checkout code
1515 uses : actions/checkout@v4
1616
17- - name : Install PHP_CodeSniffer + WordPress Standards + PHPCSUtils
18- run : |
19- composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
20- composer global require squizlabs/php_codesniffer:"^3.7"
21- composer global require wp-coding-standards/wpcs:"^3.0"
22- composer global require phpcsstandards/phpcsutils:"^1.0"
23- ~/.composer/vendor/bin/phpcs --config-set installed_paths ~/.composer/vendor/wp-coding-standards/wpcs
24- ~/.composer/vendor/bin/phpcs -i
17+ - name : Install dependencies
18+ run : composer install
2519
2620 - name : Run PHP_CodeSniffer
27- run : ~/.composer/ vendor/bin/phpcs proxy-aware-https-fix.php --standard=WordPress --report=full
21+ run : vendor/bin/phpcs proxy-aware-https-fix.php --standard=WordPress --report=full
2822
2923 - name : Zip plugin
3024 run : zip -r proxy-aware-https-fix.zip proxy-aware-https-fix.php README.md LICENSE CHANGELOG.md
You can’t perform that action at this time.
0 commit comments