-
Notifications
You must be signed in to change notification settings - Fork 15
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
Runs phpcbf #1730
Runs phpcbf #1730
Conversation
Following command was used: /usr/bin/php8.2 ./vendor/bin/phpcbf src templates includes -q
* And document it
@hansmorb nachdem wir jetzt die dringenden PRs (mit viel Code-Änderungen) gemerged haben, habe ich diesen PR erneuert. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1730 +/- ##
============================================
- Coverage 54.08% 53.61% -0.48%
Complexity 2628 2628
============================================
Files 98 98
Lines 11655 12122 +467
============================================
+ Hits 6304 6499 +195
- Misses 5351 5623 +272 ☔ View full report in Codecov by Sentry. |
Das sind die gleichen Styles wie die, die in PHPStorm durch die .editorconfig definiert sind, oder? Also da kommt das gleiche raus wie wenn ich in PHPStorm Strg+L auf jeder Datei drücken würde, oder? |
Nein phpcbf ist der "PHP Code Beautifier and Fixer". Der ist erstmal losgelöst von deiner IDE. Du kannst ihn aber in deiner IDE, z.B. PHPStorm einbinden. Ich weiß aber nicht ob das Strg+L ist, kann gut sein. Auch nutzt phpcbf die Konfiguration der Zum Beispiel hier im polylang Plugin: |
@hansmorb die Verwendung von current_time war korrekterweise korrigiert, deren Verwendung mit https://developer.wordpress.org/reference/functions/current_time/ |
Close in favor of #1750 |
Supersedes #1693
Preparation for #1687