Skip to content

Commit c6371bb

Browse files
IN-1729 - Add sniffer to validate this code against it's own rules in CI pipeline
1 parent 5136ee4 commit c6371bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@ jobs:
3838
- name: phpcs version
3939
run: vendor/bin/phpcs --version
4040

41+
- name: Validate code style
42+
run: vendor/bin/phpcs -w -p -s --standard=ruleset.xml --ignore="tests/*not-allowed*" custom-standards/ tests/
43+
4144
- name: Run test suite
4245
run: php tests/runner.php

0 commit comments

Comments
 (0)