This repository was archived by the owner on Jan 30, 2020. It is now read-only.
File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 12
12
use PHPUnit_Framework_MockObject_MockObject as MockObject ;
13
13
use PHPUnit_Framework_TestCase as TestCase ;
14
14
use Zend \Filter \FilterPluginManager ;
15
+ use Zend \InputFilter \InputFilter ;
15
16
use Zend \InputFilter \InputFilterAbstractServiceFactory ;
16
17
use Zend \InputFilter \InputFilterInterface ;
17
- use Zend \InputFilter \InputFilter ;
18
18
use Zend \InputFilter \InputFilterPluginManager ;
19
19
use Zend \ServiceManager \ServiceManager ;
20
20
use Zend \Validator \ValidatorInterface ;
@@ -254,11 +254,11 @@ protected function getCompatContainer()
254
254
*/
255
255
public function testInjectsInputFilterManagerFromServiceManager ()
256
256
{
257
- $ this ->services ->setService ('Config ' , array (
258
- 'input_filter_specs ' => array (
259
- 'filter ' => array () ,
260
- ) ,
261
- ) );
257
+ $ this ->services ->setService ('config ' , [
258
+ 'input_filter_specs ' => [
259
+ 'filter ' => [] ,
260
+ ] ,
261
+ ] );
262
262
$ this ->filters ->addAbstractFactory ('ZendTest\InputFilter\TestAsset\FooAbstractFactory ' );
263
263
264
264
/**
@@ -272,5 +272,4 @@ public function testInjectsInputFilterManagerFromServiceManager()
272
272
273
273
$ this ->assertInstanceOf ('ZendTest\InputFilter\TestAsset\Foo ' , $ inputFilterManager ->get ('foo ' ));
274
274
}
275
-
276
275
}
You can’t perform that action at this time.
0 commit comments