diff --git a/src/Ruleset/Nexus73.php b/src/Ruleset/Nexus73.php index aa8163f..dc41522 100644 --- a/src/Ruleset/Nexus73.php +++ b/src/Ruleset/Nexus73.php @@ -456,7 +456,10 @@ public function __construct() 'phpdoc_summary' => true, 'phpdoc_tag_casing' => ['tags' => ['inheritDoc']], 'phpdoc_tag_type' => ['tags' => ['inheritDoc' => 'inline']], - 'phpdoc_to_comment' => ['ignored_tags' => []], + 'phpdoc_to_comment' => ['ignored_tags' => [ + 'phpstan-var', + 'phpstan-return', + ]], 'phpdoc_to_param_type' => false, 'phpdoc_to_property_type' => false, // for PHP 7.4+ 'phpdoc_to_return_type' => false, diff --git a/src/Ruleset/Nexus74.php b/src/Ruleset/Nexus74.php index 745acef..32756db 100644 --- a/src/Ruleset/Nexus74.php +++ b/src/Ruleset/Nexus74.php @@ -456,7 +456,10 @@ public function __construct() 'phpdoc_summary' => true, 'phpdoc_tag_casing' => ['tags' => ['inheritDoc']], 'phpdoc_tag_type' => ['tags' => ['inheritDoc' => 'inline']], - 'phpdoc_to_comment' => ['ignored_tags' => []], + 'phpdoc_to_comment' => ['ignored_tags' => [ + 'phpstan-var', + 'phpstan-return', + ]], 'phpdoc_to_param_type' => false, 'phpdoc_to_property_type' => ['scalar_types' => true], 'phpdoc_to_return_type' => false, diff --git a/src/Ruleset/Nexus80.php b/src/Ruleset/Nexus80.php index 97ad74f..d9be3bf 100644 --- a/src/Ruleset/Nexus80.php +++ b/src/Ruleset/Nexus80.php @@ -456,7 +456,10 @@ public function __construct() 'phpdoc_summary' => true, 'phpdoc_tag_casing' => ['tags' => ['inheritDoc']], 'phpdoc_tag_type' => ['tags' => ['inheritDoc' => 'inline']], - 'phpdoc_to_comment' => ['ignored_tags' => []], + 'phpdoc_to_comment' => ['ignored_tags' => [ + 'phpstan-var', + 'phpstan-return', + ]], 'phpdoc_to_param_type' => ['scalar_types' => true], 'phpdoc_to_property_type' => ['scalar_types' => true], 'phpdoc_to_return_type' => ['scalar_types' => true],