Checkout Config
build:
environment:
php:
version: 8.2
dependencies:
before:
- sudo apt-get update
- sudo apt-get install -y software-properties-common
- sudo add-apt-repository ppa:ondrej/php -y
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y openssl libssl-dev
- openssl version
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
- export OPENSSL_CFLAGS="-I/usr/local/include"
- export OPENSSL_LIBS="-L/usr/local/lib -lssl -lcrypto"
tests:
override:
- echo "Skipping tests"
tools:
php_analyzer:
enabled: true
php_cs_fixer:
enabled: true
Repository Config
build:
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
tests: true
filter:
excluded_paths:
- 'vendor/*'
checks:
php: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false