This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update composer dependencies and PHP dependencies * Adapt tests to PHPUnit 6 * Update readme file for suggesting dependency injection * Update service definition for autowire * Adapt tests for different ICU versions
- Loading branch information
Showing
14 changed files
with
104 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- nightly | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--TEST-- | ||
"currency_name" function | ||
--TEMPLATE-- | ||
{{ currency_name() == 'Euro' ? 'OK' : 'KO' }} | ||
{{ currency_name('EUR') == 'Euro' ? 'OK' : 'KO' }} | ||
{{ currency_name('USD') == 'US Dollar' ? 'OK' : 'KO' }} | ||
{{ currency_name() }} | ||
{{ currency_name('EUR') }} | ||
{{ currency_name('USD') == 'US Dollar' or currency_name('USD') == 'US-Dollar' ? 'OK' : 'KO' }} | ||
--DATA-- | ||
return array() | ||
return [] | ||
--EXPECT-- | ||
OK | ||
OK | ||
Euro | ||
Euro | ||
OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
--TEST-- | ||
"currency_symbol" function | ||
--TEMPLATE-- | ||
{{ currency_symbol() == '€' ? 'OK' : 'KO' }} | ||
{{ currency_symbol('EUR') == '€' ? 'OK' : 'KO' }} | ||
{{ currency_symbol('USD') == '$' ? 'OK' : 'KO' }} | ||
{{ currency_symbol('CHF') == 'CHF' ? 'OK' : 'KO' }} | ||
{{ currency_symbol() }} | ||
{{ currency_symbol('EUR') }} | ||
{{ currency_symbol('USD') }} | ||
{{ currency_symbol('CHF') }} | ||
--DATA-- | ||
return array() | ||
return [] | ||
--EXPECT-- | ||
OK | ||
OK | ||
OK | ||
OK | ||
€ | ||
€ | ||
$ | ||
CHF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
--TEMPLATE-- | ||
{{ currency.default }} | ||
--DATA-- | ||
return array() | ||
return [] | ||
--EXPECT-- | ||
EUR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters