Skip to content

Commit

Permalink
Merge pull request #100 from buckaroo-it/update-vendor
Browse files Browse the repository at this point in the history
update vendor
  • Loading branch information
vegimcarkaxhija authored Nov 23, 2023
2 parents f9b12c4 + ea0d46c commit 064d499
Show file tree
Hide file tree
Showing 233 changed files with 5,485 additions and 4,487 deletions.
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit01edbf89a2a31910527aa0e7dc75324b::getLoader();
return ComposerAutoloaderInit8cc69a57001ff18655c419e4501e58cd::getLoader();
40 changes: 5 additions & 35 deletions vendor/brick/math/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,11 @@

All notable changes to this project will be documented in this file.

## [0.11.0](https://github.com/brick/math/releases/tag/0.11.0) - 2023-01-16

💥 **Breaking changes**

- Minimum PHP version is now 8.0
- Methods accepting a union of types are now strongly typed<sup>*</sup>
- `MathException` now extends `Exception` instead of `RuntimeException`

<sup>* You may now run into type errors if you were passing `Stringable` objects to `of()` or any of the methods
internally calling `of()`, with `strict_types` enabled. You can fix this by casting `Stringable` objects to `string`
first.</sup>

## [0.10.2](https://github.com/brick/math/releases/tag/0.10.2) - 2022-08-11

👌 **Improvements**

- `BigRational::toFloat()` now simplifies the fraction before performing division (#73) thanks to @olsavmic

## [0.10.1](https://github.com/brick/math/releases/tag/0.10.1) - 2022-08-02

**New features**

- `BigInteger::gcdMultiple()` returns the GCD of multiple `BigInteger` numbers

## [0.10.0](https://github.com/brick/math/releases/tag/0.10.0) - 2022-06-18

💥 **Breaking changes**

- Minimum PHP version is now 7.4

## [0.9.3](https://github.com/brick/math/releases/tag/0.9.3) - 2021-08-15

🚀 **Compatibility with PHP 8.1**

- Support for custom object serialization; this removes a warning on PHP 8.1 due to the `Serializable` interface being deprecated (#60) thanks @TRowbotham
- Support for custom object serialization; this removes a warning on PHP 8.1 due to the `Serializable` interface being deprecated (thanks @TRowbotham)

## [0.9.2](https://github.com/brick/math/releases/tag/0.9.2) - 2021-01-20

Expand All @@ -46,7 +16,7 @@ first.</sup>

## [0.9.1](https://github.com/brick/math/releases/tag/0.9.1) - 2020-08-19

**New features**
✨ New features

- `BigInteger::not()` returns the bitwise `NOT` value

Expand Down Expand Up @@ -355,8 +325,8 @@ This release also comes with many performance improvements.
- `getFraction()` is renamed to `fraction()`
- `divideAndRemainder()` is renamed to `quotientAndRemainder()`
- `dividedBy()` now takes a **mandatory** `$scale` parameter **before** the rounding mode
- `toBigInteger()` does not accept a `$roundingMode` parameter anymore
- `toBigRational()` does not simplify the fraction anymore; explicitly add `->simplified()` to get the previous behaviour
- `toBigInteger()` does not accept a `$roundingMode` parameter any more
- `toBigRational()` does not simplify the fraction any more; explicitly add `->simplified()` to get the previous behaviour
- `BigRational`:
- `getSign()` is renamed to `sign()`
- `getNumerator()` is renamed to `numerator()`
Expand Down Expand Up @@ -430,7 +400,7 @@ Added `BigDecimal::divideAndRemainder()`

## [0.2.0](https://github.com/brick/math/releases/tag/0.2.0) - 2015-05-22

- `min()` and `max()` do not accept an `array` anymore, but a variable number of parameters
- `min()` and `max()` do not accept an `array` any more, but a variable number of parameters
- **minimum PHP version is now 5.6**
- continuous integration with PHP 7

Expand Down
7 changes: 4 additions & 3 deletions vendor/brick/math/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
],
"license": "MIT",
"require": {
"php": "^8.0"
"php": "^7.1 || ^8.0",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0",
"php-coveralls/php-coveralls": "^2.2",
"vimeo/psalm": "5.0.0"
"vimeo/psalm": "4.9.2"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 064d499

Please sign in to comment.