-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rudi Theunissen
committed
Jan 20, 2024
1 parent
e1d27d3
commit 9b4d6f4
Showing
9 changed files
with
41 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
language: php | ||
|
||
php: | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
- 8.0 | ||
- 8.1 | ||
- 8.2 | ||
- 8.3 | ||
- nightly | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM php:8.3-alpine | ||
|
||
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/main mpdecimal-dev | ||
|
||
RUN apk add --no-cache $PHPIZE_DEPS valgrind | ||
|
||
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
docker-compose run --rm --build --interactive --tty dev /bin/sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
dev: | ||
build: | ||
context: "." | ||
volumes: | ||
- ".:/ext-decimal" | ||
- "./ext-decimal.ini:/usr/local/etc/php/conf.d/ext-decimal.ini" | ||
working_dir: "/ext-decimal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
extension=decimal.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,29 +2,27 @@ | |
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> | ||
<name>decimal</name> | ||
<channel>pecl.php.net</channel> | ||
<summary>Arbitrary precision floating-point decimal</summary> | ||
<description>Adds support for correctly-rounded arbitrary precision decimal floating-point arithmetic in PHP 7</description> | ||
<summary>Arbitrary precision decimal arithmetic</summary> | ||
<description>Correctly-rounded arbitrary precision decimal floating-point arithmetic</description> | ||
<lead> | ||
<name>Rudi Theunissen</name> | ||
<user>rtheunissen</user> | ||
<email>[email protected]</email> | ||
<active>yes</active> | ||
</lead> | ||
<date>2021-02-16</date> | ||
<time>20:26:11</time> | ||
<date>2024-01-19</date> | ||
<time>21:24:10</time> | ||
<version> | ||
<release>1.4.0</release> | ||
<api>1.4.0</api> | ||
<release>1.5.0</release> | ||
<api>1.5.0</api> | ||
</version> | ||
<stability> | ||
<release>stable</release> | ||
<api>stable</api> | ||
</stability> | ||
<license uri="https://opensource.org/licenses/MIT">MIT License</license> | ||
<notes> | ||
- Added support for PHP 8 (thank you @zlodes) | ||
- Added support for mpdecimal 2.5+ | ||
- Fixed internal exception when passing negative decimal places to toFixed | ||
- Fix object handlers for PHP 8.3 (thank you @Majkl578) | ||
</notes> | ||
<contents> | ||
<dir name="/"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters