@@ -45,17 +45,17 @@ public function testFustyRequest_construct()
4545 $ firstChunk ->setContent ('1234567890 ' );
4646 $ this ->vfs ->addChild ($ firstChunk );
4747
48- $ fileInfo = new \ArrayObject ([
48+ $ fileInfo = new \ArrayObject (array (
4949 'size ' => 10 ,
5050 'error ' => UPLOAD_ERR_OK ,
5151 'tmp_name ' => $ firstChunk ->url ()
52- ] );
52+ ) );
5353
54- $ request = new \ArrayObject ([
54+ $ request = new \ArrayObject (array (
5555 'flowIdentifier ' => '13632-prettifyjs ' ,
5656 'flowFilename ' => 'prettify.js ' ,
5757 'flowRelativePath ' => 'home/prettify.js '
58- ] );
58+ ) );
5959
6060 $ fustyRequest = new FustyRequest ($ request , $ fileInfo );
6161
@@ -80,25 +80,25 @@ public function testFustyRequest_ValidateUpload()
8080 $ firstChunk ->setContent ('1234567890 ' );
8181 $ this ->vfs ->addChild ($ firstChunk );
8282
83- $ fileInfo = new \ArrayObject ([
83+ $ fileInfo = new \ArrayObject (array (
8484 'size ' => 10 ,
8585 'error ' => UPLOAD_ERR_OK ,
8686 'tmp_name ' => $ firstChunk ->url ()
87- ] );
87+ ) );
8888
89- $ request = new \ArrayObject ([
89+ $ request = new \ArrayObject (array (
9090 'flowIdentifier ' => '13632-prettifyjs ' ,
9191 'flowFilename ' => 'prettify.js ' ,
9292 'flowRelativePath ' => 'home/prettify.js '
93- ] );
93+ ) );
9494
9595 $ fustyRequest = new FustyRequest ($ request , $ fileInfo );
9696
9797 $ config = new Config ();
9898 $ config ->setTempDir ($ this ->vfs ->url ());
9999
100100 /** @var File $file */
101- $ file = $ this ->getMock ('Flow\File ' , array ('_move_uploaded_file ' ), [ $ config , $ fustyRequest] );
101+ $ file = $ this ->getMock ('Flow\File ' , array ('_move_uploaded_file ' ), array ( $ config , $ fustyRequest) );
102102
103103 /** @noinspection PhpUndefinedMethodInspection */
104104 $ file ->expects ($ this ->once ())
0 commit comments