Vladimir Reznichenko
|
a182ce57fc
|
Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) (#13606)
* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed
|
8 years ago |
Nikolay Oleynikov
|
323568c2e9
|
Remove trailing spaces from sources and tests (#13621) [skip ci]
|
8 years ago |
Bizley
|
54278fc842
|
asTime fixed for time-only values
close #13348
fixes #13343
|
8 years ago |
Alexander Makarov
|
cc37cd626f
|
Fixes #12599: Fixed MSSQL fail to work with `nvarbinary`. Enhanced SQL scripts compatibility with older versions
|
8 years ago |
a.kompaniets
|
50f3012f68
|
fixed currency format with custom decimal fraction
fixes #12345
close #12648
|
8 years ago |
Carsten Brandt
|
b4b2b0e6d1
|
better docs about decimal numbers in Formatter
fixes #12520
|
8 years ago |
Anton Kozlov
|
20a411d8ab
|
Fixed #12822: Fixed datetime creation from microseconds, added tests to \i18n\Formatter::asTimestamp
|
8 years ago |
Robert Korulczyk
|
7a3a342127
|
Fix errors reported by apidoc extension. (#12986)
|
8 years ago |
Robert Korulczyk
|
450eefaa50
|
Some phpdoc fixes from scrutinizer.
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Carsten Brandt
|
31595827b1
|
fixed link in PhpMessageSource docs
https://github.com/yiisoft/yii2/pull/12409#r84586089
|
8 years ago |
Roman Grinyov
|
bbdf5186d2
|
Cosmetic changes in DocBlocks (#12815) [skip ci]
|
8 years ago |
Carsten Brandt
|
469c0548b6
|
fixed formatter to respect grouping separator for currency format
fixes #12331
|
8 years ago |
stevekr
|
8ca845b680
|
Fixes #11212: Added headers to PO file in `yii\i18n\GettextPoFile::save()`
|
8 years ago |
Nikola Kovacs
|
43fddc74c9
|
remove unnecessary gettimeofday system call
close #9628
|
8 years ago |
stevekr
|
73bc7aab71
|
Fixes #11878: Fixed i18n gettext fallback language message loading
|
8 years ago |
Carsten Brandt
|
b0bb8649a3
|
HHVM compatible fix for messageformatter error
fixes #11528
|
8 years ago |
Carsten Brandt
|
91f1ac1d99
|
fixed exception on malformed message in Messageformatter
this exception is thrown since PHP7
fix is compatible with older versions.
close #11644
fixes #11528
|
8 years ago |
Alexander Makarov
|
3b5634bf8b
|
Fixes #11863: Fixed usage of `mb_substr` with PHP < 5.4.8 where length of NULL was treated the same as 0
|
8 years ago |
Ondřej Vašíček
|
4931f3f123
|
Adds indexes on message tables which partly fixes #11725 (#11818)
* Adds indexes on message tables which partly fixes #11725
* Adds indexes on for other specific DB languages, which fixes #11725
|
8 years ago |
Artur Fursa
|
0b6169858f
|
Fix tables prefix use for i18n migrations (#11748)
|
8 years ago |
Nikola Kovacs
|
f538878142
|
remove superfluous whitespace
|
8 years ago |
Nikola Kovacs
|
9d327baa8b
|
coding style fixes
|
8 years ago |
SilverFire - Dmitry Naumenko
|
f7ff153fce
|
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()` not to log error when source and language is same, but locales are different
|
9 years ago |
Robbert Jan van de Velde
|
c7f365910d
|
Fixed handling of intervals of 0 seconds in yii\i18n\Formatter::asDuration().
Added unit tests for handling 0 second intervals and numeric values for yii\i18n\Formatter::asDuration().
Closes #11038
|
9 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
Carsten Brandt
|
645e78e832
|
fixed message formatter for input where no parameters are provided
fixes #10884
|
9 years ago |
SilverFire - Dmitry Naumenko
|
b5c52ecbae
|
PHPDoc updates
|
9 years ago |
SilverFire - Dmitry Naumenko
|
4f3adc2cb8
|
Added i18n/migration static migrations
|
9 years ago |
SilverFire - Dmitry Naumenko
|
32c424da10
|
Fixed i18n message sources to load fallback messages in a smarter way
Added migration and unit-tests for `yii\i18n\DbMessageSource`
Closes #7964
|
9 years ago |
SilverFire - Dmitry Naumenko
|
1ff847142d
|
Optimized Formatter::formatSizeNumber() - used normalizeNumericValue()
|
9 years ago |
Carsten Brandt
|
cdb7d84fea
|
added support for non-gregorian calendar to formatter
fixes #8687
close #10517
|
9 years ago |
AnatolyRugalev
|
3b31aa771a
|
#10363: Fixed i18n fallback float and integer formatting
|
9 years ago |
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
9 years ago |
Marco Germani
|
5747557794
|
Update Formatter.php
In according with the open discussion
|
9 years ago |
SilverFire - Dima Naumenko
|
a6e1ba2cf6
|
Fixed mb_ functions calls to use UTF-8 or app charset
|
9 years ago |
Marco Germani
|
53593c8ec3
|
Update Formatter.php
string type are cast to integer and have rapresentation of 2147483647 using float type instead for represent larger numbers
|
9 years ago |
SilverFire - Dima Naumenko
|
b5d95f845e
|
`Formatter::asDuration()` PHPDoc and PHPUnit test enhanced
|
9 years ago |
John Was
|
928a02c3bc
|
Added `Formatter::asDuration()` method
|
9 years ago |
Carsten Brandt
|
255eec3ddd
|
fixed typo
|
9 years ago |
Alexander Makarov
|
1b3770fd21
|
Use === instead of == where possible
|
9 years ago |
Alexander Makarov
|
4ecafe653c
|
More compact number operations
|
9 years ago |
Alexander Makarov
|
5ab4f0f090
|
Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
|
9 years ago |
jeicd
|
c2f83da8d8
|
Fix phpdoc
|
9 years ago |
jeicd
|
0407407b76
|
fix coding style to follow PSR-2
|
9 years ago |
Alexandr
|
ded75253ca
|
Change 'de' to 'en' in comments of Formatter.php
|
9 years ago |
Alexander Makarov
|
97f2fca72f
|
Fixes #9678: `I18N::format()` wasn't able to handle named placeholder in "selectordinal"
|
9 years ago |
Carsten Brandt
|
1706a9ee4f
|
updated DbMessageSource PHPdoc
fixes #9532
for deprecation see #9533
|
9 years ago |
Alexander Makarov
|
71b728225b
|
Fixes #9532: improved DbMessageSource::$cache phpdoc
|
9 years ago |
Carsten Brandt
|
60af9d07fb
|
proper fix and changelog for #9108
close #9437
fixes #9108
|
9 years ago |