酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
859 B

  1. checks:
  2. php: true
  3. coding_style:
  4. php:
  5. spaces:
  6. before_parentheses:
  7. closure_definition: true
  8. around_operators:
  9. concatenation: true
  10. build:
  11. nodes:
  12. analysis:
  13. tests:
  14. override:
  15. - php-scrutinizer-run
  16. tools:
  17. external_code_coverage:
  18. timeout: 3600
  19. build_failure_conditions:
  20. - 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse allowed
  21. - 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity
  22. - 'project.metric_change("scrutinizer.test_coverage", < 0)' # Code Coverage decreased from previous inspection
  23. - 'patches.label("Unused Use Statements").new.exists' # No new unused imports patches allowed