public function onDependenciesChangedEvent()
    {
        $io = $this->io;
        $isVerbose = $io->isVerbose();

        if ($isVerbose) {
            $io->write(sprintf('<info>%s</info>', self::MESSAGE_RUNNING_INSTALLER));
        }

        if ($this->isPHPCodeSnifferInstalled() === true) {
            $this->loadInstalledPaths();
            $installPathCleaned = $this->cleanInstalledPaths();
            $installPathUpdated = $this->updateInstalledPaths();

            if ($installPathCleaned === true || $installPathUpdated === true) {
                $this->saveInstalledPaths();
            } elseif ($isVerbose) {
                $io->write(sprintf('<info>%s</info>', self::MESSAGE_NOTHING_TO_INSTALL));
            }
        } elseif ($isVerbose) {
            $io->write(sprintf('<info>%s</info>', self::MESSAGE_NOT_INSTALLED));
        }
    }
public function onDependenciesChangedEvent()
    {
        $io = $this->io;
        $isVerbose = $io->isVerbose();

        if ($isVerbose) {
            $io->write(sprintf('<info>%s</info>', self::MESSAGE_RUNNING_INSTALLER));
        }

        if ($this->isPHPCodeSnifferInstalled() === true) {
            $this->loadInstalledPaths();
            $installPathCleaned = $this->cleanInstalledPaths();
            $installPathUpdated = $this->updateInstalledPaths();

            if ($installPathCleaned === true || $installPathUpdated === true) {
                $this->saveInstalledPaths();
            } elseif ($isVerbose) {
                $io->write(sprintf('<info>%s</info>', self::MESSAGE_NOTHING_TO_INSTALL));
            }
        } elseif ($isVerbose) {
            $io->write(sprintf('<info>%s</info>', self::MESSAGE_NOT_INSTALLED));
        }
    }
public function onDependenciesChangedEvent ( ) { $ io = $ this -> io ; $ isVerbose = $ io -> isVerbose ( ) ; if ( $ isVerbose ) { $ io -> write ( sprintf ( '<info>%s</info>' , self :: MESSAGE_RUNNING_INSTALLER ) ) ; } if ( $ this -> isPHPCodeSnifferInstalled ( ) === true ) { $ this -> loadInstalledPaths ( ) ; $ installPathCleaned = $ this -> cleanInstalledPaths ( ) ; $ installPathUpdated = $ this -> updateInstalledPaths ( ) ; if ( $ installPathCleaned === true || $ installPathUpdated === true ) { $ this -> saveInstalledPaths ( ) ; } elseif ( $ isVerbose ) { $ io -> write ( sprintf ( '<info>%s</info>' , self :: MESSAGE_NOTHING_TO_INSTALL ) ) ; } } elseif ( $ isVerbose ) { $ io -> write ( sprintf ( '<info>%s</info>' , self :: MESSAGE_NOT_INSTALLED ) ) ; } }
Entry point for post install and post update events.

@throws \InvalidArgumentException
@throws LogicException
@throws ProcessFailedException
@throws RuntimeException
Entry point for post install and post update events .