Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 42c8de8

Browse files
committed
Fix regression in PHP 5.3
1 parent 21355a5 commit 42c8de8

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.scrutinizer.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
tools:
22
external_code_coverage:
3-
timeout: 900
3+
timeout: 900
4+
php_mess_detector: true
5+
php_pdepend: true
6+
php_cpd: true
7+
php_hhvm: true
8+
php_cs_fixer:
9+
config: { level: psr2 }

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ php-bignumbers
22
==============
33

44
A robust library to handle immutable big numbers inside PHP applications
5-
The current stable version is 0.5.0. [![Donate](https://dl.dropboxusercontent.com/u/487440/reformal/donate.png "Donate")](https://www.gittip.com/castarco/)
5+
The current stable version is 0.5.1. [![Donate](https://dl.dropboxusercontent.com/u/487440/reformal/donate.png "Donate")](https://www.gittip.com/castarco/)
66

77

88
Status Label | Status Value
99
--------------|-------------
10-
Build | [![Build Status](https://api.travis-ci.org/Litipk/php-bignumbers.png?tag=0.5.0)](https://travis-ci.org/Litipk/php-bignumbers)
11-
Coverage (from Coveralls): | [![Coverage Status](https://coveralls.io/repos/Litipk/php-bignumbers/badge.png?tag=0.5.0)](https://coveralls.io/r/Litipk/php-bignumbers?branch=master)
10+
Build | [![Build Status](https://api.travis-ci.org/Litipk/php-bignumbers.png?tag=0.5.1)](https://travis-ci.org/Litipk/php-bignumbers)
11+
Coverage (from Coveralls): | [![Coverage Status](https://coveralls.io/repos/Litipk/php-bignumbers/badge.png?tag=0.5.1)](https://coveralls.io/r/Litipk/php-bignumbers?branch=master)
1212
Coverage (from Scrutinizer): | [![Code Coverage](https://scrutinizer-ci.com/g/Litipk/php-bignumbers/badges/coverage.png?s=58936d9334e7fc2413a43ad6cf1c7c1577f1f39c)](https://scrutinizer-ci.com/g/Litipk/php-bignumbers/)
1313
Code Quality: | [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/Litipk/php-bignumbers/badges/quality-score.png?s=be17bc4bbe3233a45a7d4db39ed8c10e77bcd3fb)](https://scrutinizer-ci.com/g/Litipk/php-bignumbers/)
1414
Dependencies: | [![Dependency Status](https://www.versioneye.com/user/projects/52cc91c6ec13754970000275/badge.png)](https://www.versioneye.com/user/projects/52cc91c6ec13754970000275)
@@ -28,7 +28,7 @@ composer.json file the following text:
2828
```json
2929
{
3030
"require": {
31-
"litipk/php-bignumbers": "0.5.0"
31+
"litipk/php-bignumbers": "0.5.1"
3232
}
3333
}
3434
```

src/Decimal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ private static function computeSquareIndex ($exponent_remaining, $actual_index,
752752
$r = bcsub($exponent_remaining, $actual_rt, $inner_scale);
753753
}
754754

755-
return [$actual_index, $r];
755+
return array($actual_index, $r);
756756
}
757757

758758
/**

0 commit comments

Comments
 (0)