c0f0ad3039
This PR was squashed before being merged into the 2.8 branch (closes #16278).
Discussion
----------
Fix tests when no Intl extension
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
I haven't Intl extension installed and testFormatWithIntlTimeZone is fail because use \IntlTimeZone.
This PR fix it.
Commits
-------
|
||
---|---|---|
.. | ||
Collator | ||
Data | ||
DateFormatter | ||
Exception | ||
Globals | ||
Locale | ||
NumberFormatter | ||
ResourceBundle | ||
Resources | ||
Tests | ||
Util | ||
.gitignore | ||
composer.json | ||
CONTRIBUTING.md | ||
Intl.php | ||
LICENSE | ||
Locale.php | ||
phpunit.xml.dist | ||
README.md |
Intl Component
A PHP replacement layer for the C intl extension that includes additional data from the ICU library.
The replacement layer is limited to the locale "en". If you want to use other locales, you should [install the intl extension] 0 instead.
Documentation
The documentation for the component can be found [online] 1.
Resources
You can run the unit tests with the following command:
$ cd path/to/Symfony/Component/Intl/
$ composer install
$ phpunit