Intermediate commit that includes a lot of refactoring as part of per… #56
Annotations
10 errors and 1 warning
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticHelperSimpleTrait.php (in context of class Samsara/Fermat/Core/Types/Decimal)#L86
PHPDoc tag @return with type static(Samsara\Fermat\Core\Types\Decimal) is incompatible with native type array.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticHelperSimpleTrait.php (in context of class Samsara/Fermat/Core/Types/Decimal)#L158
PHPDoc tag @return with type Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Core\Values\ImmutableDecimal is incompatible with native type array|string.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticHelperSimpleTrait.php (in context of class Samsara/Fermat/Core/Types/Fraction)#L86
PHPDoc tag @return with type static(Samsara\Fermat\Core\Types\Fraction) is incompatible with native type array.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticHelperSimpleTrait.php (in context of class Samsara/Fermat/Core/Types/Fraction)#L158
PHPDoc tag @return with type Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Core\Values\ImmutableDecimal is incompatible with native type array|string.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticInternalTrait.php (in context of class Samsara/Fermat/Core/Types/Decimal)#L28
Method Samsara\Fermat\Core\Types\Decimal::addInternal() should return Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|Samsara\Fermat\Core\Values\ImmutableDecimal|Samsara\Fermat\Core\Values\ImmutableFraction|Samsara\Fermat\Core\Values\MutableDecimal|Samsara\Fermat\Core\Values\MutableFraction|static(Samsara\Fermat\Core\Types\Decimal) but returns Samsara\Fermat\Complex\Types\ComplexNumber|Samsara\Fermat\Core\Types\Decimal|Samsara\Fermat\Core\Types\Fraction.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticInternalTrait.php (in context of class Samsara/Fermat/Core/Types/Decimal)#L42
Method Samsara\Fermat\Core\Types\Decimal::subtractInternal() should return Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|Samsara\Fermat\Core\Values\ImmutableDecimal|Samsara\Fermat\Core\Values\ImmutableFraction|Samsara\Fermat\Core\Values\MutableDecimal|Samsara\Fermat\Core\Values\MutableFraction|static(Samsara\Fermat\Core\Types\Decimal) but returns Samsara\Fermat\Complex\Types\ComplexNumber|Samsara\Fermat\Core\Types\Decimal|Samsara\Fermat\Core\Types\Fraction.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticInternalTrait.php (in context of class Samsara/Fermat/Core/Types/Fraction)#L28
Method Samsara\Fermat\Core\Types\Fraction::addInternal() should return Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|Samsara\Fermat\Core\Values\ImmutableDecimal|Samsara\Fermat\Core\Values\ImmutableFraction|Samsara\Fermat\Core\Values\MutableDecimal|Samsara\Fermat\Core\Values\MutableFraction|static(Samsara\Fermat\Core\Types\Fraction) but returns Samsara\Fermat\Complex\Types\ComplexNumber|Samsara\Fermat\Core\Types\Decimal|Samsara\Fermat\Core\Types\Fraction.
|
src/Samsara/Fermat/Core/Types/Base/Traits/ArithmeticInternalTrait.php (in context of class Samsara/Fermat/Core/Types/Fraction)#L42
Method Samsara\Fermat\Core\Types\Fraction::subtractInternal() should return Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|Samsara\Fermat\Core\Values\ImmutableDecimal|Samsara\Fermat\Core\Values\ImmutableFraction|Samsara\Fermat\Core\Values\MutableDecimal|Samsara\Fermat\Core\Values\MutableFraction|static(Samsara\Fermat\Core\Types\Fraction) but returns Samsara\Fermat\Complex\Types\ComplexNumber|Samsara\Fermat\Core\Types\Decimal|Samsara\Fermat\Core\Types\Fraction.
|
src/Samsara/Fermat/Core/Types/Traits/CalculationModeTrait.php (in context of class Samsara/Fermat/Complex/Types/ComplexNumber)#L140
Call to protected method addInternal() of class Samsara\Fermat\Core\Types\Fraction.
|
src/Samsara/Fermat/Core/Types/Traits/CalculationModeTrait.php (in context of class Samsara/Fermat/Complex/Types/ComplexNumber)#L141
Call to protected method subtractInternal() of class Samsara\Fermat\Core\Types\Fraction.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading