Skip to content

[Composer] Make InstalledPackageResolver::resolvedInstalledPackages nullable to verify cached package lists#7210

Merged
samsonasik merged 1 commit intomainfrom
cached-packages
Sep 3, 2025
Merged

[Composer] Make InstalledPackageResolver::resolvedInstalledPackages nullable to verify cached package lists#7210
samsonasik merged 1 commit intomainfrom
cached-packages

Conversation

@samsonasik
Copy link
Member

same with other class for detect cached data, the data needs to be nullable, so even empty array, it already cached, use null check instead for no cache yet.

see https://github.com/search?q=repo%3Arectorphp%2Frector-src%20%2F%2F%20already%20cached%2C%20even%20only%20empty%20array&type=code

for other comparison check.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit fb5d1cf into main Sep 3, 2025
49 checks passed
@samsonasik samsonasik deleted the cached-packages branch September 3, 2025 03:07
arshidkv12 pushed a commit to arshidkv12/rector-src that referenced this pull request Sep 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2026

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant