Skip to content

Merge pull request #17 from Nejcc/perf/optimizations

35ac354
Select commit
Loading
Failed to load commit list.
Merged

Dev #18

Merge pull request #17 from Nejcc/perf/optimizations
35ac354
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 28, 2026 in 17s

Annotations

Check failure on line 16 in src/Traits/NativeArithmeticOperationsTrait.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Result is out of bounds." 10 times.

See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5udYuO6gHRgMLdBDk1&open=AZ5udYuO6gHRgMLdBDk1&pullRequest=18

Check failure on line 16 in src/Traits/BigArithmeticOperationsTrait.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Result is out of bounds." 10 times.

See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5udYuf6gHRgMLdBDk2&open=AZ5udYuf6gHRgMLdBDk2&pullRequest=18

Check failure on line 54 in src/Abstract/AbstractFloat.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Value %f is out of range for this float type. Allowed range: [%f, %f]" 5 times.

See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5udYtp6gHRgMLdBDkz&open=AZ5udYtp6gHRgMLdBDkz&pullRequest=18

Check failure on line 50 in src/Abstract/AbstractFloat.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "INF and -INF are not allowed for this float type." 5 times.

See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5udYtp6gHRgMLdBDk0&open=AZ5udYtp6gHRgMLdBDk0&pullRequest=18

Check warning on line 140 in benchmarks/IntegerBenchmark.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "$int" local variable.

See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5udYu56gHRgMLdBDk3&open=AZ5udYu56gHRgMLdBDk3&pullRequest=18

Check warning on line 173 in benchmarks/ArrayBenchmark.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "$array" local variable.

See more on https://sonarcloud.io/project/issues?id=Nejcc_php-datatypes&issues=AZ5udYvM6gHRgMLdBDk4&open=AZ5udYvM6gHRgMLdBDk4&pullRequest=18