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:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user