PrivateBin/.scrutinizer.yml

40 lines
1.0 KiB
YAML

checks:
php: true
javascript: true
filter:
paths:
- "css/privatebin.css"
- "css/bootstrap/privatebin.css"
- "js/privatebin.js"
- "lib/*.php"
- "index.php"
coding_style:
php:
spaces:
around_operators:
additive: false
concatenation: true
build:
environment:
php:
version: '7.4'
tests:
override:
-
command: 'composer require google/cloud-storage && cd tst && ../vendor/bin/phpunit'
coverage:
file: 'tst/log/coverage-clover.xml'
format: 'clover'
nodes:
tests: true
analysis:
dependencies:
after:
- composer require --dev "squizlabs/php_codesniffer=^3"
tests:
override:
-
command: vendor/bin/phpcs
use_website_config: false
- php-scrutinizer-run