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 a56f44a commit 69bc80dCopy full SHA for 69bc80d
src/Plugin.php
@@ -33,7 +33,11 @@ class Plugin implements PluginEntryPointInterface
33
*/
34
protected function getCommonStubs(): array
35
{
36
- return glob(__DIR__.'/Stubs/common/{*,*/*}.stubphp', GLOB_BRACE) ?: [];
+ // GLOB_BRACE is undefined on Alpine Linux https://bugs.php.net/bug.php?id=72095
37
+ return array_merge(
38
+ glob(__DIR__.'/Stubs/common/*/*.stubphp'),
39
+ glob(__DIR__.'/Stubs/common/*.stubphp')
40
+ ) ?: [];
41
}
42
43
/**
0 commit comments