We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9513c1 commit abf9928Copy full SHA for abf9928
src/NodeAnalyzer/TestsNodeAnalyzer.php
@@ -58,8 +58,8 @@ public function isTestClassMethod(ClassMethod $classMethod): bool
58
return true;
59
}
60
61
- foreach ($classMethod->getAttrGroups() as $attrGroup) {
62
- foreach ($attrGroup->attrs as $attribute) {
+ foreach ($classMethod->getAttrGroups() as $attributeGroup) {
+ foreach ($attributeGroup->attrs as $attribute) {
63
if ($attribute->name->toString() === 'PHPUnit\\Framework\\Attributes\\Test') {
64
65
0 commit comments