@@ -193,7 +193,6 @@ public function testCheckPhpSettings()
193
193
50
194
194
);
195
195
196
- $ this ->setUpNoPrettyVersionParser ();
197
196
$ rawPostMessage = sprintf (
198
197
'Your PHP Version is %s, but always_populate_raw_post_data = -1.
199
198
$HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0.
@@ -212,6 +211,7 @@ public function testCheckPhpSettings()
212
211
]
213
212
];
214
213
if (!$ this ->isPhp7OrHackLang ()) {
214
+ $ this ->setUpNoPrettyVersionParser ();
215
215
$ expected ['data ' ]['always_populate_raw_post_data ' ] = [
216
216
'message ' => $ rawPostMessage ,
217
217
'helpUrl ' => 'http://php.net/manual/en/ini.core.php#ini.always-populate-settings-data ' ,
@@ -233,7 +233,6 @@ public function testCheckPhpSettingsFailed()
233
233
200
234
234
);
235
235
236
- $ this ->setUpNoPrettyVersionParser ();
237
236
$ rawPostMessage = sprintf (
238
237
'Your PHP Version is %s, but always_populate_raw_post_data = -1.
239
238
$HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0.
@@ -252,6 +251,7 @@ public function testCheckPhpSettingsFailed()
252
251
]
253
252
];
254
253
if (!$ this ->isPhp7OrHackLang ()) {
254
+ $ this ->setUpNoPrettyVersionParser ();
255
255
$ expected ['data ' ]['always_populate_raw_post_data ' ] = [
256
256
'message ' => $ rawPostMessage ,
257
257
'helpUrl ' => 'http://php.net/manual/en/ini.core.php#ini.always-populate-settings-data ' ,
@@ -265,7 +265,6 @@ public function testCheckPhpSettingsNoXDebug()
265
265
{
266
266
$ this ->phpInfo ->expects ($ this ->once ())->method ('getCurrent ' )->willReturn ([]);
267
267
268
- $ this ->setUpNoPrettyVersionParser ();
269
268
$ rawPostMessage = sprintf (
270
269
'Your PHP Version is %s, but always_populate_raw_post_data = -1.
271
270
$HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0.
@@ -279,6 +278,7 @@ public function testCheckPhpSettingsNoXDebug()
279
278
'data ' => []
280
279
];
281
280
if (!$ this ->isPhp7OrHackLang ()) {
281
+ $ this ->setUpNoPrettyVersionParser ();
282
282
$ expected ['data ' ] = [
283
283
'always_populate_raw_post_data ' => [
284
284
'message ' => $ rawPostMessage ,
0 commit comments