From 301a1d33ebc433be0edd863dddb31caf43cd2fc6 Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Sat, 28 Jun 2014 15:02:59 +0200 Subject: [PATCH] Removed the `scripts` field on composer config The `scripts` field is useless on a library package. From the composer documentation v1.0: > Note: Only scripts defined in the root package's `composer.json` are > executed. If a dependency of the root package specifies its own scripts, > Composer does not execute those additional scripts. --- composer.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/composer.json b/composer.json index 7aff066..0132ade 100644 --- a/composer.json +++ b/composer.json @@ -39,13 +39,5 @@ "branch-alias": { "dev-master": "6.x-dev" } - }, - "scripts": { - "post-install-cmd": [ - "FM\\BbcodeBundle\\Composer\\ScriptHandler::installEmoticons" - ], - "post-update-cmd": [ - "FM\\BbcodeBundle\\Composer\\ScriptHandler::installEmoticons" - ] } }