Skip to content

Commit

Permalink
(#20) Update brick/math requirement from ^0.8.15 to ^0.8.15 || ^0.9.0
Browse files Browse the repository at this point in the history
* Update brick/math requirement from ^0.8.15 to ^0.8.15 || ^0.9.0

Updates the requirements on [brick/math](https://github.com/brick/math) to permit the latest version.
- [Release notes](https://github.com/brick/math/releases)
- [Commits](brick/math@0.8.15...0.9.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Test: Remove new supported formats

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Jan Barášek <[email protected]>
  • Loading branch information
dependabot-preview[bot] and janbarasek authored Oct 10, 2020
1 parent 0e4d9e5 commit f44c200
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": ">=7.2",
"ext-json": "*",
"nette/utils": "^3.0",
"brick/math": "^0.8.15",
"brick/math": "^0.8.15 || ^0.9.0",
"symfony/polyfill-php80": "^1.17"
},
"require-dev": {
Expand Down
6 changes: 0 additions & 6 deletions tests/NumbersTests/Entity/NumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,6 @@ public function testInvalidInputs()
Assert::throws(function () {
return Number::of('25....');
}, NumberFormatException::class);
Assert::throws(function () {
return Number::of('4.');
}, NumberFormatException::class);
Assert::throws(function () {
return Number::of('+4.');
}, NumberFormatException::class);
Assert::throws(function () {
return Number::of('++10/2');
}, NumberFormatException::class);
Expand Down

0 comments on commit f44c200

Please sign in to comment.