'value'=>t('Your PHP runtime version is affected by the httpoxy vulnerability.'),
'description'=>t('Either update your PHP runtime version or uncomment the "Erase HTTP_PROXY" rule in your web.config file and add HTTP_PROXY to the allowed headers list. See more details in the <a href=":link">security advisory</a>.',[':link'=>'https://www.drupal.org/SA-CORE-2016-003']),
'severity'=>REQUIREMENT_ERROR,
];
}
}
// Installations on Windows can run into limitations with MAX_PATH if the
// Drupal root directory is too deep in the filesystem. Generally this shows
// up in cached Twig templates and other public files with long directory or
@@ -136,12 +136,7 @@ public function testUncaughtExceptionCustomExceptionHandler() {
* Tests a missing dependency on a service.
*/
publicfunctiontestMissingDependency(){
if(version_compare(PHP_VERSION,'7.1')<0){
$this->expectedExceptionMessage='Argument 1 passed to Drupal\error_service_test\LonelyMonkeyClass::__construct() must be an instance of Drupal\Core\Database\Connection, non';
}
else{
$this->expectedExceptionMessage='Too few arguments to function Drupal\error_service_test\LonelyMonkeyClass::__construct(), 0 passed';