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

Files/FileName: bug fix, support modern PHP and other improvements #342

Merged
merged 19 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0c65a66
Files/FileName: minor documentation improvements
jrfnl Sep 18, 2023
2a6c62d
Files/FileName: efficiency fix
jrfnl Oct 21, 2023
0fb28ac
Files/FileName: use PHPCSUtils in more places
jrfnl Oct 18, 2023
b25f1c6
Files/FileName: make non-interface methods `private`
jrfnl Oct 31, 2023
ccec2bf
Files/FileName: minor code tweaks
jrfnl Oct 21, 2023
4b1157a
Files/FileName: rename a local variable
jrfnl Oct 23, 2023
b6bf13b
Files/FileName: more defensive coding for parse errors/live coding
jrfnl Oct 22, 2023
7fec8bd
Files/FileName: improve error message consistency
jrfnl Oct 23, 2023
61b06f1
Files/FileName: examine views using only short echo open tags
jrfnl Oct 24, 2023
5d0f740
Files/FileName: allow for the inline PHPCS ignore annotations
jrfnl Oct 24, 2023
8d086f3
Files/FileName: improve handling of files using non-underscore, non-d…
jrfnl Oct 24, 2023
6dfb2a3
Files/FileName: refactor some near duplicate code
jrfnl Oct 23, 2023
c40f734
Files/FileName: add handling of files containing PHP 8.1+ enums
jrfnl Oct 23, 2023
66cd66e
Files/FileName: bug fix - excluded paths were not always normalized c…
jrfnl Oct 22, 2023
7ef1578
Files/FileName: simplification in excluded file comparison
jrfnl Oct 22, 2023
ac6bec0
Files/FileName: only clean up the OO prefixes when needed
jrfnl Oct 22, 2023
a0e1125
Files/FileName: only clean up the excluded files when needed
jrfnl Oct 22, 2023
2677da6
Files/FileName: only throw the "missing basepath" warning once
jrfnl Oct 23, 2023
b94cf92
Files/FileName: implement use of new PathHelper and PathValidationHel…
jrfnl Oct 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Yoast/Docs/Files/FileNameStandard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class WPSEO_Utils {}
</code_comparison>
<standard>
<![CDATA[
For all interface and trait files, the file name should reflect the interface/trait name without the plugin specific prefix and with an "-interface" or "-trait" suffix.
For all interface, trait and enum files, the file name should reflect the interface/trait/enum name without the plugin specific prefix and with an "-interface", "-trait" or "-enum" suffix.
]]>
</standard>
<code_comparison>
Expand Down
Loading