protected function setupDrupalSettingsLocalInclude()
    {
        $this->taskWriteToFile($this->settingFile)
            ->append()
            ->appendUnlessMatches(
                '/if.+\/settings\.local\.php.+{\n.+\n\}/',
                $this->drupalSettingsLocalInclude()
            )
            ->run();

        return $this;
    }