File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/JonnyW/PhantomJs/Tests/Integration Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
22
"jakoch/phantomjs-installer" : " 2.1.1"
23
23
},
24
24
"require-dev" : {
25
- "phpunit/phpunit" : " ~4 .0" ,
25
+ "phpunit/phpunit" : " ~5 .0" ,
26
26
"zendframework/zendpdf" : " ~2.0" ,
27
27
"smalot/pdfparser" : " ~0.9"
28
28
},
Original file line number Diff line number Diff line change @@ -511,8 +511,8 @@ public function testCanSetRepeatingHeaderForPDFRequest()
511
511
512
512
$ client ->send ($ request , $ response );
513
513
514
- $ pdf = ( new \Smalot \PdfParser \Parser ())
515
- ->parseFile ($ file );
514
+ $ parser = new \Smalot \PdfParser \Parser ();
515
+ $ pdf = $ parser ->parseFile ($ file );
516
516
517
517
$ text = str_replace (' ' , '' , $ pdf ->getText ());
518
518
@@ -547,8 +547,8 @@ public function testCanSetRepeatingFooterForPDFRequest()
547
547
548
548
$ client ->send ($ request , $ response );
549
549
550
- $ pdf = ( new \Smalot \PdfParser \Parser ())
551
- ->parseFile ($ file );
550
+ $ parser = new \Smalot \PdfParser \Parser ();
551
+ $ pdf = $ parser ->parseFile ($ file );
552
552
553
553
$ text = str_replace (' ' , '' , $ pdf ->getText ());
554
554
You can’t perform that action at this time.
0 commit comments