Checkout Config
build:
environment:
php:
version: 7.2
nodes:
analysis:
project_setup:
override: true
tests:
override:
- php-scrutinizer-run --enable-security-analysis
dependencies:
override:
- composer install --no-scripts
checks:
php:
code_rating: true
duplication: true
filter:
paths: ["src/*"]
excluded_paths: ["src/Migrations/*"]
Repository Config
build:
dependencies:
before:
- npm config set "@fortawesome:registry" https://npm.fontawesome.com/
- npm config set "//npm.fontawesome.com/:_authToken" 4DDEB6DC-27A1-4DAB-BE98-1FF5DF35BE94
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
checks:
php: true
javascript: true
coding_style:
php:
spaces:
around_operators:
concatenation: true