Skip to content
Snippets Groups Projects
Commit 3fd135eb authored by maksek's avatar maksek
Browse files

Merge pull request #880 from SchumacherFM/diCompilerNaming

Naming Fix: DI compiler.php rename binary to igbinary to stay consistent (MAGETWO-32331)
parents a545a9a4 d793849b
Branches
No related merge requests found
......@@ -27,7 +27,7 @@ $codeScanDir = realpath($rootDir . '/app');
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',
......@@ -55,7 +55,7 @@ try {
$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());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment