Skip to content

Commit

Permalink
Merge pull request #81 from buckaroo-it/update-vendor-to-allow-php-7.4
Browse files Browse the repository at this point in the history
changed vendor directory
  • Loading branch information
vegimcarkaxhija authored Oct 30, 2023
2 parents 3938666 + dfe0872 commit f329162
Show file tree
Hide file tree
Showing 414 changed files with 7,262 additions and 18,416 deletions.
20 changes: 1 addition & 19 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@

// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
}

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

return ComposerAutoloaderInit6466906dc694b40793f7449103660c84::getLoader();
return ComposerAutoloaderInit01edbf89a2a31910527aa0e7dc75324b::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
17 changes: 17 additions & 0 deletions vendor/brick/math/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Security Policy

## Supported Versions

Only the last two release streams are supported.

| Version | Supported |
| ------- | ------------------ |
| 0.9.x | :white_check_mark: |
| 0.8.x | :white_check_mark: |
| < 0.8 | :x: |

## Reporting a Vulnerability

To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.
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 f329162

Please sign in to comment.