src/Composer/Plugin.php
public function onPostCmdEvent(\Composer\Script\Event $event)
    {
        if (!empty($this->unsupportedPackages)) {
            $this->io->write(
                '<error>You are using Drupal packages that are not supported by the Drupal Security Team!</error>'
            );
            foreach ($this->unsupportedPackages as $package_name => $package) {
                $extra = $package->getExtra();
                $this->io->write(
                    "  - <comment>$package_name:{$package->getVersion()}</comment>: {$extra['drupal']['security-coverage']['message']}"
                );
            }
            $this->io->write(
                '<comment>See https://www.drupal.org/security-advisory-policy for more information.</comment>'
            );
        }
    }
public function onPostCmdEvent(\Composer\Script\Event $event)
    {
        if (!empty($this->unsupportedPackages)) {
            $this->io->write(
                '<error>You are using Drupal packages that are not supported by the Drupal Security Team!</error>'
            );
            foreach ($this->unsupportedPackages as $package_name => $package) {
                $extra = $package->getExtra();
                $this->io->write(
                    "  - <comment>$package_name:{$package->getVersion()}</comment>: {$extra['drupal']['security-coverage']['message']}"
                );
            }
            $this->io->write(
                '<comment>See https://www.drupal.org/security-advisory-policy for more information.</comment>'
            );
        }
    }
public function onPostCmdEvent ( \ Composer \ Script \ Event $ event ) { if ( ! empty ( $ this -> unsupportedPackages ) ) { $ this -> io -> write ( '<error>You are using Drupal packages that are not supported by the Drupal Security Team!</error>' ) ; foreach ( $ this -> unsupportedPackages as $ package_name => $ package ) { $ extra = $ package -> getExtra ( ) ; $ this -> io -> write ( "  - <comment>$package_name:{$package->getVersion()}</comment>: {$extra['drupal']['security-coverage']['message']}" ) ; } $ this -> io -> write ( '<comment>See https://www.drupal.org/security-advisory-policy for more information.</comment>' ) ; } }
Execute blt update after update command has been executed, if applicable.

@param \Composer\Script\Event $event
Execute blt update after update command has been executed if applicable .