Skip to content

Commit 7701180

Browse files
committed
Add clear cache and postAutoloadDump to composer package install hooks
1 parent 3489723 commit 7701180

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

application/composer.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,20 @@
6565
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
6666
],
6767
"post-install-cmd": [
68+
"ComposerBootstrap::clearCache",
6869
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
6970
"ComposerBootstrap::installAssets",
7071
"ComposerBootstrap::prepareBinaries",
71-
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
72+
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
73+
"ComponentInstaller\\Installer::postAutoloadDump"
7274
],
7375
"post-update-cmd": [
76+
"ComposerBootstrap::clearCache",
7477
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
7578
"ComposerBootstrap::installAssets",
7679
"ComposerBootstrap::prepareBinaries",
77-
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
80+
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
81+
"ComponentInstaller\\Installer::postAutoloadDump"
7882
],
7983
"update-assets":[
8084
"ComposerBootstrap::installAssets",

0 commit comments

Comments
 (0)