Marco Pivetta
95eb7de42b
Removed redundant range check, now correctly identified by vimeo/psalm:^4.20
2022-03-22 12:42:10 +01:00
Marco Pivetta
7e04dde8fd
Upgraded psalm.xml to be compatible with vimeo/psalm:^4.20
...
This moves from `totallyTyped="true"` to `errorLevel="1"`, since `totallyTyped="true"` was deprecated, and
leads to a CI failure.
2022-03-22 12:41:43 +01: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
hubipe
e3e9179f27
LazyUuidFromString for valid UUIDs in uppercase ( #401 )
2022-01-29 13:05:59 -06:00
Lewis Cowles
785bcf264d
Use version 2 of ramsey/composer-install ( #396 )
...
I mostly want to check if dependabot suggests this change after #395 or if it does more.
2022-01-04 19:27:30 -06:00
Sergey Romanenko
33059780b5
Update license year ( #398 )
2022-01-04 19:26:41 -06:00
Ben Ramsey
e5fa293e14
Merge pull request #397 from ramsey/dependabot/github_actions/codecov/codecov-action-2.1.0
...
Bump codecov/codecov-action from 1 to 2.1.0
2021-12-24 10:04:50 -06:00
dependabot[bot]
88043e7754
Bump codecov/codecov-action from 1 to 2.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 1 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-24 16:01:23 +00:00
Ben Ramsey
f131f51592
Merge pull request #395 from Lewiscowles1986/patch-1
...
Use dependabot to suggest updates to all actions
2021-12-24 10:01:03 -06:00
Lewis Cowles
2188e1f6ca
Use dependabot to suggest updates to all actions
...
RE: https://twitter.com/Ocramius/status/1474179909157273601
from
https://twitter.com/ramsey/status/1474178806923595778
2021-12-24 03:17:06 +00:00
Ben Ramsey
cd372a7b47
Merge pull request #391 from sergiy-petrov/patch-1
...
Update continuous-integration.yml
2021-10-13 13:44:27 -05:00
Sergiy Petrov
30aa2dffa6
Update continuous-integration.yml
2021-10-13 20:55:41 +03:00
Ben Ramsey
fc9bb7fb53
Add 3.9.6 changelog to the main branch
4.2.3
2021-09-25 18:10:38 -05:00
Ben Ramsey
26df18f17c
Switch back to ^8.0 in the PHP version requirement for 4.2.x
2021-09-25 18:04:00 -05:00
Ben Ramsey
cdeda7998f
Merge branch '4.1.x'
2021-09-25 18:03:04 -05:00
Ben Ramsey
2df6bbdf01
Switch back to ^8.0 in the PHP version requirement for 4.1.x
4.1.3
2021-09-25 18:00:53 -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
4.0.3
2021-09-25 17:59:24 -05:00
Ben Ramsey
445999c26a
Prepare for release 4.2.2
4.2.2
2021-09-24 13:53:47 -05:00
Ben Ramsey
ed665919df
Merge branch '4.1.x'
2021-09-24 13:51:12 -05:00
Ben Ramsey
97d153506b
Lock 4.1.x to ~8.0.0 to indicate it does not support PHP 8.1
4.1.2
2021-09-24 13:48:21 -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
4.0.2
2021-09-24 13:44:03 -05:00
Ben Ramsey
2b3282e899
Add 3.9.5 changes to the changelog
2021-09-24 13:37:26 -05:00
Ben Ramsey
c05289d3d4
Update security policy with supported versions
2021-09-24 12:56:20 -05:00
Ben Ramsey
3c1ce39db1
Lock main to PHP 8.1.x and lower
2021-09-24 12:39:20 -05:00
Ben Ramsey
4ba9f66759
Limit apt commands to Ubuntu
2021-09-23 19:00:23 -05:00
Ben Ramsey
e9ddc7cf7b
Add Windows to the unit test build matrix
2021-09-23 18:56:45 -05:00
Ben Ramsey
852850b7da
Remove mocks for ext-uuid functions
2021-09-23 18:49:10 -05:00
Ben Ramsey
a3df026d62
Install the sodium and uuid extensions
2021-09-23 17:12:27 -05:00
Ben Ramsey
aa6535442e
Show deprecations in tests
2021-09-23 17:04:10 -05:00
Ben Ramsey
e9cf6713bd
Merge pull request #388 from GrahamCampbell/php-81
...
Add support for PHP 8.1
2021-09-23 14:32:04 -05:00
Graham Campbell
d86822196f
Update continuous-integration.yml
2021-09-05 14:14:15 +01:00
Graham Campbell
2ed177534e
Ignore serialization shape checking for code coverage purposes
2021-09-05 14:03:47 +01:00
Graham Campbell
0997de99a2
Add support for PHP 8.1
2021-09-05 12:41:13 +01:00
Ben Ramsey
fe665a03df
chore: prepare release 4.2.1
4.2.1
2021-08-10 20:06:55 -05:00
Ben Ramsey
55256bc2ee
Merge pull request #383 from cs278/empty-string
...
Fix soft BC break with `Uuid::fromString()` signature
2021-08-10 20:02:14 -05:00
Chris Smith
ef1eb74c82
Add test covering Uuid::fromString() being called with empty string
2021-08-09 12:55:31 +01:00
Chris Smith
8fa223b1af
Fix soft BC break of Uuid::fromString()
...
Uses an assertion to indicate the `$uuid` variable cannot be an empty
string, satisfying docblock on `LazyUuidFromString`.
2021-08-09 12:51:40 +01:00
Ben Ramsey
7231612a52
chore: prepare release 4.2.0
4.2.0
2021-08-06 17:30:43 -05:00
Ben Ramsey
6c96ded431
Merge pull request #311 from vudaltsov/patch-1
...
Mark v3() and v5() as pure
2021-08-06 16:31:46 -05:00
Ben Ramsey
4666f7128f
Merge branch 'main' into patch-1
2021-08-06 16:27:50 -05:00
Ben Ramsey
06f8e67792
Merge pull request #361 from slevomat/patch-1
...
Serialization should not use internal codec
2021-08-06 16:25:27 -05:00
Ben Ramsey
51133f5bfe
chore: add command to clean build directory
2021-08-06 16:16:26 -05:00
Ben Ramsey
ac09e6d7e2
Merge branch 'pawel-slowik-fix-static-analysis'
2021-08-06 16:16:17 -05:00
Ben Ramsey
7ca2832d3b
chore: suppress redundant condition complaint
2021-08-06 16:14:11 -05:00
Ben Ramsey
fb9ef508b0
Merge branch 'fix-static-analysis' of https://github.com/pawel-slowik/uuid into pawel-slowik-fix-static-analysis
2021-08-06 16:08:43 -05:00
Ben Ramsey
4be5547eec
chore: exclude phpstan-tests.neon from archives
2021-08-06 16:03:32 -05:00
Ben Ramsey
25d4d0e36f
Merge branch '3.x'
2021-08-06 15:42:55 -05:00
Ben Ramsey
be2451bef8
chore: prepare release 3.9.4
3.9.4
2021-08-06 15:32:15 -05:00