'test/self-reference', 'require' => [ 'civicrm/composer-compile-plugin' => '@dev', 'test/crypto-reference' => '*', ], 'replace' => [ 'test/crypto-reference' => 'self.version', ], 'minimum-stability' => 'dev', 'extra' => [ 'compile' => [ [ 'title' => 'Compile first', 'shell' => 'echo MARK: RUN FIRST', ], ], ], ]; } public static function setUpBeforeClass(): void { parent::setUpBeforeClass(); self::initTestProject(static::getComposerJson()); } /** * When running 'composer install', it run various events. */ public function testComposerInstall() { $p = PH::runOk('COMPOSER_COMPILE_PASSTHRU=always COMPOSER_COMPILE=1 composer install'); $expectLines = [ "^MARK: RUN FIRST", ]; $this->assertOutputLines($expectLines, ';^MARK:;', $p->getOutput()); } } __halt_compiler();----SIGNATURE:----B4QrlEDfB2q9CrTllLzirMHTwn/bogWbBSxQCnrs1A8cC39Kz728ULvX1JvcUU72oGZPhTWdgD8ybikf8Yx6pjVfWv65TvESePGNr6Fmi/BErUA97OJ7I3hRiFirWqQHweYrhAIxN2AKQa0/QlxeSHeFKmQfBkK9ie8WW2pxgThIkPqSLbBAXI6kxzwd/1nTMfrk/0ylY8k2AHFhKnvOsfgkYjkh05GdaRTeVk1QsQ9OOsbUL/MNccVeEpGwdEKIoBSitnZmCK8m74lmyMa3Xy4khVkdm41apYuifiwcEITYNkH3dwYNLOEMHMR1Y8QTFIo7lu4lgtMbw0D92Ppo+ktj7Jw6Us1ohhhaEhaHLETX8Nx/tBk16UjHjNTafuLkCmsp0E715XUbhp+zsdqNSLUHKz74cRfsBFNBg/Ud0fsgvF+nR3gRwM9aTHymfrYz+p5BjYZQ2PaLl2NVnroGoG4p97R6KfNNG+8jP8qssZHVQEpoEqfE7L8nuaK35/fnwsj6tbvVUC/q7PtfN3VYYwGvAuS7WhGQKnfKBgrZoZgJLxwzunEaO1lwv0Iz0slEzXZrpFNDn6IPFtZ2dV7B0iTfUQmkuFs8DwimBVzYAfnAKiUJaYZAjkRLmqfPcX1FyxLYIzLUrzdqn0jL8cm30Dbkm6v0NEtBqSESwwPMhUQ=----ATTACHMENT:----NDQ0MTYzMDYyMzU0MTMzNyAxNTc4ODA4NTQwODEwMDg4IDUzODA5NTkwNzU1MTQwMTc=