build:
environment:
php: '7.2'
dependencies:
before:
- pecl install xdebug
- echo zend_extension=$(php-config --extension-dir)/xdebug.so >> $(php --ini | grep -F '/php.ini' | cut -d ':' -f 2)
# - composer install --ignore-platform-reqs
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
filter:
excluded_paths:
- 'tests/*'
checks:
php:
phpunit_assertions: true
coding_style:
php:
spaces:
around_operators:
concatenation: true