8000 6.x: Normalize options from snake_case to camelCase by dereuromark · Pull Request #18810 · cakephp/cakephp · GitHub
[go: up one dir, main page]

Skip to content

Conversation

dereuromark
Copy link
Member

Implementing first point of https://github.com/cakephp/cakephp/wiki/6.0-Ideas

Question:
What is the scope of this? Do we adjust all of them across the framework for consistency? As now showcased here?
Or do we only apply this to a subset?

We can always have fallbacks in place if we want to make certain upgrade paths easier as well.

@LordSimal
Copy link
Contributor

I am all for this 👍

@dereuromark dereuromark requested review from ADmad and markstory August 24, 2025 08:48
@dereuromark dereuromark marked this pull request as ready for review August 24, 2025 08:48
@dereuromark
Copy link
Member Author

Any other comments?

@markstory
Copy link
Member

How do we make these changes easier for upgrading. Right now the 'old' keys will silently fail, and several of these keys are for security related features. We shouldn't silently break behavior in these places, and we'll need an upgrade path that at the very least lets developers know that they need to update their code.

@dereuromark
Copy link
Member Author

We could keep old ones in place with either warning/error or exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0