Skip to content
Snippets Groups Projects

Fix some PHP 7 tests and PHPCS

Merged Erick Hitter requested to merge update/php-7-wp into main
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -3,6 +3,8 @@ PHPunit:PHP7.0:MySQL:
image: containers.ethitter.com:443/docker/images/php:7.0
services:
- mysql:5.6
variables:
WP_VERSION: 6.5.5
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
@@ -12,6 +14,8 @@ PHPunit:PHP7.1:MySQL:
image: containers.ethitter.com:443/docker/images/php:7.1
services:
- mysql:5.6
variables:
WP_VERSION: 6.5.5
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
@@ -64,7 +68,7 @@ PHPunit:PHP8.1:MySQL:
PHPCS:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.4
image: containers.ethitter.com:443/docker/images/php:8.2
before_script:
- composer global require automattic/vipwpcs
- composer global require phpcompatibility/phpcompatibility-wp
Loading