diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:45:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:45:00 +0000 |
commit | 7c19368db58f16858fde7f1c5fe50c0d640c0482 (patch) | |
tree | b416482e821607bcef8656c462d39ff995d65db0 /phpstan-baseline-by-php-version.php | |
parent | Adding upstream version 1.1.1. (diff) | |
download | icingadb-web-7c19368db58f16858fde7f1c5fe50c0d640c0482.tar.xz icingadb-web-7c19368db58f16858fde7f1c5fe50c0d640c0482.zip |
Adding upstream version 1.1.2.upstream/1.1.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'phpstan-baseline-by-php-version.php')
-rw-r--r-- | phpstan-baseline-by-php-version.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/phpstan-baseline-by-php-version.php b/phpstan-baseline-by-php-version.php new file mode 100644 index 0000000..4bd791e --- /dev/null +++ b/phpstan-baseline-by-php-version.php @@ -0,0 +1,12 @@ +<?php + +$includes = []; +if (PHP_VERSION_ID >= 80000) { + $includes[] = __DIR__ . '/phpstan-baseline-8x.neon'; +} else { + $includes[] = __DIR__ . '/phpstan-baseline-7x.neon'; +} + +return [ + 'includes' => $includes +]; |