Skip to content

Minor: Clean up imports - #6245

Open
AJenbo wants to merge 1 commit into
phpstan:2.2.xfrom
AJenbo:dead-import
Open

Minor: Clean up imports#6245
AJenbo wants to merge 1 commit into
phpstan:2.2.xfrom
AJenbo:dead-import

Conversation

@AJenbo

@AJenbo AJenbo commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Just 3 imports that are not actually used in the files

@ondrejmirtes

Copy link
Copy Markdown
Member

This would be worth reproducing and reporting to slevomat/coding-standard first since we use that find unused uses.

@AJenbo

AJenbo commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

It's not an issue with slevomat/coding-standard, it's simply that the folder isn't in the config file so it never checks these files:

https://github.com/phpstan/phpstan-src/blob/2.2.x/phpcs.xml#L12

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