Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make array_map argument take into account unpack #2901

Open
wants to merge 3 commits into
base: 1.11.x
Choose a base branch
from

Conversation

ryium
Copy link
Contributor

@ryium ryium commented Feb 2, 2024

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.

@@ -1315,6 +1315,16 @@ public function testBug10509(): void
$this->assertSame('PHPDoc tag @return contains unresolvable type.', $errors[1]->getMessage());
}

public function testBug10527(): void
Copy link
Contributor

@staabm staabm Feb 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should move this test to the rule-test which tests the rule emitting the error you are trying to fix.

AnalyserIntegrationTest is reserved for out-of-memory or fatal error issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants