-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.3] Convert missing files to PSR-12 code style #39197
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
Conversation
|
@heelc29 Regarding the testing instructions: "Install Joomla" is not necessary. That is included already in the "Drone works". The API and system tests include making a new installation on diverse environments, so if these pass, installation works. But it could make sense to let people run the PHPCS tests locally in their environment with |
|
I have tested this item ✅ successfully on 0de1eff This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39197. |
Just copied from PR #37686 - but only a part of it 😅
This is not always possible because I have problems with the EOL in my win environment: |
|
@heelc29 there is usually a setting in your git client that will resolve that |
|
@heelc29 Why have you updated your branch without any need? It resets the counter for human tests and I manually have to add the test result again in the issue tracker. That causes unnecessary work and may cause the one or other PR with 2 good test results being overlooked. |
@brianteeman I use GitHub Desktop with default settings ... mmmh so I can't be sure that everyone else has changed it at their git client |
@richard67 I thought to make sure there are no conflicts or new code style errors from the changed ruleset. |
Thats irrelevant. Just follow https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings |
|
Conflicts resolved in:
|
HLeithner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry that this took so long, can you change the target branch to 4.3 pleasE?
@HLeithner Sure, but I will wait for the next upmerge, there are many conflicts at the moment: |
@HLeithner done |
HLeithner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks

Pull Request for Issue #38754 and #38786 .
Summary of Changes
Note that not all files were converted to the PSR-12 codestyle during PR #37686 eg:
logs/HtmlView.phpConfiguration.phpcache/default.phpmedia/default.phpmedia/src/Model/MediaModel.phpmedia/accessiblemedia.phpCache/Cache.phpConfiguration.phpmedia/media.phplogs/actionlogs.phpcache/src/Extension/Cache.phpmedia/media.phpThese files are therefore not checked by Drone now. This is due to an overly open exclude list (marked in list above).
Testing Instructions
Actual result BEFORE applying this Pull Request
2648 files are checked by
phpcsExpected result AFTER applying this Pull Request
2743 files are checked by
phpcsLink to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
cc @HLeithner