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:
commit
628ec8118e
@ -68,7 +68,7 @@ function get_icu_version_from_genrb($genrb)
|
|||||||
return $matches[1];
|
return $matches[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
set_exception_handler(function (\Exception $exception) {
|
set_exception_handler(function (\Throwable $exception) {
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
||||||
$cause = $exception;
|
$cause = $exception;
|
||||||
|
Reference in New Issue
Block a user