Checkout Config
filter:
excluded_paths: [tests/*]
build:
nodes:
tests-with-coverage:
environment:
php:
version: 8.0.1
compile_options: '--with-config-file-path=/home/scrutinizer/.phpenv/versions/8.0.1/etc --with-config-file-scan-dir=/home/scrutinizer/.phpenv/versions/8.0.1/etc/conf.d --prefix=/home/scrutinizer/.phpenv/versions/8.0.1 --libexecdir=/home/scrutinizer/.phpenv/versions/8.0.1/libexec --enable-intl --with-openssl --enable-gd --enable-exif --with-libzip --with-zlib --with-sodium --with-pdo-sqlite --enable-soap --enable-xmlreader --with-xsl --enable-ftp --with-tidy --with-xmlrpc --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-shmop --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --with-readline --enable-mbstring --with-curl --with-pgsql --with-pdo-pgsql --with-gettext --enable-sockets --with-bz2 --enable-bcmath --enable-calendar --with-libdir=lib --enable-fpm --enable-maintainer-zts --with-gmp --with-kerberos --with-imap --with-imap-ssl --with-apxs2=/usr/bin/apxs --with-ldap --with-pear=/home/scrutinizer/.phpenv/versions/8.0.1/pear'
tests:
override:
- command: vendor/bin/phpunit --coverage-clover=coverage-file
coverage:
file: coverage-file
format: php-clover
checks:
php:
fix_doc_comments: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
bitwise: false
concatenation: true