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

Merge branch 'update/more-matrix-fun' into 'main'

Fix PHPCS, add more PHP versions

See merge request !31
parents 3c3aef59 fb6d4e3b
No related branches found
No related tags found
1 merge request!31Fix PHPCS, add more PHP versions
......@@ -66,10 +66,31 @@ PHPunit:PHP8.1:MySQL:
- phpunit
allow_failure: true
PHPunit:PHP8.2:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:8.2
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
allow_failure: true
PHPunit:PHP8.3:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:8.3
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
allow_failure: true
PHPCS:
stage: test
image: containers.ethitter.com:443/docker/images/php:8.2
before_script:
- composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
- composer global require automattic/vipwpcs
- 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,$HOME/.composer/vendor/sirbrillig/phpcs-variable-analysis
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment