.scrutinizer.yml 704 B

1234567891011121314151617181920212223242526272829303132333435
  1. tools:
  2. external_code_coverage:
  3. timeout: 1800
  4. runs: 3
  5. build:
  6. environment:
  7. php:
  8. version: 7.2
  9. nodes:
  10. phpcs:
  11. tests:
  12. override:
  13. - phpcs-run src/ tests/
  14. static-analysis:
  15. environment:
  16. php:
  17. ini:
  18. 'memory_limit': -1
  19. dependencies:
  20. override:
  21. - pecl install apcu
  22. - pecl install redis
  23. - pecl install memcached
  24. - composer stan-setup
  25. tests:
  26. override:
  27. - vendor/bin/phpstan analyse src/
  28. - vendor/bin/psalm --show-info=false
  29. build_failure_conditions:
  30. - 'issues.count > 0'
  31. - 'project.metric_change("scrutinizer.test_coverage", < -0.01)'