Christian Flothmann
367ed3ce85
compare version using PHP_VERSION_ID
...
To let opcode caches optimize cached code, the `PHP_VERSION_ID`
constant is used to detect the current PHP version instead of calling
`version_compare()` with `PHP_VERSION`.
2014-11-17 17:27:42 +01:00
Disquedur
51312d31cc
Remove aligned '=>' and '='
2014-10-26 08:30:58 +01:00
Bernhard Schussek
b45ebef229
[Intl] FIxed failing test
2014-09-30 23:25:54 +02:00
Bernhard Schussek
65a8b9fc93
[Intl] Generated the data for ICU version 54-rc
2014-09-30 23:21:31 +02:00
Bernhard Schussek
be819c162f
[Intl] Integrated ICU data into Intl component
2014-09-26 16:16:55 +02:00
Fabien Potencier
369aebf431
fixed CS
2014-09-22 10:32:35 +02:00
Bernhard Schussek
c3cce5c694
[Intl] Improved bundle reader implementations
2014-09-15 22:29:25 +02:00
Bernhard Schussek
d35fd52b7a
bug #11906 [Intl] Fixed a few bugs in TextBundleWriter (webmozart)
...
This PR was merged into the 2.3 branch.
Discussion
----------
[Intl] Fixed a few bugs in TextBundleWriter
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
See the included test cases for more information. This code was extracted from #9206 .
Commits
-------
7b4a35a
[Intl] Fixed a few bugs in TextBundleWriter
2014-09-15 20:17:36 +02:00
Bernhard Schussek
ef5bdb2afa
minor #11913 [Intl] Updated icu.ini up to ICU 53 (webmozart)
...
This PR was merged into the 2.3 branch.
Discussion
----------
[Intl] Updated icu.ini up to ICU 53
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Extracted from #9206 .
Commits
-------
260e2fe
[Intl] Updated icu.ini up to ICU 53
2014-09-12 15:41:47 +02:00
Bernhard Schussek
9052efc499
[Intl] Added exception handler to command line scripts
2014-09-12 15:40:41 +02:00
Bernhard Schussek
7b4a35a844
[Intl] Fixed a few bugs in TextBundleWriter
2014-09-12 13:27:08 +02:00
Bernhard Schussek
260e2fe172
[Intl] Updated icu.ini up to ICU 53
2014-09-12 13:10:21 +02:00
Bernhard Schussek
5feda5e9a6
[Intl] Removed non-working $fallback argument from ArrayAccessibleResourceBundle
2014-09-11 18:28:58 +02:00
Bernhard Schussek
7fd5e8b201
[Intl] Added "internal" tag to all classes under Symfony\Component\Intl\ResourceBundle
...
We didn't have this tag yet when this component was first written. The code in that
namespace is only used for resource bundle generation and was never meant for public
use.
2014-09-09 16:20:39 +02:00
Fabien Potencier
abf2edf81a
minor #11483 fix some docblocks (xabbuh)
...
This PR was merged into the 2.3 branch.
Discussion
----------
fix some docblocks
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
1775da5
fix some docblocks
2014-08-02 09:53:48 +02:00
Christian Flothmann
1775da5925
fix some docblocks
2014-08-02 08:27:27 +02:00
Christian Flothmann
9cd059ee1f
remove unused imports
2014-07-26 20:24:56 +02:00
Christian Raue
afc4930900
removed defaults from PHPUnit configuration
2014-07-07 12:13:42 +02:00
Christian Raue
84b5581521
added XSD to PHPUnit configuration
2014-07-07 11:57:21 +02:00
Fabien Potencier
5b72e5ab04
minor #10717 unified return null usages (fabpot)
...
This PR was merged into the 2.3 branch.
Discussion
----------
unified return null usages
| Q | A
| ------------- | ---
| License | MIT
This PR unifies the way we return `null` from a function or method:
* always use `return;` instead of `return null;` (the current code base uses both);
* never use `return;` at the end of a function/method.
Commits
-------
d1d569b
unified return null usages
2014-04-18 22:35:25 +02:00
Fabien Potencier
e96b018805
fixed types in phpdocs
2014-04-16 12:30:19 +02:00
Fabien Potencier
d1d569bf7b
unified return null usages
2014-04-16 09:43:51 +02:00
Fabien Potencier
d56ea768cc
minor #10713 made {@inheritdoc} annotations consistent across the board (fabpot)
...
This PR was merged into the 2.3 branch.
Discussion
----------
made {@inheritdoc} annotations consistent across the board
| Q | A
| ------------- | ---
| License | MIT
Commits
-------
810b9ed
made {@inheritdoc} annotations consistent across the board
2014-04-16 09:04:52 +02:00
Fabien Potencier
810b9ed107
made {@inheritdoc} annotations consistent across the board
2014-04-16 09:04:20 +02:00
Fabien Potencier
a693545324
fixed types in phpdocs
2014-04-16 08:51:57 +02:00
Fabien Potencier
3c9c10f3a0
made phpdoc types consistent with those defined in Hack
2014-04-15 07:41:45 +02:00
Fabien Potencier
0555b7f2ab
made types consistent with those defined in Hack
2014-04-13 20:00:14 +02:00
Fabien Potencier
f50b2c59d5
bug #10697 [Translation] Make IcuDatFileLoader/IcuResFileLoader::load invalid resource compatible with HHVM. (idn2104)
...
This PR was squashed before being merged into the 2.3 branch (closes #10697 ).
Discussion
----------
[Translation] Make IcuDatFileLoader/IcuResFileLoader::load invalid resource compatible with HHVM.
[Translation] HHVM throws when an invalid ResourceBundle is constructed, while zend returns FALSE from the constructor. This patch makes IcuResFileLoader and IcuDatFileLoader compatible with HHVM.
The following tests now pass on HHVM:
https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php#L33
https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php#L54
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | N/A
| License | MIT
| Doc PR | N/A
Commits
-------
9bc08c0
[Translation] Make IcuDatFileLoader/IcuResFileLoader::load invalid resource compatible with HHVM.
2014-04-12 17:24:40 +02:00
Ioan Negulescu
9bc08c0279
[Translation] Make IcuDatFileLoader/IcuResFileLoader::load invalid resource compatible with HHVM.
2014-04-12 17:24:34 +02:00
Fabien Potencier
9e6af955f5
fixed float comparison in unit tests for HHVM
2014-03-30 09:33:31 +02:00
Fabien Potencier
eb3f6c6efb
fixed various inconsistencies
2014-02-11 11:29:24 +01:00
Dave Hulbert
d4e32c62f5
Fix for a couple of undefined classes in docblocks
2014-01-10 15:42:33 +01:00
Luis Cordova
8ace5f9f0d
update year on licenses
2014-01-07 08:19:25 -05:00
Fabien Potencier
7f9a366529
removed unneeded use statements
2014-01-01 08:52:14 +01:00
Kamil Kokot
dbb7e78af1
Skips test that need full lib-intl.
2013-12-30 07:16:13 +01:00
Fabien Potencier
35b407f016
fixed CS for lambdas
2013-12-28 08:46:05 +01:00
Fabien Potencier
2f15ac7507
fixed various typos
2013-12-27 16:08:19 +01:00
Luis Cordova
47a822de07
add memcache, memcached, and mongodb extensions to run skipped tests
2013-12-22 09:51:57 -05:00
Fabien Potencier
3062681110
fixed CS
2013-12-12 17:08:59 +01:00
Fabien Potencier
21fa63532e
bug #9352 [Intl] make currency bundle merge fallback locales when accessing data, ... (shieldo)
...
This PR was merged into the 2.3 branch.
Discussion
----------
[Intl] make currency bundle merge fallback locales when accessing data, ...
...allowing use of country-specific locales
Fixes #9262 .
Commits
-------
edc287b
[Intl] make currency bundle merge fallback locales when accessing data, allowing use of country-specific locales
2013-11-21 07:11:51 +01:00
Andrey Esaulov
056d83646f
[Intl] fixed datetime test as described in #9455
2013-11-14 12:38:26 +01:00
Douglas Greenshields
edc287bc5b
[Intl] make currency bundle merge fallback locales when accessing data, allowing use of country-specific locales
2013-10-20 17:06:39 +01:00
Fabien Potencier
775a39c5c3
Merge branch '2.2' into 2.3
...
* 2.2:
[Locale] added support for the position argument to NumberFormatter::parse()
[Locale] added some more stubs for the number formatter
[Yaml] fixed typo
[Yaml] fixed a test on PHP < 5.4
[DomCrawler]Crawler guess charset from html
fixed PHP 5.3 compatibility
[Yaml] reverted previous merge partially (refs #8897 )
[Security] remove unused logger
[Security] fix typo
[Yaml] Fixed filename in the ParseException message
Conflicts:
src/Symfony/Component/Console/Input/InputDefinition.php
src/Symfony/Component/Locale/Stub/StubNumberFormatter.php
src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php
2013-09-22 20:04:39 +02:00
Douglas Greenshields
52d8676399
[Intl] made RegionBundle and LanguageBundle merge fallback data when using a country-specific locale
2013-08-27 11:55:04 +01:00
Bernhard Schussek
e1f40f28c5
[Locale] Fixed: Locale::setDefault() throws no exception when "en" is passed
...
Conflicts:
src/Symfony/Component/Locale/Stub/StubLocale.php
src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php
2013-08-24 16:32:55 +02:00
Bernhard Schussek
8fa0453cfc
[Intl] Updated stubs to reflect ICU 51.2
2013-08-06 15:22:18 +02:00
Jörn Lang
d1e571004d
Fixes link indices
2013-08-01 14:40:45 +02:00
Fabien Potencier
4efac29ba2
merged branch fabpot/removed-unused-code (PR #8440 )
...
This PR was merged into the 2.3 branch.
Discussion
----------
removed unused code
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
c60bdf5
removed unused code
2013-07-08 15:00:35 +02:00
Fabien Potencier
4c0bfd3313
fixed CS
2013-07-01 14:24:43 +02:00
Fabien Potencier
c60bdf5459
removed unused code
2013-06-26 10:36:28 +02:00
Jakub Zalas
349218692e
[Intl] Fixed tests failing on PHP 5.5
2013-06-21 09:19:25 +01:00
Jakub Zalas
a39db7b9d2
[Intl] Fixed the class namespaces in the @covers annotations.
2013-05-18 13:21:22 +02:00
Bernhard Schussek
f3af8c2dfd
Bumped Icu dependency to RC
2013-05-16 11:48:58 +02:00
Fabien Potencier
e6d7b126b1
added missing license blocks
2013-04-22 06:31:56 +02:00
Pascal Borreli
0a12fd619e
Fixed typos
2013-04-21 13:23:54 +00:00
Bernhard Schussek
9551932e3b
[Intl] Removed obsolete classes
2013-04-20 16:41:53 +02:00
Bernhard Schussek
b4cccfd9b6
[Intl] Removed "Stub" prefix from stub classes
2013-04-11 11:28:48 +02:00
Bernhard Schussek
60f31d1004
[Intl] Improved inline documentation
2013-04-11 11:19:17 +02:00
Bernhard Schussek
c2d37e6291
[Intl] Improved error messages in the build scripts
2013-04-05 12:37:05 +02:00
Bernhard Schussek
1249f0165b
[Intl] Added scripts to test the compatibility of various versions of symfony/icu with the ICU version installed on the system
2013-04-05 12:06:54 +02:00
Bernhard Schussek
9dbafd7aff
[Intl] Split update-stubs.php script into two scripts to function with the changed Icu component versioning
2013-04-05 10:14:38 +02:00
Bernhard Schussek
e2c11cb81a
[Intl] Added a check for the ICU data version to IntlTestHelper to prevent the stub class tests from failing
2013-04-05 10:14:38 +02:00
Bernhard Schussek
427d24a7a7
[Intl] Outsourced bundle reader creation to Icu component
2013-04-05 10:14:38 +02:00
Bernhard Schussek
0160fd5c74
[Intl] Moved stub data to Icu component 1.0.x
2013-04-05 10:14:38 +02:00
Bernhard Schussek
dbca3b7696
[Intl] Added empty directory needed for the tests
2013-04-05 10:14:38 +02:00
Bernhard Schussek
a717ce9dc2
[Intl] Removed ICU version comparisons from the tests
2013-04-05 10:14:38 +02:00
Bernhard Schussek
5d17de545b
[Intl] Fixed version comparisons in the transformation rules
2013-04-05 10:14:38 +02:00
Bernhard Schussek
470927d99e
[Intl] Improved build scripts
2013-04-05 10:14:38 +02:00
Bernhard Schussek
9d9c38996c
[Intl] Simplified tests
2013-04-05 10:11:16 +02:00
Bernhard Schussek
c55c4a26fe
[Intl] Only the StubNumberFormatterTest requires stub data
2013-04-05 10:11:16 +02:00
Bernhard Schussek
17a480b285
[Intl] Added IntlTestHelper class for convenience
2013-04-05 10:11:16 +02:00
Bernhard Schussek
f6b75b9de8
[Intl] Changed composer.json to disallow future versions of the Icu component
2013-04-05 10:11:16 +02:00
Bernhard Schussek
080c88040d
[Intl] Bumped the stub version to 50.1.2
2013-04-05 10:11:16 +02:00
Bernhard Schussek
dd2d013d6e
[Intl] Improved the bundle compilation process
2013-04-05 10:11:16 +02:00
Bernhard Schussek
f47e60a6c6
[Intl] Fixed small bugs in the resource bundle transformation
2013-04-05 10:11:15 +02:00
Bernhard Schussek
467cc93447
[Intl] Fixed various problems in the resource compilation process
2013-04-05 10:11:15 +02:00
Bernhard Schussek
4a5c453266
[Intl] Moved the content of the README file to symfony/symfony-docs
2013-04-05 10:11:15 +02:00
Bernhard Schussek
9899de79ba
[Intl] Updated the README
2013-04-05 10:11:15 +02:00
Bernhard Schussek
bfec58a675
[Intl] Fixed flawed PHPDoc
2013-04-05 10:11:15 +02:00
Bernhard Schussek
21323ba2a2
[Intl] Updated the README file
2013-04-05 10:11:15 +02:00
Bernhard Schussek
2cd1be8df3
[Intl] Made the $locale parameter optional in the bundle interfaces
2013-04-05 10:11:15 +02:00
Bernhard Schussek
b9e9cb27b9
[Intl] Added autoload.php which was ignored by .gitignore
2013-04-05 10:11:15 +02:00
Bernhard Schussek
838798f2f3
[Intl] Removed method IntlTestCase::skipIfInsufficientIcuVersion()
2013-04-05 10:11:15 +02:00
Bernhard Schussek
dde1d3462f
[Intl] Changed Intl::getIcuVersion() to return the stub version if the intl extension is not loaded
2013-04-05 10:11:14 +02:00
Pascal Borreli
5d0b849fc5
Fixed PHPDoc
2013-04-05 10:11:14 +02:00
Bernhard Schussek
b60866c8ab
[Intl] Changed Intl::getStubIcuVersion() to Intl::getIcuStubVersion()
2013-04-05 10:11:14 +02:00
Bernhard Schussek
5917a2e0cb
[Intl] Refactored Locale component into two new components Icu and Intl
2013-04-05 10:11:14 +02:00