<commit_before><?php
namespace TJM\Bundle\StandardEditionBundle\Composer;

// use Composer\Script\CommandEvent;
use Composer\Script\Event;

class ScriptHandler{
	protected static $symfonyStandardPostInstallCommands = Array(
		"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
	);
	protected static $symfonyStandardPostUpdateCommands = Array(
		"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
	);
	public static function runSymfonyStandardPostInstallCommands(Event $event){
		self::runCommands(self::$symfonyStandardPostInstallCommands, $event);
	}
	public static function runSymfonyStandardPostUpdateCommands(Event $event){
		self::runCommands(self::$symfonyStandardPostUpdateCommands, $event);
	}
	public static function runCommands($commands, Event $event){
		foreach($commands as $command){
			$event->getComposer()->getEventDispatcher()->dispatchCommandEvent($command, $event->isDevMode());
		}
	}
}<commit_msg>composer/scripthandler: runcommands wasn't working through composer, use `forward_static_call` !BUGFIX<commit_after><?php
namespace TJM\Bundle\StandardEditionBundle\Composer;

// use Composer\Script\CommandEvent;
use Composer\Script\Event;

class ScriptHandler{
	protected static $symfonyStandardPostInstallCommands = Array(
		"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
	);
	protected static $symfonyStandardPostUpdateCommands = Array(
		"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
		,"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
	);
	public static function runSymfonyStandardPostInstallCommands(Event $event){
		self::runCommands(self::$symfonyStandardPostInstallCommands, $event);
	}
	public static function runSymfonyStandardPostUpdateCommands(Event $event){
		self::runCommands(self::$symfonyStandardPostUpdateCommands, $event);
	}
	public static function runCommands($commands, Event $event){
		foreach($commands as $command){
			forward_static_call($command, $event);
		}
	}
}
{'fraction_non_alphanumeric': 0.12965260545905707, 'fraction_numerical': 0.0, 'mean_word_length': 7.3984375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2101902', 'n_tokens_mistral': 927, 'n_tokens_neox': 898, 'n_words': 112}