pug-php/twig

View on GitHub
src/Phug/PugToTwig.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Call to method __construct from undeclared class \Phug\Compiler
Open

        $compiler = new Compiler($options);
Severity: Critical
Found in src/Phug/PugToTwig.php by phan

Call to method setOptionsRecursive from undeclared class \Phug\CompilerInterface
Open

        $formatter = $compiler->setOptionsRecursive($options)->getFormatter();
Severity: Critical
Found in src/Phug/PugToTwig.php by phan

Class extends undeclared class \Phug\AbstractCompilerModule
Open

class PugToTwig extends AbstractCompilerModule
Severity: Critical
Found in src/Phug/PugToTwig.php by phan

Parameter $compiler has undeclared type \Phug\CompilerInterface
Open

    public static function enableTwigFormatter(CompilerInterface $compiler)
Severity: Minor
Found in src/Phug/PugToTwig.php by phan

Saw unextractable annotation for comment '* @return $compiler'
Open

     * @return $compiler
Severity: Info
Found in src/Phug/PugToTwig.php by phan

Call to method compile from undeclared class \Phug\Compiler
Open

        return $compiler->compile($pugCode);
Severity: Critical
Found in src/Phug/PugToTwig.php by phan

There are no issues that match your filters.

Category
Status