Commit Graph

203 Commits

Author SHA1 Message Date
Massimiliano Arione 8460cbacb4 remove useless ext-json requirement (#596)
Fix #595
2025-06-06 19:44:28 -05:00
Ben Ramsey 7f78cfe7a9 Merge branch '4.x' into bump/math 2025-05-25 23:41:11 -05:00
Ben Ramsey 8479f8c53d chore: lock packages to PHP 8.0.0 compatibility 2025-05-25 22:59:54 -05:00
Ben Ramsey 60950ebc39 ci: update CI workflows 2025-05-25 22:28:38 -05:00
Ben Ramsey bdd1b2f71f chore(deps-dev): upgrade remaining development dependencies 2025-05-25 19:37:26 -05:00
Ben Ramsey c66ae5f095 chore(deps-dev): upgrade CaptainHook 2025-05-25 18:39:48 -05:00
Ben Ramsey 76cbc566e2 chore(deps-dev): upgrade PHPStan 2025-05-25 16:52:53 -05:00
Ben Ramsey 691c2c816e chore(deps-dev): remove Psalm 2025-05-25 14:53:53 -05:00
Ben Ramsey c60d906a39 chore(deps-dev): remove ramsey/composer-repl 2025-05-25 13:42:30 -05:00
Alexander M. Turek 7e10f46380 Allow brick/math 0.13 2025-03-04 09:48:28 +01:00
jrfnl c11fa78821 Composer: update PHP Parallel Lint
... to a version which is compatible with PHP 8.4.

Ref: https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/tag/v1.4.0
2025-01-14 11:46:40 +01:00
Natsuki Ikeguchi 3caf795655 feat: Support brick/math v0.12 (#526)
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
2024-04-27 16:17:30 -05:00
Simon Podlipsky 25c4faac19 chore(deps): allow brick/math v0.11 (#488) 2023-01-28 11:00:47 -06:00
Ben Ramsey e484aaeb42 chore: allow use of ramsey/collection ^2.0 2022-12-31 16:20:24 -06:00
Dries Vints 087b0aa679 Bump minimum version of ramsey/collection (#479) 2022-12-19 14:32:16 -06:00
Ben Ramsey 0ba1ffb029 fix: ensure monotonicity for version 7 UUIDs 2022-11-05 16:29:26 -05:00
Ben Ramsey 4000e896f9 refactor: remove dependency on ext-ctype 2022-09-16 09:43:44 -05:00
Ben Ramsey 1d71a2d4a0 chore: add composer-repl for local testing 2022-09-13 22:14:11 -05:00
dependabot[bot] 2369b5fe37 Bump slevomat/coding-standard from 7.0.19 to 8.4.0 2022-09-06 18:43:32 -05:00
Ben Ramsey 928a62c715 Bump lowest brick/math version to 0.8.8 and update brick/math 2022-08-05 15:25:07 -05:00
Ben Ramsey f1891183f9 Upgrade PHPStan 2022-08-05 14:46:56 -05:00
Alexander Schranz a800c468aa Remove dependency to moontoast/math (#426) 2022-08-05 11:50:28 -05:00
Remi Collet bd2df8d29d Allow brick/math 0.10
Closes #424, #427, #434

Co-authored-by: Alexander Schranz <alexander@sulu.io>
Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
2022-08-05 11:45:00 -05:00
Ben Ramsey a7c1432bf4 Remove branch alias for 4.x-dev 2022-03-27 13:07:12 -05:00
Ben Ramsey a9d1aaed33 chore: allow plugins in composer.json 2022-03-26 17:00:50 -05:00
Marco Pivetta 56291a3c1d Removed support for PHP 7.2, 7.3, 7.4, required ext-ctype to be installed
TL;DR: polyfills are to be installed by downstream consumers, and not provided by libraries

In order to support PHP 7.2, 7.3 and 7.4, the `symfony/polyfill-php80` library
was dragged in. Symfony now has a long track record of bad stability ranges
(see https://github.com/symfony/polyfill-php80/blob/f4386d7f6f66346254ed4e6bfa4354d2d16b83f8/composer.json#L22-L24),
so it is best to get rid of it, and instead declare API compatibility with a stable API
version (in this case PHP 8.0).

In addition to that, to avoid introducing an explicit `ext-ctype` requirement, `symfony/polyfill-ctype`
was dragged in too, perhaps in an attempt to retain more popularity.
Same as above: symfony has a bad track record of SemVer compliance, so it should
not be introduced until strictly necessary. `ext-ctype` is generally available to most target
installation systems, and downstream consumers are still free to pull out their foot-gun by
doing a `composer require symfony/polyfill-ctype` on their own.
This mean that systems having `ext-ctype` installed will get an installation as expected: otherwise,
any system that requires `ramsey/uuid` automatically becomes a system capable of providing `ext-ctype`
API, which is just not true (before this change).
2022-03-22 12:40:54 +01:00
Ben Ramsey cdeda7998f Merge branch '4.1.x' 2021-09-25 18:03:04 -05:00
Ben Ramsey 2f59ce64b9 Merge branch '4.0.x' into 4.1.x 2021-09-25 17:59:52 -05:00
Ben Ramsey cf8c74db9d Switch back to ^8.0 in the PHP version requirement for 4.0.x 2021-09-25 17:59:24 -05:00
Ben Ramsey 831ad1b5ff Merge branch '4.0.x' into 4.1.x 2021-09-24 13:46:15 -05:00
Ben Ramsey 833c5c9529 Lock 4.0.x to ~8.0.0 to indicate it does not support PHP 8.1 2021-09-24 13:44:03 -05:00
Ben Ramsey 3c1ce39db1 Lock main to PHP 8.1.x and lower 2021-09-24 12:39:20 -05:00
Graham Campbell 0997de99a2 Add support for PHP 8.1 2021-09-05 12:41:13 +01:00
Ben Ramsey 51133f5bfe chore: add command to clean build directory 2021-08-06 16:16:26 -05:00
Ben Ramsey 5ed105e162 chore: update branch name to "main" 2021-08-06 15:09:59 -05:00
Ben Ramsey 5a50524fc4 test: update PHPBench 2021-08-06 14:45:45 -05:00
Ben Ramsey 4511ccd7e6 chore(deps): upgrade vimeo/psalm 2021-08-06 14:25:16 -05:00
Ben Ramsey c005f69d6e chore: update package files 2021-08-06 14:05:57 -05:00
Ben Ramsey b941aa1a9a Prepare test suite for PHP 8 2020-10-29 18:24:14 -05:00
Remi Collet 2f92bdf34e Allow phpunit 9 (#350) 2020-10-29 18:22:53 -05:00
Ben Ramsey 954cb23d5e Allow builds to fail on PHP 8.0 2020-10-28 22:22:54 -05:00
Simon Podlipsky 17638f627c Add support for brick/math ^0.9 2020-08-18 14:40:28 +02:00
Marco Pivetta 1f0cd71d93 Applied fixes and suppressions (sadly) to match psalm/phpstan code quality guidelines
We have a lot of deprecated API in here which shouldn't exist in first place, but that
will luckily disappear with v5.0.0 :-)
2020-07-09 13:57:30 +02:00
Marco Pivetta c01872212e Add phpbench to CI run to ensure that we don't accidentally break benchmarks
This is not indicative of performance, but just guarantees that the benchmarks
still run, and that we didn't break them during an upgrade or code change.
2020-07-09 13:57:30 +02:00
Marco Pivetta 8d42044a99 Minimal benchmarks around Uuid::fromString(), Uuid::fromBytes(), Uuid#toString(), Uuid#getBytes()
This is mostly to store an initial state, before we go on and start manipulating the UUID library internals.
2020-07-09 13:56:04 +02:00
dependabot-preview[bot] fcbe5731ce Update dealerdirect/phpcodesniffer-composer-installer requirement || ^0.7.0
Updates the requirements on dealerdirect/phpcodesniffer-composer-installer to permit the latest version.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 17:59:03 +00:00
Andrew Mitchell 1944a1536b Remove phpstan/phpdoc-parser from dev dependencies 2020-05-09 18:33:33 -04:00
dependabot-preview[bot] d513d4c6a0 Update phpstan/phpdoc-parser requirement from 0.4.3 to 0.4.4
Updates the requirements on [phpstan/phpdoc-parser](https://github.com/phpstan/phpdoc-parser) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpdoc-parser/releases)
- [Commits](https://github.com/phpstan/phpdoc-parser/compare/0.4.3...0.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 16:09:55 +00:00
Ben Ramsey 15f777bb36 Replace abandoned package with recommended package 2020-03-29 12:17:27 -05:00
Ben Ramsey 5808507468 Add a REPL script for testing 2020-03-17 12:00:22 -05:00