Skip to content
Snippets Groups Projects

WIP: Add typehint checking

Closed Erick Hitter requested to merge phpcs-typehint into master
1 file
+ 15
3
Compare changes
  • Side-by-side
  • Inline
+ 15
3
@@ -24,26 +24,38 @@ before_script:
- composer global require automattic/vipwpcs
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
PHPunit:PHP7.0:MySQL:
test_7.0:
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
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
PHPunit:PHP7.1:MySQL:
test_7.1:
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
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
PHPunit:PHP7.2:MySQL:
test_7.2:
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
artifacts:
reports:
junit: /tmp/wordpress-tests-lib/tests/phpunit/build/logs/junit.xml
Loading