blob: 32dc524562f9f91f7610924e58a8a2d79416737a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# scrutinizer-ci.com configuration
imports:
- javascript
- php
filter:
excluded_paths: [js/vendor/*]
checks:
javascript: true
php: true
build:
nodes:
test:
environment:
php: 7.1
dependencies:
before:
- composer install
- composer require tecnickcom/tcpdf pragmarx/google2fa bacon/bacon-qr-code samyoul/u2f-php-server
- ./vendor/bin/phpcs --config-set installed_paths `pwd`/vendor/phpmyadmin/coding-standard
tests:
override:
- php-scrutinizer-run
-
command: './vendor/bin/phpcs --standard=PMAStandard ./ --report=checkstyle --report-file=cs-data --ignore=*/vendor/*,*/build/*'
analysis:
file: 'cs-data' # The reporter filename
format: 'php-cs-checkstyle' # The supported format by Scrutinizer
|