File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
src/Symfony/Component/HttpKernel/Tests/DataCollector Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 16
16
$ mergeBase = trim (shell_exec (sprintf ('git merge-base "%s" HEAD ' , array_shift ($ dirs ))));
17
17
18
18
$ packages = array ();
19
- $ flags = \ PHP_VERSION_ID >= 50400 ? JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE : 0 ;
19
+ $ flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ;
20
20
21
21
foreach ($ dirs as $ k => $ dir ) {
22
22
if (!system ("git diff --name-only $ mergeBase -- $ dir " , $ exitStatus )) {
Original file line number Diff line number Diff line change @@ -125,11 +125,8 @@ public function testFlushNothingWhenDataDumperIsProvided()
125
125
$ collector ->dump ($ data );
126
126
$ line = __LINE__ - 1 ;
127
127
$ output = preg_replace ("/ \033\[[^m]*m/ " , '' , ob_get_clean ());
128
- if (\PHP_VERSION_ID >= 50400) {
129
- $ this ->assertSame ("DumpDataCollectorTest.php on line {$ line }: \n456 \n" , $ output );
130
- } else {
131
- $ this ->assertSame ("\"DumpDataCollectorTest.php on line {$ line }: \"\n456 \n" , $ output );
132
- }
128
+
129
+ $ this ->assertSame ("DumpDataCollectorTest.php on line {$ line }: \n456 \n" , $ output );
133
130
134
131
ob_start ();
135
132
$ collector ->__destruct ();
You can’t perform that action at this time.
0 commit comments