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 741c5c4 commit aa22857Copy full SHA for aa22857
tests/EntityTest.php
@@ -36,6 +36,9 @@ public function entityDataProvider(): \Generator
36
'ApiException.php',
37
'Model.php',
38
];
39
+ $deprecated = [
40
+ 'Units.php',
41
+ ];
42
43
while ($iterator->valid()) {
44
/** @var \SplFileInfo $file */
@@ -45,9 +48,13 @@ public function entityDataProvider(): \Generator
45
48
$iterator->next();
46
49
continue;
47
50
}
51
+ if (in_array($file->getFilename(), $deprecated, true)) {
52
+ $iterator->next();
53
+ continue;
54
+ }
55
56
$className = substr($file->getFilename(), 0, -4);
- yield ["{$namespace}\\{$className}"];
57
+ yield $className => ["{$namespace}\\{$className}"];
58
59
60
0 commit comments