File tree 4 files changed +19
-8
lines changed
4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 27
27
php-version : ${{ matrix.php-version }}
28
28
extensions : ${{ env.PHP_EXTENSIONS }}
29
29
tools : composer:v1
30
+ ini-values : zend.assertions=1
30
31
31
32
- name : Get Composer Cache Directory
32
33
id : composer-cache
Original file line number Diff line number Diff line change @@ -16,7 +16,13 @@ Security - in case of vulnerabilities.
16
16
17
17
## [ Unreleased]
18
18
19
- ## 1.2.0 (2021-10-08)
19
+ ## 1.2.1 (2021-10-08)
20
+
21
+ ### Changed
22
+
23
+ + Fix construction of ` Currency ` .
24
+
25
+ ## 1.2.0 (2021-10-08) [ YANKED]
20
26
21
27
### Changed
22
28
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : noNamespaceSchemaLocation =" https://schema. phpunit.de/6.4 /phpunit.xsd"
3
+ xsi : noNamespaceSchemaLocation =" vendor/ phpunit/phpunit /phpunit.xsd"
4
4
bootstrap =" vendor/autoload.php"
5
+ cacheResultFile =" .phpunit.cache/test-results"
6
+ executionOrder =" depends,defects"
7
+ convertDeprecationsToExceptions =" true"
5
8
colors =" true"
6
9
failOnRisky =" true"
7
10
failOnWarning =" true"
8
11
beStrictAboutChangesToGlobalState =" true"
9
12
beStrictAboutOutputDuringTests =" true"
10
13
beStrictAboutResourceUsageDuringSmallTests =" true"
14
+ beStrictAboutCoversAnnotation =" true"
15
+ beStrictAboutTodoAnnotatedTests =" true"
11
16
backupGlobals =" true"
12
17
verbose =" true" >
13
18
<testsuites >
16
21
</testsuite >
17
22
</testsuites >
18
23
19
- <filter >
20
- <whitelist processUncoveredFilesFromWhitelist =" true" >
24
+ <coverage cacheDirectory =" .phpunit.cache/code-coverage"
25
+ processUncoveredFiles =" true" >
26
+ <include >
21
27
<directory suffix =" .php" >src</directory >
22
- </whitelist >
23
- </filter >
28
+ </include >
29
+ </coverage >
24
30
25
31
<php >
26
32
<ini name =" error_reporting" value =" -1" />
Original file line number Diff line number Diff line change @@ -1570,8 +1570,6 @@ public function __construct(string $currencyCode)
1570
1570
self ::$ currencies [$ currencyCode ]['default_fraction_digits ' ],
1571
1571
self ::$ currencies [$ currencyCode ]['sub_unit ' ],
1572
1572
self ::$ currencies [$ currencyCode ]['sign ' ],
1573
- self ::$ currencies [$ currencyCode ]['pretty_print_format ' ],
1574
- self ::$ currencies [$ currencyCode ]['negative_pretty_print_format ' ],
1575
1573
self ::$ currencies [$ currencyCode ]['deprecated ' ],
1576
1574
));
1577
1575
You can’t perform that action at this time.
0 commit comments