Skip to content

Commit

Permalink
Docs: add missing @uses tags
Browse files Browse the repository at this point in the history
Follow up on 2259, which moved these `public` properties to the `SanitizingFunctionsTrait`.
  • Loading branch information
jrfnl committed Jul 6, 2023
1 parent ba9b1ea commit fdd7e48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WordPress/Sniffs/Security/NonceVerificationSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
* @since 0.5.0
* @since 0.13.0 Class name changed: this class is now namespaced.
* @since 1.0.0 This sniff has been moved from the `CSRF` category to the `Security` category.
*
* @uses \WordPressCS\WordPress\Helpers\SanitizingFunctionsTrait::$customSanitizingFunctions
* @uses \WordPressCS\WordPress\Helpers\SanitizingFunctionsTrait::$customUnslashingSanitizingFunctions
*/
class NonceVerificationSniff extends Sniff {

Expand Down
3 changes: 3 additions & 0 deletions WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
* @since 0.5.0 Method getArrayIndexKey() has been moved to the WordPressCS native `Sniff` class.
* @since 0.13.0 Class name changed: this class is now namespaced.
* @since 1.0.0 This sniff has been moved from the `VIP` category to the `Security` category.
*
* @uses \WordPressCS\WordPress\Helpers\SanitizingFunctionsTrait::$customSanitizingFunctions
* @uses \WordPressCS\WordPress\Helpers\SanitizingFunctionsTrait::$customUnslashingSanitizingFunctions
*/
class ValidatedSanitizedInputSniff extends Sniff {

Expand Down

0 comments on commit fdd7e48

Please sign in to comment.