[4.x] Argument #3 ($nodeType) must be of type string, array given
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 11.7k
- Forks
- 538
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 8
Description
What Happened
PHPStan\Analyser\RuleErrorTransformer::transform(): Argument #3 ($nodeType) must be of type string, array given, called in /var/www/html/vendor/pestphp/pest-plugin-type-coverage/src/TestCaseForTypeCoverage.php on line 129
How to Reproduce
php vendor/bin/pest --coverage --min=100 --exclude-group=stress
Sample Repository
No response
Pest Version
3.8.2
PHP Version
8.3
Operation System
Linux
Notes
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with php vendor/bin/pest --coverage --min=100 --exclude-group=stress. Inspect PHPStan\Analyser\RuleErrorTransformer::transform() and vendor/pestphp/pest-plugin-type-coverage/src/TestCaseForTypeCoverage.php around line 129; done means the command completes without the argument type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100