Skip to content

Fix build#5620

Merged
VincentLanglet merged 1 commit intophpstan:2.2.xfrom
staabm:build
May 9, 2026
Merged

Fix build#5620
VincentLanglet merged 1 commit intophpstan:2.2.xfrom
staabm:build

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented May 9, 2026

fixes

There were 2 errors:

1) PHPStan\Rules\Methods\MethodCallWithPossiblyRenamedNamedArgumentRuleTest::testRule
ArgumentCountError: Too few arguments to function PHPStan\Rules\Methods\MethodSignatureRule::__construct(), 3 passed in /Users/staabm/workspace/phpstan-src/tests/PHPStan/Rules/Methods/MethodCallWithPossiblyRenamedNamedArgumentRuleTest.php on line 39 and exactly 4 expected

/Users/staabm/workspace/phpstan-src/src/Rules/Methods/MethodSignatureRule.php:40
/Users/staabm/workspace/phpstan-src/tests/PHPStan/Rules/Methods/MethodCallWithPossiblyRenamedNamedArgumentRuleTest.php:39
/Users/staabm/workspace/phpstan-src/src/Testing/RuleTestCase.php:301
/Users/staabm/workspace/phpstan-src/src/Testing/RuleTestCase.php:162
/Users/staabm/workspace/phpstan-src/tests/PHPStan/Rules/Methods/MethodCallWithPossiblyRenamedNamedArgumentRuleTest.php:52

2) PHPStan\Rules\Methods\MethodCallWithPossiblyRenamedNamedArgumentRuleTest::testBug7434
ArgumentCountError: Too few arguments to function PHPStan\Rules\Methods\MethodSignatureRule::__construct(), 3 passed in /Users/staabm/workspace/phpstan-src/tests/PHPStan/Rules/Methods/MethodCallWithPossiblyRenamedNamedArgumentRuleTest.php on line 39 and exactly 4 expected

/Users/staabm/workspace/phpstan-src/src/Rules/Methods/MethodSignatureRule.php:40
/Users/staabm/workspace/phpstan-src/tests/PHPStan/Rules/Methods/MethodCallWithPossiblyRenamedNamedArgumentRuleTest.php:39
/Users/staabm/workspace/phpstan-src/src/Testing/RuleTestCase.php:301
/Users/staabm/workspace/phpstan-src/src/Testing/RuleTestCase.php:162
/Users/staabm/workspace/phpstan-src/tests/PHPStan/Rules/Methods/MethodCallWithPossiblyRenamedNamedArgumentRuleTest.php:62

ERRORS!
Tests: 12038, Assertions: 85393, Errors: 2, Skipped: 179.
make: *** [tests] Error 2

which we got after merging #5584 into 2.2.x

@staabm staabm requested a review from VincentLanglet May 9, 2026 09:23
@phpstan-bot
Copy link
Copy Markdown
Collaborator

You've opened the pull request against the latest branch 2.2.x. PHPStan 2.2 is not going to be released for months. If your code is relevant on 2.1.x and you want it to be released sooner, please rebase your pull request and change its target to 2.1.x.

@VincentLanglet VincentLanglet merged commit 656b0db into phpstan:2.2.x May 9, 2026
385 of 388 checks passed
@staabm staabm deleted the build branch May 9, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants