Showing 2 of 150 total issues
Method runTask
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function runTask(array &$install_state) {
$this->state->set('nobots', FALSE);
$node_pages = [
'403_page' => '4b8018dc-49a6-4018-9c54-e8c3e462beee',
Method getSnowData
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getSnowData($site_name) {
$api_url = Settings::get('cardinal_service_profile_snow_api_url', self::SNOW_API);
try {
$response = $this->client->request('GET', $api_url, [
'query' => ['website_address' => $site_name],