Showing 30 of 30 total issues
Call to method compile
from undeclared class \Pug\Pug
Open
Open
$this->pug->compile(''); // Init ->files
- Exclude checks
@throws type of initCachePath
has undeclared type \yii\base\Exception
(Did you mean class \Exception) Open
Open
protected function initCachePath()
- Exclude checks
@throws annotation of init
has suspicious class type \Pug\Yii\Exception,
which does not extend Error/Exception (Did you mean class \Exception) Open
Open
public function init()
- Exclude checks
Call with 1 arg(s) to \Pug\Yii\Exception::__construct()
which only takes 0 arg(s) defined at /code/Exception.php:13
Open
Open
throw new Exception(Yii::t('app', 'Pug cache path is not writable.'));
- Exclude checks
Expected an object instance or the name of a class but saw expression with type 'Pug\\Pug'|string
Open
Open
$this->pug = new $className(array_merge([
- Exclude checks
Checking instanceof against undeclared class \Tale\Pug\Renderer
Open
Open
if ($this->pug instanceof \Tale\Pug\Renderer && !($this->pug instanceof \Phug\Renderer)) {
- Exclude checks
Reference to static property app
from undeclared class \Yii
Open
Open
'app' => Yii::$app,
- Exclude checks
Property \Pug\Yii\ViewRenderer->pug
has undeclared type \Pug\Pug
Open
Open
public $pug;
- Exclude checks
Reference to undeclared class \Pug\Pug
Open
Open
$this->pug = new $className(array_merge([
- Exclude checks
Call to method t
from undeclared class \Yii
Open
Open
throw new Exception(Yii::t('app', 'Pug cache path is not readable.'));
- Exclude checks