Commit ecb048a
committed
fix - improve WordPress coding standards
Enhance WP formatter with comprehensive WordPress PHP coding standards:
- Long array syntax (array() not [])
- Tab indentation instead of spaces
- Yoda conditions for comparisons
- Spaces around control structures
- Merged elseif statements
- Pre-increment operators
- Variable and array alignment
Ref: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/1 parent 69a98fa commit ecb048a
1 file changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6885 | 6885 | | |
6886 | 6886 | | |
6887 | 6887 | | |
6888 | | - | |
| 6888 | + | |
6889 | 6889 | | |
6890 | | - | |
| 6890 | + | |
6891 | 6891 | | |
6892 | 6892 | | |
6893 | 6893 | | |
6894 | 6894 | | |
6895 | 6895 | | |
6896 | | - | |
| 6896 | + | |
6897 | 6897 | | |
6898 | 6898 | | |
| 6899 | + | |
| 6900 | + | |
| 6901 | + | |
| 6902 | + | |
| 6903 | + | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
| 6907 | + | |
| 6908 | + | |
| 6909 | + | |
| 6910 | + | |
| 6911 | + | |
| 6912 | + | |
| 6913 | + | |
| 6914 | + | |
6899 | 6915 | | |
6900 | 6916 | | |
6901 | 6917 | | |
| |||
0 commit comments