Skip to content
Snippets Groups Projects

Add PHP 8.1

Merged Erick Hitter requested to merge add/php-8.1 into main
1 file
+ 10
1
Compare changes
  • Side-by-side
  • Inline
@@ -60,11 +60,20 @@ PHPunit:PHP8.0:MySQL:
@@ -60,11 +60,20 @@ PHPunit:PHP8.0:MySQL:
script:
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
- phpunit
 
 
PHPunit:PHP8.1:MySQL:
 
stage: test
 
image: containers.ethitter.com:443/docker/images/php:8.1
 
services:
 
- mysql:5.6
 
script:
 
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
 
- phpunit
allow_failure: true
allow_failure: true
PHPCS:
PHPCS:
stage: test
stage: test
image: containers.ethitter.com:443/docker/images/php:7.3
image: containers.ethitter.com:443/docker/images/php:7.4
before_script:
before_script:
- composer global require automattic/vipwpcs
- composer global require automattic/vipwpcs
- composer global require phpcompatibility/phpcompatibility-wp
- composer global require phpcompatibility/phpcompatibility-wp
Loading