public function detectConflicts()
    {
        $conflicts = [];
        $apps = $this->graph->getLeafNodes();
        foreach ($apps as $name => $latest) {
            if (count($latest) > 1) {
                $conflicts[$name] = $latest;
            }
        }

        return $conflicts;
    }