Go to file
Ayesh Karunaratne 746c755d14
Use json_validate in Rules\Json if available (#1394)
[`json_validate` function](https://wiki.php.net/rfc/json_validate)
[added in PHP 8.3](https://php.watch/versions/8.3/json_validate) validates a
given string input to contain valid JSON without decoding it in memory.

This adds a function availability check to `Rules\Json`, and uses the new
function instead of decoding the given input, followed by a last-error check.
2023-02-13 04:43:32 +00:00
.github/workflows Revert "Use "sokil/php-isocodes" on CurrencyCode" 2021-03-19 15:12:44 +01:00
bin Revert "Use "sokil/php-isocodes" on SubdivisionCode" 2021-03-19 15:12:45 +01:00
data/iso_3166-2 Revert "Use "sokil/php-isocodes" on SubdivisionCode" 2021-03-19 15:12:45 +01:00
docs Revert "Use "sokil/php-isocodes" on SubdivisionCode" 2021-03-19 15:12:45 +01:00
library Use json_validate in Rules\Json if available (#1394) 2023-02-13 04:43:32 +00:00
tests Revert "Use "sokil/php-isocodes" on SubdivisionCode" 2021-03-19 15:12:45 +01:00
.docheader Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
.gitattributes Update list of files to be exported by Git 2020-07-29 10:35:36 +02:00
.gitignore Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00
CHANGELOG.md Remove documentation links in the repository 2019-05-23 16:16:00 +02:00
composer.json Revert "Use "sokil/php-isocodes" on SubdivisionCode" 2021-03-19 15:12:45 +01:00
CONTRIBUTING.md Update contribution guidelines 2019-05-23 16:35:41 +02:00
LICENSE Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
mkdocs.yml Create MkDocs configuration file 2018-12-11 09:25:41 +01:00
phpcs.xml.dist Use "Respect" coding standard 2019-05-11 20:51:39 +02:00
phpstan.neon.dist Remove ignored error from PHPStan 2021-03-19 15:12:43 +01:00
phpunit.xml.dist Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00
README.md Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00