Skip to content

Commit

Permalink
Naming Fix: DI compiler.php rename binary to igbinary to stay consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
SchumacherFM committed Dec 29, 2014
1 parent e4b6347 commit d793849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tools/Magento/Tools/Di/compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, <magento_root>/var/generation by default',
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit d793849

Please sign in to comment.