We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca96e6 commit da9eb49Copy full SHA for da9eb49
src/Config/Configuration.php
@@ -473,6 +473,10 @@ private function checkAllowedErrorTypeForPackageIgnore(array $errorTypes): void
473
if (in_array(ErrorType::UNKNOWN_CLASS, $errorTypes, true)) {
474
throw new InvalidConfigException('UNKNOWN_CLASS errors cannot be ignored on a package');
475
}
476
+
477
+ if (in_array(ErrorType::UNKNOWN_FUNCTION, $errorTypes, true)) {
478
+ throw new InvalidConfigException('UNKNOWN_FUNCTION errors cannot be ignored on a package');
479
+ }
480
481
482
0 commit comments