FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Skip named and unpack arguments when autofixing by staabm · Pull Request #343 · phpstan/phpstan-phpunit · GitHub

Repository navigation

Skip named and unpack arguments when autofixing - #343

Merged
staabm merged 3 commits into
phpstan:2.1.xfrom
staabm:skip-named
Oct 6, 2026
Merged

staabm merged 3 commits into
phpstan:2.1.xfrom
staabm:skip-named

Conversation

staabm commented Oct 6, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

as we found out in #342 and #343 we missed handling for named/unpack args.

PHPUnit does not support named arguments for assert*.

see https://github.com/sebastianbergmann/phpunit/blob/bfa72f3d37a2fcb76ec57c87728f3623db06c035/src/Framework/Assert.php#L72-L74

splat operator is rather rare, so lets skip them for now

staabm merged commit ac3237e into phpstan:2.1.x Oct 6, 2026
97 checks passed
staabm deleted the skip-named branch October 6, 2026 08:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL