.scrutinizer.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. checks:
  2. php: true
  3. javascript: true
  4. filter:
  5. paths:
  6. - "css/privatebin.css"
  7. - "css/bootstrap/privatebin.css"
  8. - "js/privatebin.js"
  9. - "lib/*.php"
  10. - "index.php"
  11. excluded_paths:
  12. - lib/Data/GoogleCloudStorage.php
  13. - tst/Data/GoogleCloudStorageTest.php
  14. coding_style:
  15. php:
  16. spaces:
  17. around_operators:
  18. additive: false
  19. concatenation: true
  20. build:
  21. environment:
  22. php:
  23. version: '7.2'
  24. tests:
  25. override:
  26. -
  27. command: 'composer require google/cloud-storage && cd tst && ../vendor/bin/phpunit'
  28. coverage:
  29. file: 'tst/log/coverage-clover.xml'
  30. format: 'clover'
  31. nodes:
  32. tests: true
  33. analysis:
  34. tests:
  35. override:
  36. -
  37. command: phpcs-run
  38. use_website_config: true
  39. - php-scrutinizer-run