PDepend\TextUI\Command::printWorkarounds PHP Method

printWorkarounds() protected method

If the current PHP installation requires some workarounds or limitations, this method will output a message on STDOUT.
protected printWorkarounds ( ) : void
return void
    protected function printWorkarounds()
    {
        $workarounds = new Workarounds();
        if ($workarounds->isNotRequired()) {
            return;
        }
        echo 'Your PHP version requires some workaround:', PHP_EOL;
        foreach ($workarounds->getRequiredWorkarounds() as $workaround) {
            echo '- ', $workaround, PHP_EOL;
        }
        echo PHP_EOL;
    }