Skip to content

Releases: padosoft/support

3.3.0

Choose a tag to compare

@lopadova lopadova released this 28 May 16:50
7864ea2

3.3.0

ADD

  • Support for PHP up to 8.5 (added to the CI test matrix: 8.0 → 8.5)
  • GitHub Actions test workflow with PHP 8.0–8.5 matrix

CHANGE

  • Bumped phpunit/phpunit dev requirement to ^9.6.33 — fixes the unsafe deserialization in PHPT code coverage handling advisory (< 8.5.52 / < 9.6.33)
  • php requirement normalized to ^7.0|^8.0
  • Decommissioned legacy CI (CircleCI, Travis, Scrutinizer) in favor of GitHub Actions

FIX

  • PHP 8.5: roman_year() explicit nullable parameter (?int)
  • PHP 8.5: replaced deprecated (double) cast with (float) in isIntegerFloatingPoint()
  • PHP 8.5: guard int casts in isIntegerFloatingPoint() to avoid the "float not representable as int" warning at the PHP_INT_MAX boundary
  • PHP 8.5: skip deprecated xml_parser_free() (no-op since 8.0) on PHP >= 8.0

Incorporates the PHP 8.5 deprecation fixes from #2 by @luca9692.

3.2.1

Choose a tag to compare

@leopado leopado released this 25 Feb 09:26

Full Changelog: 3.2.0...3.2.1

v3.1.1

Choose a tag to compare

@lopadova lopadova released this 25 Jul 09:32
FIX php warning DEPRECATED in isInteger when value is null php8.2+.

v3.1.0

Choose a tag to compare

@lopadova lopadova released this 05 Jul 14:36
ADD option in isEuVatNumber to set the return Value If Vies Thrown an…

v2.3.0

Choose a tag to compare

@lopadova lopadova released this 09 Jul 16:46

2.3.0 - 2019-07-09

CHANGE:

string:
  • slugify: remove degrees and math power char.

v2.0.2

Choose a tag to compare

@lopadova lopadova released this 18 Apr 10:53

2.0.2 - 2018-04-18

CHANGES:

validation:
  • small refactor (remove unused code) in getCoutryCodeByVatNumberTest.

v2.0.1

Choose a tag to compare

@lopadova lopadova released this 18 Apr 10:48

2.0.1 - 2018-04-18

ADD:

validation:
  • getCoutryCodeByVatNumberTest($val, $fallback): Try to extract EU country code in Vat number return $fallback if it fails.

v2.0.0

Choose a tag to compare

@lopadova lopadova released this 18 Apr 10:47

2.0.0 - 2018-04-18

BREAKING CHANGES:

validation:
  • isPiva and IsVatNumber was removed in favour to new functions: isEuVatNumber, isVATRegisteredInVies, isITVat.
  • isVATRegisteredInVies() : Validate a European VAT number using the EU commission VIES service to verify if VAT number is authorized to carry out intra-Community operations must use the service.
  • isITVat() : Check Italian Vat Number (Partita IVA).
  • isEuVatNumber() : Check if a valid EU vat given against specific EU country vat rules (at the moment only for italy) and optionally check the EU VIES service.

v1.17.4

Choose a tag to compare

@lopadova lopadova released this 18 Apr 10:46

1.17.4 - 2018-04-18

FIX:

helpers:
  • isMobile(): Fix when some bot has no $_SERVER['HTTP_USER_AGENT'].

v1.17.3

Choose a tag to compare

@lopadova lopadova released this 18 Apr 10:47

1.17.3 - 2018-03-27

FIX:

STRING:
  • isNullOrEmpty(): Fix when subject is not a scalar.