1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-08 16:17:37 +00:00
composer/phpstan/ignore-by-php-version.neon.php
2022-02-24 13:24:37 +01:00

12 lines
349 B
PHP

<?php declare(strict_types = 1);
// more inspiration at https://github.com/phpstan/phpstan-src/blob/master/build/ignore-by-php-version.neon.php
$includes = [];
if (PHP_VERSION_ID >= 80000) {
$includes[] = __DIR__ . '/baseline-8.1.neon';
}
$config['includes'] = $includes;
$config['parameters']['phpVersion'] = PHP_VERSION_ID;
return $config;