dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Make cleanupSpam.php query for http and https"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
utils
/
ClassCollectorTest.php
diff --git
a/tests/phpunit/includes/utils/ClassCollectorTest.php
b/tests/phpunit/includes/utils/ClassCollectorTest.php
index
9e5163f
..
9c7c50f
100644
(file)
--- a/
tests/phpunit/includes/utils/ClassCollectorTest.php
+++ b/
tests/phpunit/includes/utils/ClassCollectorTest.php
@@
-43,6
+43,10
@@
class ClassCollectorTest extends PHPUnit\Framework\TestCase {
"namespace Example;\nclass Foo {}\nclass_alias( Foo::class, 'Bar' );",
[ 'Example\Foo', 'Bar' ],
],
+ [
+ "new class() extends Foo {}",
+ []
+ ]
];
}