Permalink
Browse files

Use phpcs-run on Scrutinizer

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
  • Loading branch information...
mauriciofauth committed Jan 10, 2019
1 parent 285bcef commit a3d7b57a88b6bf836783d9aa85d0c5e15e00ad06
Showing with 8 additions and 7 deletions.
  1. +8 −7 .scrutinizer.yml
@@ -3,19 +3,20 @@ imports:
- javascript
- php
filter:
excluded_paths: [js/vendor/*]
excluded_paths:
- build/
- js/vendor/
- node_modules/
- tmp/
- vendor/
checks:
javascript: true
build:
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:
-
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
- php-scrutinizer-run
- phpcs-run

0 comments on commit a3d7b57

Please sign in to comment.