Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585239
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
741 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/tests/phpunit/unit/tests/JsonSchemaAssertionTraitTest.php b/tests/phpunit/unit/tests/JsonSchemaAssertionTraitTest.php
index 60edf0cfd48..ea22f3a5529 100644
--- a/tests/phpunit/unit/tests/JsonSchemaAssertionTraitTest.php
+++ b/tests/phpunit/unit/tests/JsonSchemaAssertionTraitTest.php
@@ -33,7 +33,7 @@ class JsonSchemaAssertionTraitTest extends MediaWikiUnitTestCase {
$dir = __DIR__ . '/json';
// T391586 - Malformed JSON doesn't pass linting while making releases, so
// to have a txt file extension.
- foreach ( glob( __DIR__ . '/json/invalid*.{txt,json}' ) as $file ) {
+ foreach ( glob( __DIR__ . '/json/invalid*.{txt,json}', GLOB_BRACE ) as $file ) {
yield $file => [ $file, "$dir/schema1.json" ];
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:32 AM (1 d, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227650
Default Alt Text
(741 B)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment