private function shouldBeIgnored($path)
    {
        $path = $this->normalizePath($path);

        if ($this->isAutomaticallyIgnored($path)) {
            return true;
        }

        foreach ($this->ignoredPaths as $ignoredPath) {
            if (Str::is($this->normalizePath($ignoredPath), $path)) {
                return true;
            }
        }

        return false;
    }