Skip to content

Commit 2b19dcf

Browse files
committed
Cleanup
1 parent 34593ee commit 2b19dcf

File tree

4 files changed

+15
-162
lines changed

4 files changed

+15
-162
lines changed

build/baseline-lt-7.3.neon

Lines changed: 0 additions & 2 deletions
This file was deleted.

build/enum-adapter-errors.neon

Lines changed: 0 additions & 151 deletions
This file was deleted.

build/ignore-by-php-version.neon.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?php declare(strict_types = 1);
22

33
$includes = [];
4-
if (PHP_VERSION_ID < 70300) {
5-
$includes[] = __DIR__ . '/baseline-lt-7.3.neon';
6-
} else {
7-
$includes[] = __DIR__ . '/baseline-7.3.neon';
8-
}
94
if (PHP_VERSION_ID >= 80000) {
105
$includes[] = __DIR__ . '/baseline-8.0.neon';
116
}
@@ -20,10 +15,6 @@
2015
$includes[] = __DIR__ . '/ignore-gte-php7.4-errors.neon';
2116
}
2217

23-
if (PHP_VERSION_ID < 70400) {
24-
$includes[] = __DIR__ . '/enum-adapter-errors.neon';
25-
}
26-
2718
if (PHP_VERSION_ID < 80000) {
2819
$includes[] = __DIR__ . '/more-enum-adapter-errors.neon';
2920
}

phpstan-baseline.neon

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,21 @@ parameters:
690690
count: 1
691691
path: src/Rules/Variables/CompactVariablesRule.php
692692

693+
-
694+
message: """
695+
#^Call to deprecated method assertFileNotExists\\(\\) of class PHPUnit\\\\Framework\\\\Assert\\:
696+
https\\://github\\.com/sebastianbergmann/phpunit/issues/4077$#
697+
"""
698+
identifier: staticMethod.deprecated
699+
count: 1
700+
path: src/Testing/LevelsTestCase.php
701+
702+
-
703+
message: "#^Call to function method_exists\\(\\) with 'PHPUnit\\\\\\\\Framework\\\\\\\\TestCase' and 'assertFileDoesNotEx…' will always evaluate to true\\.$#"
704+
identifier: function.alreadyNarrowedType
705+
count: 1
706+
path: src/Testing/LevelsTestCase.php
707+
693708
-
694709
message: "#^Anonymous function has an unused use \\$container\\.$#"
695710
identifier: closure.unusedUse

0 commit comments

Comments
 (0)