Skip to content

Commit

Permalink
1. Added support for checking @since tags for class, trait, interfa…
Browse files Browse the repository at this point in the history
…ce, and enum declarations.

2. Added support for checking `@since` tags for class and trait properties;
3. Added support for checking `@since` tags for class, interface, and trait method declarations;
4. Added support for checking `@since` tags for WordPress functions that invoke hooks: `do_action()`, `do_action_ref_array()`, `apply_filters()`, `apply_filters_ref_array()`.
5. Refactored unit tests; duplicate code moved to the new `GutenbergCS\Gutenberg\Tests\AbstractSniffUnitTest` class.
  • Loading branch information
anton-vlasenko authored and Anton Vlasenko committed May 10, 2024
1 parent d7e7af9 commit 0b9db72
Show file tree
Hide file tree
Showing 3 changed files with 1,267 additions and 75 deletions.
Loading

0 comments on commit 0b9db72

Please sign in to comment.