We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3804ddd commit 283d63bCopy full SHA for 283d63b
src/Magento/FunctionalTestingFramework/StaticCheck/AnnotationsCheck.php
@@ -163,8 +163,8 @@ private function validateSkipIssueId($test)
163
$skip = $annotations['skip'] ?? null;
164
if ($skip !== null) {
165
$validateSkipped = true;
166
- $issueId = $skip[0] ?? null;
167
- if ($issueId === null || strlen($issueId) == 0) {
+ if ((!isset($skip[0]) || strlen($skip[0]) == 0)
+ && (!isset($skip['issueId']) || strlen($skip['issueId']) == 0)) {
168
$this->errors[][] = "Test {$test->getName()} is skipped but the issueId is empty.";
169
}
170
0 commit comments