Repository Config
build:
image: default-jammy
environment:
php:
version: "8.2"
# Impossible to get working due to bug: https://bugs.php.net/bug.php?id=49876
compile_options: '--with-curl --with-intl --with-zlib --with-openssl --with-ldap=shared,/usr --with-libdir=lib/x86_64-linux-gnu'
ini:
memory_limit: "-1"
# APT packages that should be installed via apt-get install in the environment.
apt_packages:
- libldap2-dev
dependencies:
before:
- sed -i 's/^;extension=curl/extension=curl/' /home/scrutinizer/.phpenv/versions/8.2.0/etc/php.ini
- sed -i 's/^;extension=intl/extension=intl/' /home/scrutinizer/.phpenv/versions/8.2.0/etc/php.ini
- sed -i 's/^;extension=ldap/extension=ldap/' /home/scrutinizer/.phpenv/versions/8.2.0/etc/php.ini
- /home/scrutinizer/.phpenv/versions/8.2.0/bin/php /usr/bin/composer install
nodes:
my-node:
services:
ldap:
image: dwimberger/ldap-ad-it
ports:
# Forward 127.0.0.1:12345 -> SERVICE_IP:12345
- 10389
analysis:
project_setup:
override: true
tests:
override:
- php-scrutinizer-run --enable-security-analysis
filter:
excluded_paths:
- 'tests/*'
- 'bin/*'
tools:
php_cs_fixer:
config: { level: psr12 }