Skip to content

Commit

Permalink
Docs: add @internal tag to classes marked as internal API
Browse files Browse the repository at this point in the history
This adds _"the other"_ `@internal` tag to these classes, also marking the classes as "internal API" via the tag (on top of the notice in the docblock description).
  • Loading branch information
jrfnl committed Jul 6, 2023
1 parent ba9b1ea commit 53e1edc
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WordPress/Helpers/ConstantsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* {@internal The functionality in this class will likely be replaced at some point in
* the future by functions from PHPCSUtils.}
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The method in this class was previously contained in the
* `WordPressCS\WordPress\Sniff` class and has been moved here.
Expand Down
2 changes: 2 additions & 0 deletions WordPress/Helpers/ContextHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* This also means that it has no promise of backward compatibility. Use at your own risk.
* ---------------------------------------------------------------------------------------------
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The methods in this class were previously contained in the
* `WordPressCS\WordPress\Sniff` class and have been moved here.
Expand Down
2 changes: 2 additions & 0 deletions WordPress/Helpers/DeprecationHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* {@internal The functionality in this class will likely be replaced at some point in
* the future by functions from PHPCSUtils.}
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The method in this class was previously contained in the
* `WordPressCS\WordPress\Sniff` class and has been moved here.
Expand Down
2 changes: 2 additions & 0 deletions WordPress/Helpers/ListHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* {@internal The functionality in this class will likely be replaced at some point in
* the future by functions from PHPCSUtils.}
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The method in this class was previously contained in the
* `WordPressCS\WordPress\Sniff` class and has been moved here.
Expand Down
2 changes: 2 additions & 0 deletions WordPress/Helpers/RulesetPropertyHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* This also means that it has no promise of backward compatibility. Use at your own risk.
* ---------------------------------------------------------------------------------------------
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The method in this class was previously contained in the
* `WordPressCS\WordPress\Sniff` class and has been moved here.
Expand Down
2 changes: 2 additions & 0 deletions WordPress/Helpers/SnakeCaseHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* {@internal The functionality in this class will likely be replaced at some point in
* the future by functions from PHPCSUtils.}
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The method in this class was previously contained in the
* `WordPressCS\WordPress\Sniff` class and has been moved here.
Expand Down
2 changes: 2 additions & 0 deletions WordPress/Helpers/VariableHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* {@internal The functionality in this class will likely be replaced at some point in
* the future by functions from PHPCSUtils.}
*
* @internal
*
* @package WPCS\WordPressCodingStandards
* @since 3.0.0 The methods in this class were previously contained in the
* `WordPressCS\WordPress\Sniff` class and have been moved here.
Expand Down

0 comments on commit 53e1edc

Please sign in to comment.