diff --git a/phpstan-baseline.neon.php b/phpstan-baseline.neon.php new file mode 100644 index 0000000..487964b --- /dev/null +++ b/phpstan-baseline.neon.php @@ -0,0 +1,10 @@ += 80200) { + $includes[] = __DIR__ . '/baseline-8.1.neon'; +} +$config = []; +$config['includes'] = $includes; + +return $config; \ No newline at end of file diff --git a/phpstan.neon b/phpstan.neon index 603fe20..438a397 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ includes: - - phpstan-baseline.neon + - phpstan-baseline.neon.php parameters: level: 6