Skip to content

Commit 6a6d50f

Browse files
authored
Add phpcompatibility-wp to gitlab template (#315)
1 parent d91dea1 commit 6a6d50f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/plugin-gitlab.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ before_script:
2222
# Install PHPCS and WPCS
2323
- composer global require "squizlabs/php_codesniffer=*"
2424
- composer global require "wp-coding-standards/wpcs"
25-
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs
25+
- composer global require "phpcompatibility/phpcompatibility-wp"
26+
- vendor="$HOME/.composer/vendor"
27+
- phpcs --config-set installed_paths "$vendor/wp-coding-standards/wpcs,$vendor/phpcompatibility/php-compatibility,$vendor/phpcompatibility/phpcompatibility-paragonie,$vendor/phpcompatibility/phpcompatibility-wp"
2628

2729
PHPunit:PHP5.3:MySQL:
2830
image: tetraweb/php:5.3

0 commit comments

Comments
 (0)