Skip to content

Commit

Permalink
Merge branch '2.0.x'
Browse files Browse the repository at this point in the history
* 2.0.x:
  Change Throwable to Exception for PHP 5.6
  Fix typo in setup documentation
  FIX - info message must be lowercase
  • Loading branch information
alcaeus committed Dec 18, 2019
2 parents 2e1d0bf + 08c3aa7 commit 0defe17
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/en/reference/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ their mapping.
.. note::

The last call to ``spl_autoload_regiter`` is necessary to autoload generated
The last call to ``spl_autoload_register`` is necessary to autoload generated
proxy classes. Without this, the proxy library would re-generate proxy
classes for every request. See the `tuning for production`_ chapter in
ProxyManager's documentation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
$dm->getHydratorFactory()->generateHydratorClasses($metadatas, $destPath);

// Outputting information message
$output->write(PHP_EOL . sprintf('Hydrator classes generated to "<info>%s</INFO>"', $destPath) . PHP_EOL);
$output->write(PHP_EOL . sprintf('Hydrator classes generated to "<info>%s</info>"', $destPath) . PHP_EOL);
} else {
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
}

// Outputting information message
$output->write(PHP_EOL . sprintf('Persistent collections classes generated to "<info>%s</INFO>"', $destPath) . PHP_EOL);
$output->write(PHP_EOL . sprintf('Persistent collections classes generated to "<info>%s</info>"', $destPath) . PHP_EOL);
} else {
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
$dm->getProxyFactory()->generateProxyClasses($metadatas);

// Outputting information message
$output->write(PHP_EOL . sprintf('Proxy classes generated to "<info>%s</INFO>"', $destPath) . PHP_EOL);
$output->write(PHP_EOL . sprintf('Proxy classes generated to "<info>%s</info>"', $destPath) . PHP_EOL);
} else {
$output->write('No Metadata Classes to process.' . PHP_EOL);
}
Expand Down

0 comments on commit 0defe17

Please sign in to comment.