We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7bf3fb commit 10027cdCopy full SHA for 10027cd
Magento2/Helpers/Commenting/PHPDocFormattingValidator.php
@@ -124,7 +124,7 @@ public function hasDeprecatedWellFormatted($commentStartPtr, $tokens)
124
$seePtr = $this->getTagPosition('@see', $commentStartPtr, $tokens);
125
if ($seePtr === -1) {
126
if (preg_match(
127
- "/This [a-zA-Z]* will be removed in version \d.\d.\d without replacement/",
+ "/This [a-zA-Z]+ will be removed in version \d+\.\d+\.\d+ without replacement/",
128
$tokens[$deprecatedPtr + 2]['content']
129
)) {
130
return true;
0 commit comments