Browse Source

Update phpcs command.

ADmad 7 years ago
parent
commit
52aa4ba956
1 changed files with 3 additions and 5 deletions
  1. 3 5
      .scrutinizer.yml

+ 3 - 5
.scrutinizer.yml

@@ -12,10 +12,7 @@ build:
     phpcs:
       tests:
         override:
-          - command: vendor/bin/phpcs --report=checkstyle src/ tests/ > phpcs-checks.xml
-            analysis:
-              file: phpcs-checks.xml
-              format: "php-cs-checkstyle"
+          - phpcs-run src/ tests/
 
     static-analysis:
       environment:
@@ -35,4 +32,5 @@ build:
           - vendor/bin/psalm --show-info=false
 
 build_failure_conditions:
-- 'project.metric_change("scrutinizer.test_coverage", < -0.01)'
+  - 'issues.label("coding-style").exists'
+  - 'project.metric_change("scrutinizer.test_coverage", < -0.01)'