private function evaluateDirectory($directory = null)
    {
        $directory = $this->setDirectoryFallback($directory);

        /** @noinspection PhpAssignmentInConditionInspection */
        $this->run($directory);
    }