mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 08:20:54 -04:00
Remove support for PHP7.4 for now
This commit is contained in:
4
.github/workflows/php-linter.yml
vendored
4
.github/workflows/php-linter.yml
vendored
@@ -12,10 +12,6 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: PHP Lint 7.4
|
||||
uses: dbfx/github-phplint/7.4@master
|
||||
with:
|
||||
folder-to-exclude: "! -path \"./vendor/*\" ! -path \"./folder/excluded/*\""
|
||||
- name: PHP Lint 8.0
|
||||
uses: dbfx/github-phplint/8.0@master
|
||||
with:
|
||||
|
||||
@@ -506,7 +506,7 @@ function parse_decimals(string $number, int $decimals = null): mixed
|
||||
$locale_safe_number = $fmt->parse($number);
|
||||
|
||||
if (
|
||||
!$locale_safe_number
|
||||
$locale_safe_number === false
|
||||
|| $locale_safe_number > MAX_PRECISION
|
||||
|| $locale_safe_number > 1.e14
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user