From 9333347438691cc050a6e4e96cbaf2ff9fc12729 Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Sun, 7 Apr 2019 23:05:17 +0200 Subject: [PATCH] fix PhpStan build --- .phpstan.neon | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.phpstan.neon b/.phpstan.neon index 25bf1ec..b9d5749 100644 --- a/.phpstan.neon +++ b/.phpstan.neon @@ -1,3 +1,10 @@ includes: - vendor/phpstan/phpstan-nette/extension.neon - vendor/phpstan/phpstan-nette/rules.neon + +parameters: + ignoreErrors: + - + # https://github.com/phpstan/phpstan/issues/2063 + message: '/^Ternary operator condition is always true\.$/' + path: %currentWorkingDirectory%/src/LatteMacros/BaseInputMacros.php