src/Provider.php
Method register
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function register(Application $app)
{
$app['nn.markdown'] = $app->share(
function () {
return new Markdown(
Avoid too many return
statements within this method. Open
Open
return $twig;