From d793849bdf74917b1d1db1c85ed32c5265f44b87 Mon Sep 17 00:00:00 2001 From: Cyrill Schumacher Date: Tue, 30 Dec 2014 08:35:19 +1100 Subject: [PATCH] Naming Fix: DI compiler.php rename binary to igbinary to stay consistent with app/etc/config.php entry and naming in https://github.com/magento/magento2/blob/develop/lib%2Finternal%2FMagento%2FFramework%2FObjectManager%2FDefinitionFactory.php#L59 --- dev/tools/Magento/Tools/Di/compiler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/tools/Magento/Tools/Di/compiler.php b/dev/tools/Magento/Tools/Di/compiler.php index f838a21987b9a..6f185bc3587e6 100644 --- a/dev/tools/Magento/Tools/Di/compiler.php +++ b/dev/tools/Magento/Tools/Di/compiler.php @@ -27,7 +27,7 @@ try { $opt = new Zend_Console_Getopt( [ - 'serializer=w' => 'serializer function that should be used (serialize|binary) default = serialize', + 'serializer=w' => 'serializer function that should be used (serialize|igbinary) default: serialize', 'verbose|v' => 'output report after tool run', 'extra-classes-file=s' => 'path to file with extra proxies and factories to generate', 'generation=s' => 'absolute path to generated classes, /var/generation by default', @@ -55,7 +55,7 @@ $errorWriter = new Writer\Console(); $log = new Log($logWriter, $errorWriter); - $serializer = $opt->getOption('serializer') == 'binary' ? new Serializer\Igbinary() : new Serializer\Standard(); + $serializer = $opt->getOption('serializer') == 'igbinary' ? new Serializer\Igbinary() : new Serializer\Standard(); $validator = new \Magento\Framework\Code\Validator(); $validator->add(new \Magento\Framework\Code\Validator\ConstructorIntegrity());