minor #22748 [Intl] Fix bin/common.php PHP7 compatibility (ondrejfuhrer)

This PR was squashed before being merged into the 2.7 branch (closes #22748).

Discussion
----------

[Intl] Fix bin/common.php PHP7 compatibility

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22735
| License       | MIT

Created for Symfony 2.7 version which is the oldest maintained impacted branch.

Commits
-------

c2ccf36 [Intl] Fix bin/common.php PHP7 compatibility
This commit is contained in:
Nicolas Grekas 2017-05-20 11:41:39 +02:00
commit 628ec8118e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ function get_icu_version_from_genrb($genrb)
return $matches[1];
}
set_exception_handler(function (\Exception $exception) {
set_exception_handler(function (\Throwable $exception) {
echo "\n";
$cause = $exception;