ischenko/yii2-jsloader

View on GitHub

Showing 39 of 39 total issues

Doc-block of clearDependencies contains declared return type static which is incompatible with the return type \ischenko\yii2\jsloader\DependencyAwareInterface declared in the signature
Open

     * @return $this
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\helpers\FileHelper::removeExtension()
Open

    public static function removeExtension(string $filename, string $ext = '.js'): string
Severity: Minor
Found in src/helpers/FileHelper.php by phan

Possibly zero references to protected method \ischenko\yii2\jsloader\base\Loader::getRuntimePath()
Open

    protected function getRuntimePath()
Severity: Minor
Found in src/base/Loader.php by phan

Doc-block of addDependency contains declared return type static which is incompatible with the return type \ischenko\yii2\jsloader\DependencyAwareInterface declared in the signature
Open

     * @return $this
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\helpers\JsExpression::getExpression()
Open

    public function getExpression()
Severity: Minor
Found in src/helpers/JsExpression.php by phan

Returning type \ischenko\yii2\jsloader\traits\DependencyAware but setDependencies() is declared to return \ischenko\yii2\jsloader\DependencyAwareInterface
Open

        return $this;
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Possibly zero references to class \ischenko\yii2\jsloader\helpers\FileHelper
Open

class FileHelper extends \yii\helpers\FileHelper
Severity: Minor
Found in src/helpers/FileHelper.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\helpers\JsExpression::render()
Open

    public function render(JsRendererInterface $renderer)
Severity: Minor
Found in src/helpers/JsExpression.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\Behavior::events()
Open

    public function events()
Severity: Minor
Found in src/Behavior.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\Behavior::setLoader()
Open

    public function setLoader($loader)
Severity: Minor
Found in src/Behavior.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\base\Filter::setValue()
Open

    public function setValue($value)
Severity: Minor
Found in src/base/Filter.php by phan

Returning type \ischenko\yii2\jsloader\traits\DependencyAware but addDependency() is declared to return \ischenko\yii2\jsloader\DependencyAwareInterface
Open

            return $this;
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\traits\DependencyAware::clearDependencies()
Open

    public function clearDependencies(): DependencyAwareInterface
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\ThemeBasedBehavior::init()
Open

    public function init()
Severity: Minor
Found in src/ThemeBasedBehavior.php by phan

Possibly zero references to private property \ischenko\yii2\jsloader\helpers\JsExpression->dependencies
Open

    private $dependencies = [];
Severity: Minor
Found in src/helpers/JsExpression.php by phan

Possibly zero references to public property \ischenko\yii2\jsloader\base\Config->baseUrl
Open

    public $baseUrl;
Severity: Minor
Found in src/base/Config.php by phan

Possibly zero references to public method \ischenko\yii2\jsloader\traits\DependencyAware::getDependencies()
Open

    public function getDependencies(): array
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Doc-block of setDependencies contains declared return type static which is incompatible with the return type \ischenko\yii2\jsloader\DependencyAwareInterface declared in the signature
Open

     * @return $this
Severity: Minor
Found in src/traits/DependencyAware.php by phan

Returning type \ischenko\yii2\jsloader\traits\DependencyAware but clearDependencies() is declared to return \ischenko\yii2\jsloader\DependencyAwareInterface
Open

        return $this;
Severity: Minor
Found in src/traits/DependencyAware.php by phan
Severity
Category
Status
Source
Language