diff --git a/composer.json b/composer.json index f7e3c02..3474376 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ }, "require-dev": { "phpunit/phpunit": "^9.0", - "phpstan/phpstan": "^1.2", + "phpstan/phpstan": "^1.3", "phpstan/extension-installer": "^1.1", "jangregor/phpstan-prophecy": "^1.0", "phpspec/prophecy-phpunit": "^2.0", diff --git a/phpstan.neon b/phpstan.neon index ffcbb26..38ffedd 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -6,11 +6,14 @@ parameters: checkMissingIterableValueType: false reportUnmatchedIgnoredErrors: false ignoreErrors: - # Ignore error for TYPO3 10 (ResultStatement) and TYPO3 11 (Statement) + # Ignore error for TYPO3 10 and TYPO3 11 - '#Cannot call method fetch\(\) on Doctrine\\DBAL\\Driver\\Statement\|int\.#' - '#Cannot call method fetch\(\) on Doctrine\\DBAL\\Driver\\ResultStatement\|int\.#' + - '#Cannot call method fetch\(\) on Doctrine\\DBAL\\Result\|int\.#' - '#Cannot call method fetchAll\(\) on Doctrine\\DBAL\\Driver\\Statement\|int\.#' - '#Cannot call method fetchAll\(\) on Doctrine\\DBAL\\Driver\\ResultStatement\|int\.#' + - '#Cannot call method fetchAll\(\) on Doctrine\\DBAL\\Result\|int\.#' - '#Cannot call method fetchColumn\(\) on Doctrine\\DBAL\\Driver\\Statement\|int\.#' - '#Cannot call method fetchColumn\(\) on Doctrine\\DBAL\\Driver\\ResultStatement\|int\.#' + - '#Cannot call method fetchColumn\(\) on Doctrine\\DBAL\\Result\|int\.#' - '#^Variable \$_EXTKEY might not be defined\.$#'