Skip to content

Commit 4294bda

Browse files
committed
Ignored phpstan error now works both for PHP 7.x and PHP 8.x
1 parent f9e4883 commit 4294bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ parameters:
1414
- message: '/Call to deprecated method save\(\) of class Magento\\Framework\\Model\\AbstractModel/'
1515
path: Cron/ScheduleJob.php
1616

17-
- message: '/Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, array\{Magento\\Framework\\TestFramework\\Unit\\Autoloader\\GeneratedClassesAutoloader/'
17+
- message: '/Parameter \#1 \$(autoload_function|callback) of function spl_autoload_register expects/'
1818
path: Test/bootstrap.php

0 commit comments

Comments
 (0)