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
build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
libs
/
ObjectFactoryTest.php
diff --git
a/tests/phpunit/includes/libs/ObjectFactoryTest.php
b/tests/phpunit/includes/libs/ObjectFactoryTest.php
index
3e0a61e
..
35a7b60
100644
(file)
--- a/
tests/phpunit/includes/libs/ObjectFactoryTest.php
+++ b/
tests/phpunit/includes/libs/ObjectFactoryTest.php
@@
-27,13
+27,13
@@
class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
$obj = ObjectFactory::getObjectFromSpec( [
'class' => 'ObjectFactoryTestFixture',
'args' => [
$obj = ObjectFactory::getObjectFromSpec( [
'class' => 'ObjectFactoryTestFixture',
'args' => [
- function() {
+ function
() {
return 'wrapped';
},
'unwrapped',
],
'calls' => [
return 'wrapped';
},
'unwrapped',
],
'calls' => [
- 'setter' => [ function() {
+ 'setter' => [ function
() {
return 'wrapped';
}, ],
],
return 'wrapped';
}, ],
],
@@
-54,13
+54,13
@@
class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
$obj = ObjectFactory::getObjectFromSpec( [
'class' => 'ObjectFactoryTestFixture',
'args' => [
$obj = ObjectFactory::getObjectFromSpec( [
'class' => 'ObjectFactoryTestFixture',
'args' => [
- function() {
+ function
() {
return 'wrapped';
},
'unwrapped',
],
'calls' => [
return 'wrapped';
},
'unwrapped',
],
'calls' => [
- 'setter' => [ function() {
+ 'setter' => [ function
() {
return 'wrapped';
}, ],
],
return 'wrapped';
}, ],
],
@@
-74,11
+74,11
@@
class ObjectFactoryTest extends PHPUnit_Framework_TestCase {
$obj = ObjectFactory::getObjectFromSpec( [
'class' => 'ObjectFactoryTestFixture',
$obj = ObjectFactory::getObjectFromSpec( [
'class' => 'ObjectFactoryTestFixture',
- 'args' => [ function() {
+ 'args' => [ function
() {
return 'unwrapped';
}, ],
'calls' => [
return 'unwrapped';
}, ],
'calls' => [
- 'setter' => [ function() {
+ 'setter' => [ function
() {
return 'unwrapped';
}, ],
],
return 'unwrapped';
}, ],
],