protected function addEntriesForDirectoriesToIgnoreEntirely()
    {
        foreach ($this->directoriesToIgnoreEntirely as $directory) {
            if (!in_array($directory, $this->lines)) {
                $this->lines[] = $directory;
                $this->hasChanges = true;
            }
        }
    }