Skip to content

Commit 00f26b0

Browse files
committed
Ignore new deprecated usage of withConsecutive in phpunit 9.6 call, there doesn't appear to be a replacement yet, so we'll need to review this when switching to phpunit 10
1 parent 5e43aed commit 00f26b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

phpstan.neon

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ parameters:
1111
- '/ has no return type specified./'
1212

1313
- message: '/Use service contracts to persist entities in favour of Magento\\Cron\\Model\\Schedule\:\:save\(\) method/'
14+
count: 1
1415
path: Cron/ScheduleJob.php
1516

1617
- message: '/Call to deprecated method save\(\) of class Magento\\Framework\\Model\\AbstractModel/'
18+
count: 1
1719
path: Cron/ScheduleJob.php
1820

1921
- message: '/Parameter \#1 \$(autoload_function|callback) of function spl_autoload_register expects/'
22+
count: 1
2023
path: Test/bootstrap.php
24+
25+
- message: "#^Call to deprecated method withConsecutive\\(\\) of class PHPUnit\\\\Framework\\\\MockObject\\\\Builder\\\\InvocationMocker\\.$#"
26+
count: 2
27+
path: Test/Storage/CacheStorageTest.php

0 commit comments

Comments
 (0)