Skip to content

Commit

Permalink
Add phpcompatibility-wp to gitlab template (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saggre authored Oct 28, 2022
1 parent d91dea1 commit 6a6d50f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/plugin-gitlab.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ before_script:
# Install PHPCS and WPCS
- composer global require "squizlabs/php_codesniffer=*"
- composer global require "wp-coding-standards/wpcs"
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs
- composer global require "phpcompatibility/phpcompatibility-wp"
- vendor="$HOME/.composer/vendor"
- phpcs --config-set installed_paths "$vendor/wp-coding-standards/wpcs,$vendor/phpcompatibility/php-compatibility,$vendor/phpcompatibility/phpcompatibility-paragonie,$vendor/phpcompatibility/phpcompatibility-wp"

PHPunit:PHP5.3:MySQL:
image: tetraweb/php:5.3
Expand Down

0 comments on commit 6a6d50f

Please sign in to comment.