$this->
assertFileIsNotWritable($settings_file);
} /**
* Checks system runtime requirements.
*
* @return array
* An array of system requirements.
*/
protected function checkSystemRequirements() { \Drupal::
moduleHandler()->
loadInclude('system', 'install'
);
return system_requirements('runtime'
);
} /**
* Makes the given path and settings file writable.
*
* @param string $site_path
* The sites directory path, such as 'sites/default'.
*/
protected function makeWritable($site_path) { chmod($site_path, 0755
);
chmod($this->
settingsFile($site_path), 0644
);
}