Skip to content

[config] include bootstrap files of extensions, to let rector know about types as well#3380

Merged
TomasVotruba merged 3 commits intomainfrom
tv-phpstan-bootstrapfiles
Feb 14, 2023
Merged

[config] include bootstrap files of extensions, to let rector know about types as well#3380
TomasVotruba merged 3 commits intomainfrom
tv-phpstan-bootstrapfiles

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Feb 14, 2023

This PR fixes missing support for including bootstrap files, see https://phpstan.org/config-reference#bootstrap


Seems like bootstrapFiles from PHPStan extensions were not included at all. This lead to obvious crashes on many PHPStan extensions, as the files were just missing.

@TomasVotruba TomasVotruba force-pushed the tv-phpstan-bootstrapfiles branch from b22d987 to dad50a2 Compare February 14, 2023 14:21
@TomasVotruba TomasVotruba force-pushed the tv-phpstan-bootstrapfiles branch 2 times, most recently from 0bef87d to ae4d8f0 Compare February 14, 2023 14:43
@TomasVotruba TomasVotruba force-pushed the tv-phpstan-bootstrapfiles branch from ae4d8f0 to a9833f3 Compare February 14, 2023 14:49
@TomasVotruba TomasVotruba enabled auto-merge (squash) February 14, 2023 15:01
@TomasVotruba TomasVotruba enabled auto-merge (squash) February 14, 2023 15:03
@TomasVotruba TomasVotruba merged commit 48228ed into main Feb 14, 2023
@TomasVotruba TomasVotruba deleted the tv-phpstan-bootstrapfiles branch February 14, 2023 15:03
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.

Rector processing errors in laravel. Encountering various Rector processing errors that do not occur in the app

1 participant