Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 5d67f45

Browse files
committed
updated VENDORS for 2.3.31
1 parent a723390 commit 5d67f45

File tree

2 files changed

+63
-52
lines changed

2 files changed

+63
-52
lines changed

app/SymfonyRequirements.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,15 +625,15 @@ class_exists('Locale'),
625625
'Install and enable the <strong>intl</strong> extension (used for validators).'
626626
);
627627

628-
if (class_exists('Collator')) {
628+
if (extension_loaded('intl')) {
629+
// in some WAMP server installations, new Collator() returns null
629630
$this->addRecommendation(
630631
null !== new Collator('fr_FR'),
631632
'intl extension should be correctly configured',
632633
'The intl extension does not behave properly. This problem is typical on PHP 5.3.X x64 WIN builds.'
633634
);
634-
}
635635

636-
if (class_exists('Locale')) {
636+
// check for compatible ICU versions (only done when you have the intl extension)
637637
if (defined('INTL_ICU_VERSION')) {
638638
$version = INTL_ICU_VERSION;
639639
} else {
@@ -652,6 +652,14 @@ class_exists('Locale'),
652652
'intl ICU version should be at least 4+',
653653
'Upgrade your <strong>intl</strong> extension with a newer ICU version (4+).'
654654
);
655+
656+
$this->addPhpIniRecommendation(
657+
'intl.error_level',
658+
create_function('$cfgValue', 'return (int) $cfgValue === 0;'),
659+
true,
660+
'intl.error_level should be 0 in php.ini',
661+
'Set "<strong>intl.error_level</strong>" to "<strong>0</strong>" in php.ini<a href="#phpini">*</a> to inhibit the messages when an error occurs in ICU functions.'
662+
);
655663
}
656664

657665
$accelerator =

composer.lock

Lines changed: 52 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)