Skip to content

Commit 62dfb64

Browse files
committed
Only chek if error starts with a text to avoid issues when the last part change based on cakephp version.
1 parent 83b3879 commit 62dfb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase/Rule/Model/AddAssociationMatchOptionsTypesRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function testRule(): void
104104
85,
105105
],
106106
[
107-
'Call to CakeDC\PHPStan\Test\TestCase\Rule\Model\Fake\FailingRuleItemsTable::belongsToMany with option "targetForeignKey" (list<string>|string|null) does not accept Closure(): 10.',
107+
'Call to CakeDC\PHPStan\Test\TestCase\Rule\Model\Fake\FailingRuleItemsTable::belongsToMany with option "targetForeignKey" ',
108108
98,
109109
'Type #1 from the union: Closure(): 10 is not a list.',
110110
],

0 commit comments

Comments
 (0)