pug-php/installer

View on GitHub

Showing 38 of 38 total issues

Parameter $event has undeclared type \Composer\EventDispatcher\Event
Open

    public function __construct(Event $event)
Severity: Minor
Found in src/Pug/Installer/Installer.php by phan

Parameter $composer has undeclared type \Composer\Composer
Open

    public function activate(Composer $composer, IOInterface $io)
Severity: Minor
Found in src/Pug/Installer/ComposerPlugin.php by phan

Variable $directory is undeclared
Open

                if ($dependency === '.' || $dependency === '..' || !is_dir($subDirectory = $directory . DIRECTORY_SEPARATOR . $dependency)) {
Severity: Minor
Found in src/Pug/Installer/Installer.php by phan

Parameter $io has undeclared type \Composer\IO\IOInterface
Open

    public function uninstall(Composer $composer, IOInterface $io)
Severity: Minor
Found in src/Pug/Installer/ComposerPlugin.php by phan

Parameter $composer has undeclared type \Composer\Composer
Open

    protected static function getInstallerConfig(Composer $composer)
Severity: Minor
Found in src/Pug/Installer/Installer.php by phan

Variable $directory is undeclared
Open

            foreach (scandir($directory) as $dependency) {
Severity: Minor
Found in src/Pug/Installer/Installer.php by phan

Call to method __construct from undeclared class \Composer\Json\JsonFile
Open

        $json = new JsonFile($directory . DIRECTORY_SEPARATOR . 'composer.json');
Severity: Critical
Found in src/Pug/Installer/Installer.php by phan

Parameter $event has undeclared type \Composer\EventDispatcher\Event
Open

    public static function onAutoloadDump(Event $event)
Severity: Minor
Found in src/Pug/Installer/Installer.php by phan

Class implements undeclared interface \Composer\EventDispatcher\EventSubscriberInterface
Open

class ComposerPlugin implements PluginInterface, EventSubscriberInterface
Severity: Critical
Found in src/Pug/Installer/ComposerPlugin.php by phan

Call to method getComposer from undeclared class \Composer\EventDispatcher\Event
Open

        $composer = $event->getComposer();
Severity: Critical
Found in src/Pug/Installer/Installer.php by phan

Call to method getComposer from undeclared class \Composer\EventDispatcher\Event
Open

        $vendorDirectory = static::fallbackVendorDir(static::getComposerVendorDir($this->event->getComposer()));
Severity: Critical
Found in src/Pug/Installer/Installer.php by phan

Call to method getConfig from undeclared class \Composer\Composer
Open

        return realpath($composer->getConfig()->get('vendor-dir'));
Severity: Critical
Found in src/Pug/Installer/Installer.php by phan

Call to method read from undeclared class \Composer\Json\JsonFile
Open

            $dependencyConfig = $json->read();
Severity: Critical
Found in src/Pug/Installer/Installer.php by phan

Parameter $event has undeclared type \Composer\EventDispatcher\Event
Open

    public function onAutoloadDump(Event $event)
Severity: Minor
Found in src/Pug/Installer/ComposerPlugin.php by phan

Variable $subDirectory is undeclared
Open

                static::appendConfig($installers, $subDirectory);
Severity: Minor
Found in src/Pug/Installer/Installer.php by phan

Class implements undeclared interface \Composer\Plugin\PluginInterface
Open

class ComposerPlugin implements PluginInterface, EventSubscriberInterface
Severity: Critical
Found in src/Pug/Installer/ComposerPlugin.php by phan

Call to method getIO from undeclared class \Composer\EventDispatcher\Event
Open

            $event->getIO()->write(
Severity: Critical
Found in src/Pug/Installer/Installer.php by phan

Parameter $composer has undeclared type \Composer\Composer
Open

    public function uninstall(Composer $composer, IOInterface $io)
Severity: Minor
Found in src/Pug/Installer/ComposerPlugin.php by phan
Severity
Category
Status
Source
Language