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 6bf711b commit edfaf7cCopy full SHA for edfaf7c
dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php
@@ -185,7 +185,8 @@ public static function backupStaticVariables()
185
| Files::INCLUDE_TESTS
186
),
187
function ($classFile) {
188
- return StaticProperties::_isClassInCleanableFolders($classFile)
+ return strpos($classFile, 'TestFramework') === -1
189
+ && StaticProperties::_isClassInCleanableFolders($classFile)
190
// phpcs:ignore Magento2.Functions.DiscouragedFunction
191
&& strpos(file_get_contents($classFile), ' static ') > 0;
192
}
0 commit comments