Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite documentation examples from yaml to php #1923

Open
MasterOdin opened this issue Nov 11, 2020 · 1 comment
Open

Rewrite documentation examples from yaml to php #1923

MasterOdin opened this issue Nov 11, 2020 · 1 comment

Comments

@MasterOdin
Copy link
Member

MasterOdin commented Nov 11, 2020

Originally posted by @christhomas in #1726 (comment)

I understand that you wanna get rid of a dependency by moving to plain php, but all the documentation on the cakephp website and that I've found so far is using YAML, so I don't know what a php configuration would look like with all the %%OPTIONS%% etc, etc. I think this change was half baked. You broke a lot of stuff without much explanation and have no way to migrate one to the other, and no documentation updates to reflect that.

Given that the default configuration option is now PHP, it would be good to rewrite all configuration examples to be in PHP. The translation from PHP to YAML / JSON would be left as an exercise to the reader, but given that it's just nested arrays, lists, and strings, should be fairly simple by end-user. Can re-address if this is any issue to people.

@dereuromark
Copy link
Member

Given that the default configuration option is now YAML

You mean PHP right?

Should we add an easier to find doc on how to switch to Yaml as format?

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

No branches or pull requests

2 participants