-
- Notifications
You must be signed in to change notification settings - Fork 522
Sniffs: add tests for namespaced names #2620
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
Open
rodrigoprimo wants to merge 23 commits into WordPress:develop Choose a base branch from rodrigoprimo:more-namespace-tests
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+303 −42
Open
Changes from all commits
Commits
Show all changes
23 commits Select commit Hold shift + click to select a range
74ecca0 Utils/I18nTextDomainFixer: add tests for namespaced names
rodrigoprimo 49ebb37 Security/NonceVerification: add tests for namespaced names
rodrigoprimo 7d41431 NamingConventions/ValidHookName: add tests for namespaced names
rodrigoprimo 005003f NamingConventions/PrefixAllGlobals: add tests for namespaced names
rodrigoprimo fae6704 PHP/NoSilencedErrors: add tests for namespaced names
rodrigoprimo c16b933 WP/CronInterval: add tests for namespaced names
rodrigoprimo 58afa65 WP/DiscouragedConstants: add tests for namespaced function calls
rodrigoprimo 521f28c Update WordPress/Tests/PHP/NoSilencedErrorsUnitTest.inc
rodrigoprimo c72f635 Security/NonceVerification: address PR feedback and add more namespac…
rodrigoprimo 9bb7bd5 NamingConventions/ValidHookName: address PR feedback and add tests of…
rodrigoprimo bec8ac0 NamingConventions/PrefixAllGlobals: address PR feedback and add more …
rodrigoprimo 4dbc12a WP/CronInterval: address PR feedback and add test of fully qualified …
rodrigoprimo 0c34a60 Utils/I18nTextDomainFixer: use different function names and case for …
rodrigoprimo b367f99 Security/NonceVerification: use different function names and case for…
rodrigoprimo 7f3cda4 NamingConventions/ValidHookName: use different function names and cas…
rodrigoprimo 1e8def1 NamingConventions/PrefixAllGlobals: use different function names and …
rodrigoprimo 1fb4689 PHP/NoSilencedErrors: use different function names and case for the n…
rodrigoprimo 451a530 WP/CronInterval: ensure there are tests with different cases for the …
rodrigoprimo 8e89ea4 WP/DiscouragedConstants: use different constant names and different c…
rodrigoprimo d4f1d12 WP/CronInterval: add tests for namespaced names when calling first cl…
rodrigoprimo f3d00da WP/CronInterval: expand first class callables namespaced tests by doc…
rodrigoprimo 0f2d04b WP/CronInterval: update test comments
rodrigoprimo 6d8f58a NamingConventions/PrefixAllGlobals: address PR feedback
rodrigoprimo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| | @@ -61,6 +61,10 @@ public function getWarningList() { | |
| 71 => 1, | ||
| 78 => 1, | ||
| 85 => 1, | ||
| 91 => 1, | ||
| 92 => 1, | ||
| 93 => 1, | ||
| 94 => 1, | ||
| ); | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.