-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
1,236 additions
and
1,003 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,6 +1,5 @@ | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
changelog.md export-ignore | ||
tests/ export-ignore | ||
*.sh eol=lf |
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 was deleted.
Oops, something went wrong.
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,30 @@ | ||
# Changelog | ||
|
||
## v7.0 | ||
|
||
- your temporary rate implement by own RatingList | ||
- custom driver must be to use in Builder, see to ExchangeFactory | ||
- cache is implemented by PSR-6 | ||
- remove dependency on Guzzle, PSR-7, PRS-17 and PSR-18 ready | ||
- remove dependency on h4kuna/data-type, nette/safe-stream, nette/utils | ||
- access for currency use RatingList instead of Exchange, Exchange::getRatingList()['EUR'] | ||
- support php 8.0+ | ||
- the methods that are preserved are the same prototype and behavior | ||
- CookieManager moved [this extension](//github.com/h4kuna/exchange-nette) | ||
|
||
|
||
## v6.0 | ||
|
||
- support php 7.1+ | ||
- use type hints | ||
- api is same like v5.0 | ||
|
||
|
||
## v5.0 | ||
|
||
Dependency on Nette framework was removed, If you want, follow [this extension](//github.com/h4kuna/exchange-nette). Minimal php is 5.5+. Api is changed, not compatible with older version. | ||
|
||
|
||
## v4.0 | ||
|
||
Here is [older version](//github.com/h4kuna/exchange/tree/v4.2.2). |
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 |
---|---|---|
@@ -0,0 +1,84 @@ | ||
parameters: | ||
level: max | ||
paths: | ||
- src | ||
- tests/src | ||
bootstrapFiles: | ||
- tests/bootstrap.php | ||
ignoreErrors: | ||
- | ||
message: "#^Variable property access on \\$this\\(h4kuna\\\\Exchange\\\\Currency\\\\Property\\)\\.$#" | ||
count: 1 | ||
path: src/Currency/Property.php | ||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\ExchangeFactory\\:\\:getDriver\\(\\) return type with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/ExchangeFactory.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\ExchangeFactory\\:\\:setDriver\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/ExchangeFactory.php | ||
|
||
- | ||
message: "#^Property h4kuna\\\\Exchange\\\\ExchangeFactory\\:\\:\\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/ExchangeFactory.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\Builder\\:\\:create\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/Builder.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListBuilder\\:\\:countTTL\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListBuilder.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListBuilder\\:\\:create\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListBuilder.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListCache\\:\\:create\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListCache.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListCache\\:\\:createKey\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListCache.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListCache\\:\\:criticalSection\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListCache.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListCache\\:\\:driverName\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListCache.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListCache\\:\\:flush\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListCache.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListCache\\:\\:tryCreateCriticalSection\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListCache.php | ||
|
||
- | ||
message: "#^Method h4kuna\\\\Exchange\\\\RatingList\\\\RatingListLongProcess\\:\\:__construct\\(\\) has parameter \\$driver with generic class h4kuna\\\\Exchange\\\\Driver\\\\Driver but does not specify its types\\: T$#" | ||
count: 1 | ||
path: src/RatingList/RatingListLongProcess.php | ||
|
||
- | ||
message: "#^Expression \"\\$ratingList\\['qwe'\\]\" on a separate line does not do anything\\.$#" | ||
count: 1 | ||
path: tests/src/RatingList/RatingListTest.php | ||
|
||
includes: | ||
- vendor/phpstan/phpstan-strict-rules/rules.neon |
Oops, something went wrong.