Update scruinizer-ci config

This commit is contained in:
DariusIII
2026-03-06 12:22:47 +01:00
parent a4028bef06
commit e61fe0e6ba
+18
View File
@@ -0,0 +1,18 @@
# Scrutinizer CI configuration (repository-side).
# Fixes: use Composer 2 and PHP 8.4 so dependency install and tests match local/CI.
# Site config: ensure no conflicting overrides (e.g. PHP version or dependency commands).
build:
nodes:
tests:
environment:
php:
version: "8.4"
dependencies:
before:
# Force Composer 2; default image often ships Composer 1.
- composer self-update --2
# Allow Composer 2 plugins (e.g. Laravel / PHPStan)
- composer config allow-plugins true --no-interaction
tests:
override:
- vendor/bin/phpunit