Commit Graph

191 Commits

Author SHA1 Message Date
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
Ben Ramsey e55a984c9d Add tip for Composer version constraint 2020-03-14 17:21:13 -05:00
Ben Ramsey 9f20f1fab8 Merge branch 'master' into dependabot/composer/phpstan/phpdoc-parser-0.4.3 2020-03-14 17:04:56 -05:00
Ben Ramsey 5180a59924 Use dealerdirect/phpcodesniffer-composer-installer v0.6.2 2020-03-14 17:03:50 -05:00
Ben Ramsey 62f6a863a7 Merge branch 'master' into dependabot/composer/dealerdirect/phpcodesniffer-composer-installer-tw-0.5.0or-tw-0.6.0 2020-03-14 16:59:55 -05:00
Ben Ramsey 99fdabcee3 Lock vimeo/psalm to 3.9.4, since 3.9.5 causes false failures 2020-03-14 16:59:06 -05:00
dependabot-preview[bot] 5e88e285ec Update phpstan/phpdoc-parser requirement from 0.4.1 to 0.4.3
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.1...0.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 03:32:51 +00:00
Ben Ramsey c75ad1d584 Update description of library 2020-03-08 22:31:21 -05:00
Ben Ramsey 11da1979ee Merge branch 'master' into dependabot/composer/dealerdirect/phpcodesniffer-composer-installer-tw-0.5.0or-tw-0.6.0 2020-03-08 22:27:29 -05:00
Ben Ramsey 98971a93f8 [ci skip] Remove wiki as a "support" venue 2020-03-08 22:26:10 -05:00
dependabot-preview[bot] 8484456e26 Update dealerdirect/phpcodesniffer-composer-installer requirement || ^0.6.0
Updates the requirements on dealerdirect/phpcodesniffer-composer-installer to permit the latest version.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 01:38:39 +00:00
Ben Ramsey aaccc850a1 Use strict argument validation for collections
This resolves #106
2020-02-23 00:50:00 -06:00
Ben Ramsey f965293da9 Specify cache locations for build tools 2020-02-08 13:13:47 -06:00