Skip to content
Snippets Groups Projects

Fix all PHPCS issues

Merged Erick Hitter requested to merge fix/phpcs into master
3 files
+ 112
111
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 52
2
@@ -25,9 +25,9 @@ before_script:
@@ -25,9 +25,9 @@ before_script:
- composer global require phpcompatibility/phpcompatibility-wp
- composer global require phpcompatibility/phpcompatibility-wp
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs,$HOME/.composer/vendor/phpcompatibility/php-compatibility,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs,$HOME/.composer/vendor/phpcompatibility/php-compatibility,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp
PHPunit:PHP7.3:MySQL:
PHP5.3:
stage: test
stage: test
image: containers.ethitter.com:443/docker/images/php:7.3
image: containers.ethitter.com:443/docker/images/php:5.3
services:
services:
- mysql:5.6
- mysql:5.6
script:
script:
@@ -36,6 +36,56 @@ PHPunit:PHP7.3:MySQL:
@@ -36,6 +36,56 @@ PHPunit:PHP7.3:MySQL:
- phpunit
- phpunit
allow_failure: true
allow_failure: true
 
PHP5.6:
 
stage: test
 
image: containers.ethitter.com:443/docker/images/php:5.6
 
services:
 
- mysql:5.6
 
script:
 
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
 
- phpcs -n
 
- phpunit
 
 
PHP7.0:
 
stage: test
 
image: containers.ethitter.com:443/docker/images/php:7.0
 
services:
 
- mysql:5.6
 
script:
 
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
 
- phpcs -n
 
- phpunit
 
 
PHP7.1:
 
stage: test
 
image: containers.ethitter.com:443/docker/images/php:7.1
 
services:
 
- mysql:5.6
 
script:
 
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
 
- phpcs -n
 
- phpunit
 
 
PHP7.2:
 
stage: test
 
image: containers.ethitter.com:443/docker/images/php:7.2
 
services:
 
- mysql:5.6
 
script:
 
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
 
- phpcs -n
 
- phpunit
 
 
PHP7.3:
 
stage: test
 
image: containers.ethitter.com:443/docker/images/php:7.3
 
services:
 
- mysql:5.6
 
script:
 
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
 
- phpcs -n
 
- phpunit
 
PluginSVN:
PluginSVN:
stage: deploy
stage: deploy
image: containers.ethitter.com:443/docker/images/php:7.3
image: containers.ethitter.com:443/docker/images/php:7.3
Loading