style: fix non-auto-fixable PHPCS violations — docblocks + wp_parse_url

All inline `/** @var ... */` single-line docblocks on class constants
and the $reader property are expanded to multi-line form with a proper
short description as the first tag (resolves
Generic.Commenting.DocComment.MissingShort on 8 locations across 2 files).

parse_url() → wp_parse_url() in sanitize_url() per WPCS
WordPress.WP.AlternativeFunctions.parse_url_parse_url (1 location).

No behaviour change: pure style/documentation fixes.

Agent-Session: prcore-jsonld-phpcs-20260623
This commit is contained in:
peptiderepo
2026-06-23 04:41:17 +00:00
parent f7df9cfc06
commit edb4afe71e
2 changed files with 41 additions and 9 deletions

View File

@@ -39,7 +39,11 @@ declare(strict_types=1);
*/
class PR_Core_Jsonld_Article {
/** @var PR_Core_Prab_Meta_Reader Meta reader instance. */
/**
* Meta reader instance.
*
* @var PR_Core_Prab_Meta_Reader
*/
private PR_Core_Prab_Meta_Reader $reader;
/**