mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
import latest scrutinizer configuration from web backend
This commit is contained in:
parent
7de12d64d5
commit
dae093bbfa
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -16,6 +16,7 @@ js/test/ export-ignore
|
||||||
.jshintrc export-ignore
|
.jshintrc export-ignore
|
||||||
.nsprc export-ignore
|
.nsprc export-ignore
|
||||||
.php_cs export-ignore
|
.php_cs export-ignore
|
||||||
|
.scrutinizer.yml export-ignore
|
||||||
.styleci.yml export-ignore
|
.styleci.yml export-ignore
|
||||||
.travis.yml export-ignore
|
.travis.yml export-ignore
|
||||||
composer.json export-ignore
|
composer.json export-ignore
|
||||||
|
|
36
.scrutinizer.yml
Normal file
36
.scrutinizer.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
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.2'
|
||||||
|
tests:
|
||||||
|
override:
|
||||||
|
-
|
||||||
|
command: 'cd tst && ../vendor/bin/phpunit'
|
||||||
|
coverage:
|
||||||
|
file: 'tst/log/coverage-clover.xml'
|
||||||
|
format: 'clover'
|
||||||
|
nodes:
|
||||||
|
tests: true
|
||||||
|
analysis:
|
||||||
|
tests:
|
||||||
|
override:
|
||||||
|
-
|
||||||
|
command: phpcs-run
|
||||||
|
use_website_config: true
|
||||||
|
- php-scrutinizer-run
|
Loading…
Reference in New Issue
Block a user