Skip to content

Conversation

@jnoordsij
Copy link
Contributor

When using CACHE_STORE=null through some environment configuration with PHP 8.5, a deprecation can be triggered originating from the CacheManager::store method receiving null as name. This PR aims to refactor logic to use the string 'null' throughout this class, to ensure no deprecations are triggered. Given $name was already listed as string, this also allows for some further code simplifications.

@taylorotwell taylorotwell merged commit 975651f into laravel:12.x Dec 10, 2025
72 checks passed
@jnoordsij jnoordsij deleted the fix-cachemanager-nullkey-deprecation branch December 10, 2025 19:57
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