Skip to content
Snippets Groups Projects
Commit 3c3aef59 authored by Erick Hitter's avatar Erick Hitter
Browse files

Merge branch 'update/php-7-wp' into 'main'

Fix some PHP 7 tests and PHPCS

See merge request !30
parents 12c23822 02978f7b
No related branches found
No related tags found
1 merge request!30Fix some PHP 7 tests and PHPCS
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment