This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Intl
Nicolas Grekas c0f0ad3039 minor #16278 Fix tests when no Intl extension (ewgRa)
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
-------

84c7567 Fix tests when no Intl extension
2015-11-05 11:18:51 +01:00
..
Collator Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
Data Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
DateFormatter Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
Exception [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
Globals Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
Locale Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
NumberFormatter Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
ResourceBundle Fix the return value on error for intl methods returning arrays 2015-07-30 16:28:34 +02:00
Resources Rely on iconv and symfony/polyfill-* 2015-10-28 03:15:07 +01:00
Tests minor #16278 Fix tests when no Intl extension (ewgRa) 2015-11-05 11:18:51 +01:00
Util [tests] Use @requires annotation when possible 2015-10-10 10:57:40 +02:00
.gitignore [Intl] Refactored Locale component into two new components Icu and Intl 2013-04-05 10:11:14 +02:00
composer.json Merge branch '2.7' into 2.8 2015-10-30 13:15:42 -07:00
CONTRIBUTING.md renamed composer.phar to composer to be consistent with the Symfony docs 2015-02-08 08:41:14 +01:00
Intl.php CS: Use "self" keyword instead of class name if possible 2015-04-01 21:28:50 +02:00
LICENSE Updated copyright to 2015 2015-01-01 13:56:52 +01:00
Locale.php [Intl] Integrated ICU data into Intl component 2014-09-26 16:16:55 +02:00
phpunit.xml.dist Merge branch '2.3' into 2.7 2015-10-11 11:39:48 +02:00
README.md Merge branch '2.7' into 2.8 2015-05-12 17:16:46 +02:00

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