src/Composer/GrumPHPPlugin.php
public function postPackageUpdate(PackageEvent $event)
    {
        /** @var UpdateOperation $operation */
        $operation = $event->getOperation();
        $package = $operation->getTargetPackage();

        if (!$this->guardIsGrumPhpPackage($package)) {
            return;
        }

        // Schedule init when command is completed
        $this->initScheduled = true;
    }
public function postPackageUpdate(PackageEvent $event)
    {
        /** @var UpdateOperation $operation */
        $operation = $event->getOperation();
        $package = $operation->getTargetPackage();

        if (!$this->guardIsGrumPhpPackage($package)) {
            return;
        }

        // Schedule init when command is completed
        $this->initScheduled = true;
    }
public function postPackageUpdate ( PackageEvent $ event ) { /** @var UpdateOperation $operation */ $ operation = $ event -> getOperation ( ) ; $ package = $ operation -> getTargetPackage ( ) ; if ( ! $ this -> guardIsGrumPhpPackage ( $ package ) ) { return ; } // Schedule init when command is completed $ this -> initScheduled = true ; }
When this package is updated, the git hook is also updated.
When this package is updated the git hook is also updated .