diff --git a/tools/phpstan.baseline.neon b/tools/phpstan.baseline.neon index e4863f3..5439108 100644 --- a/tools/phpstan.baseline.neon +++ b/tools/phpstan.baseline.neon @@ -1,5 +1,13 @@ parameters: ignoreErrors: + - + message: """ + #^Fetching deprecated class constant VERSION of class Latte\\\\Engine\\: + use Engine\\:\\:Version$# + """ + count: 1 + path: ../src/Bridge/NetteDI/LocalizationExtension.php + - message: "#^Method Tests\\\\Orisai\\\\Localization\\\\Doubles\\\\FakeLocaleConfigurator\\:\\:getLanguageTag\\(\\) should return string but returns string\\|null\\.$#" count: 1 @@ -15,6 +23,14 @@ parameters: count: 1 path: ../tests/Unit/Bridge/NetteDI/LocalizationExtensionTest.php + - + message: """ + #^Fetching deprecated class constant VERSION of class Latte\\\\Engine\\: + use Engine\\:\\:Version$# + """ + count: 2 + path: ../tests/Unit/Bridge/NetteDI/LocalizationExtensionTest.php + - message: "#^If condition is always false\\.$#" count: 2