-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
2,402 additions
and
158 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Dependency change | ||
about: Update one or more of the YoastCS dependencies | ||
labels: "yoast cs/qa" | ||
--- | ||
|
||
## Description | ||
|
||
* | ||
|
||
Refs: | ||
<!-- Add relevant links to, for instance, the changelog of the updated dependency. --> | ||
* | ||
|
||
<!-- | ||
If the dependency update involves PHP_CodeSniffer or the WordPress Coding Standards, | ||
please make sure that the `.travis.yml` script is also updated to reflect this change, | ||
so the unit tests are run against the relevant supported versions of these repos. | ||
--> |
This file contains 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
name: General | ||
about: Change which doesn't fit any of the other categories | ||
labels: "yoast cs/qa" | ||
--- | ||
|
This file contains 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
name: Sniff change | ||
about: Introduce a new sniff or update an existing sniff | ||
labels: "yoast cs/qa" | ||
--- | ||
|
||
## Description | ||
|
||
* | ||
|
||
|
||
Refs: | ||
<!-- Add relevant links to, for instance, related upstream issues. --> | ||
* | ||
|
||
|
||
## Test instructions | ||
<!-- | ||
Please follow these guidelines when creating test instructions: | ||
- Please provide step-by-step instructions how to reproduce the issue, if applicable. | ||
- Write step-by-step instructions to test that the change fixes the issue. | ||
For changes which depend on a change in one of the external dependencies, don't forget to mention the following as the first steps: | ||
* Throw away an existing `vendor` directory and `composer.lock` file. | ||
* Run `composer install`. | ||
--> | ||
This PR can be tested by following these steps: | ||
|
||
* | ||
|
||
|
||
## Sniff feature completeness | ||
|
||
* [ ] **Documentation**: I have added/updated the sniff `Standard.xml` documentation to match this change. | ||
* [ ] Not applicable. | ||
* [ ] **Functionality**: This change adds auto-fixer(s). | ||
* [ ] Not applicable. | ||
* [ ] **Unit tests**: I have added unit tests to verify the code works as intended. | ||
* [ ] **End-to-end tests**: I have run the new/updated sniff against one or more of the Yoast plugin repositories to find false positives/negatives. | ||
|
||
Fixes # |
This file contains 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 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 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 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
27 changes: 27 additions & 0 deletions
27
Yoast/Docs/Commenting/CodeCoverageIgnoreDeprecatedStandard.xml
This file contains 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0"?> | ||
<documentation title="Code Coverage Ignore Deprecated"> | ||
<standard> | ||
<![CDATA[ | ||
Deprecated functions and methods should be ignored for code coverage calculations. | ||
]]> | ||
</standard> | ||
<code_comparison> | ||
<code title="Valid: Function marked as deprecated has a @codeCoverageIgnore tag."> | ||
<![CDATA[ | ||
/** | ||
* <em>@deprecated x.x | ||
* @codeCoverageIgnore</em> | ||
*/ | ||
function deprecated_function() {} | ||
]]> | ||
</code> | ||
<code title="Invalid: Function marked as deprecated is missing a @codeCoverageIgnore tag."> | ||
<![CDATA[ | ||
/** | ||
* <em>@deprecated x.x</em> | ||
*/ | ||
function deprecated_function() {} | ||
]]> | ||
</code> | ||
</code_comparison> | ||
</documentation> |
Oops, something went wrong.