Allow brick math 0.15 and 0.16 #633
Open
Annotations
10 errors and 1 warning
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L154
Static property Ramsey\Uuid\Math\BrickMathCalculator::$roundingModeMap (array<int, Brick\Math\RoundingMode::Ceiling|Brick\Math\RoundingMode::Down|Brick\Math\RoundingMode::Floor|Brick\Math\RoundingMode::HalfCeiling|Brick\Math\RoundingMode::HalfDown|Brick\Math\RoundingMode::HalfEven|Brick\Math\RoundingMode::HalfFloor|Brick\Math\RoundingMode::HalfUp|Brick\Math\RoundingMode::Unnecessary|Brick\Math\RoundingMode::Up>|null) does not accept array<int, mixed>.
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L120
Possibly impure call to method Throwable::getCode() in pure method Ramsey\Uuid\Math\BrickMathCalculator::toBase().
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L119
Possibly impure call to method Throwable::getMessage() in pure method Ramsey\Uuid\Math\BrickMathCalculator::toBase().
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L116
Parameter #1 $base of method Brick\Math\BigInteger::toBase() expects int<2, 36>, int given.
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L107
Possibly impure call to method Throwable::getCode() in pure method Ramsey\Uuid\Math\BrickMathCalculator::fromBase().
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L106
Possibly impure call to method Throwable::getMessage() in pure method Ramsey\Uuid\Math\BrickMathCalculator::fromBase().
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L103
Parameter #2 $base of static method Brick\Math\BigInteger::fromBase() expects int<2, 36>, int given.
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L103
Parameter #1 $number of static method Brick\Math\BigInteger::fromBase() expects non-empty-string, string given.
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L87
Parameter #2 $scale of method Brick\Math\BigDecimal::dividedBy() expects int<0, max>, int given.
|
|
Statically analyze code (PHPStan):
src/Math/BrickMathCalculator.php#L37
`@readonly` property cannot have a default value.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading