Problem/Motivation
When running phpstan from the command line interface, php runs into errors
Steps to reproduce
- Clone the domain repository in Drupal 11.x in
modules/contrib/domain - Run
./vendor/bin/phpstan analyse modules/contrib/domain/ -c modules/contrib/domain/phpstan.neonfrom the Drupal directory
Output:
File '/[...]/modules/contrib/domain/phpstan-baseline.neon' is missing or is not readable.
Proposed resolution
Fix phpstan errors when running phpstan from the command line interface
Remaining tasks
- Write a merge request
- Review
- Commit
User interface changes
None
API changes
None
Data model changes
None
AI-Generated: Yes (Claude Code was used to help draft this issue summary and to write the code and tests on the merge request. I reviewed and ran the work myself before posting it.)
Issue fork domain-3615912
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mably commentedComment #5
mably commentedComment #6
idebr commentedComment #9
mably commentedThanks @idebr for the review! Merged.