Ben Ramsey
bbaac68b2b
Merge branch '4.x' into 5.x
2022-08-12 20:26:59 -05:00
Ben Ramsey
7f02c1d049
chore: update changelog for 5.x
2022-08-12 20:25:28 -05:00
Ben Ramsey
2083110316
feat: deprecate variant and version constants
2022-08-12 20:18:40 -05:00
Ben Ramsey
8c0a06654e
feat: introduce Version enum and use instead of constants
2022-08-12 20:10:51 -05:00
Ben Ramsey
3d3bf1b518
Update types throughout the code base
2022-08-09 18:23:17 -05:00
Ben Ramsey
1ba6f22e48
Indicate getBytes() returns a non-empty string
2022-08-09 10:11:17 -05:00
Ben Ramsey
86520a0d27
Merge branch '4.x' into 5.x
2022-08-09 10:07:10 -05:00
George Steel
b4dff559ab
Assert non-empty-string when UUID is valid ( #410 )
...
* Assert, for psalm, the string is non-empty if validation passes
* Adds a test for SA asserting that valid string are also non-empty
* Suppress PHPStan error for unsupported conditional type assertion
* Check SA tools don't complain about non-empty-string as input parameter to `Uuid::isValid()`
2022-08-09 10:04:36 -05:00
Ben Ramsey
bc6cd7d888
Deprecate factory methods; improve deprecation docblocks
2022-08-09 09:24:01 -05:00
Ben Ramsey
2b46cec8e5
Merge branch '4.x' into 5.x
2022-08-05 17:40:48 -05:00
Ben Ramsey
2da480d7a3
Fix function type hinting
2022-08-05 17:36:05 -05:00
Ben Ramsey
7b3eaf32c7
Deprecate Uuid::setFactory() and Uuid::getFactory()
2022-08-05 17:34:18 -05:00
Ben Ramsey
55693967d7
Deprecate direct instantiation of Ramsey\Uuid\Uuid
2022-08-05 17:28:11 -05:00
Ben Ramsey
069d74fdce
Remove deprecated Uuid::UUID_TYPE_IDENTIFIER constant
2022-08-05 16:55:10 -05:00
Ben Ramsey
b551e4645d
Remove deprecated Uuid::VALID_PATTERN constant
2022-08-05 16:52:23 -05:00
Ben Ramsey
6e05ba7f42
Rename to TimeBasedUuidInterface and extend UuidInterface
2022-08-05 15:46:51 -05:00
Ben Ramsey
137846913f
Merge branch '4.x' into 5.x
2022-08-05 15:29:28 -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
346f840e21
Merge branch '4.x' into 5.x
2022-08-05 15:17:01 -05:00
Ben Ramsey
edb10483fb
Squelch deprecation errors when running PHPUnit
...
These errors occur on UuidInterface, and the solution is to add
__unserialize() and __serialize() to the interface, but this cannot take
place until the next major version bump.
2022-08-05 14:47:05 -05:00
Ben Ramsey
f1891183f9
Upgrade PHPStan
2022-08-05 14:46:56 -05:00
Ben Ramsey
373f7bacfc
Prepare release 4.4.0
4.4.0
2022-08-05 12:58:37 -05:00
Ben Ramsey
10e2f3664b
Merge branch '4.x' into 5.x
2022-08-05 12:38:23 -05:00
Ben Ramsey
1b4972142b
Update CI pipeline
2022-08-05 12:21:57 -05:00
Ben Ramsey
c4b834301d
Update links to 4.x branch
2022-08-05 12:21:57 -05:00
dependabot[bot]
01433b5288
Bump phpbench/phpbench from 1.2.5 to 1.2.6 ( #436 )
...
Bumps [phpbench/phpbench](https://github.com/phpbench/phpbench ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/phpbench/phpbench/releases )
- [Changelog](https://github.com/phpbench/phpbench/blob/master/CHANGELOG.md )
- [Commits](https://github.com/phpbench/phpbench/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: phpbench/phpbench
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 12:14:57 -05:00
dependabot[bot]
70887fdd4c
Bump codecov/codecov-action from 2.1.0 to 3.1.0 ( #416 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.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/v2.1.0...v3.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-05 11:56:45 -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
Simon Podlipsky
9a8ea11ad3
fix: adapt tests to reflect GH-7758 ( #435 )
2022-08-05 11:31:53 -05:00
Dmytro Naumenko
49b9246e7a
Fix upgrading manual link in README.md ( #418 )
2022-05-13 16:09:26 -05:00
Ben Ramsey
c1c06e40a8
refactor: remove dependency on ext-ctype
2022-04-16 21:44:48 -05:00
Ben Ramsey
8b0858a498
chore(deps): bump phpunit/phpunit to ^9.5
2022-04-16 21:31:23 -05:00
Ben Ramsey
5b5d6f7007
ci: remove PHP 8.0 from the workflows
2022-04-01 17:52:39 -05:00
Ben Ramsey
3c4b784d33
chore: upgrade Psalm and update baseline
2022-04-01 17:41:59 -05:00
Ben Ramsey
382fdf777f
chore: upgrade PHPStan
2022-04-01 17:41:59 -05:00
Ben Ramsey
dec678d60b
feat: remove deprecated Serializable interface
2022-04-01 17:41:58 -05:00
Ben Ramsey
13edf70fc9
feat: introduce Variant enum and use instead of constants
2022-04-01 17:41:58 -05:00
Ben Ramsey
189f7f69ca
Remove DeprecatedUuidInterface and trait
2022-03-27 23:10:05 -05:00
Ben Ramsey
9849671d20
Remove deprecated getNumberConverter() method
2022-03-27 23:06:05 -05:00
Ben Ramsey
973b87ce91
Merge branch '4.x' into 5.x
2022-03-27 22:58:54 -05:00
Ben Ramsey
418e9c6339
Move getUrn() documentation according to interface changes
2022-03-27 22:56:29 -05:00
Ben Ramsey
d2ae388821
Remove deprecated getDateTime() method
2022-03-27 22:52:01 -05:00
Ben Ramsey
5b98a2fee1
Introduce TimeBasedInterface for UUIDs derived from time
2022-03-27 22:50:14 -05:00
Ben Ramsey
cc4df59001
Remove deprecated getVersion() method
2022-03-27 21:47:55 -05:00
Ben Ramsey
8595a6d8c1
Remove deprecated getVariant() method
2022-03-27 21:28:55 -05:00
Ben Ramsey
b1c03e96eb
Merge branch '4.x' into 5.x
2022-03-27 21:01:19 -05:00
Ben Ramsey
115ec653d8
Un-deprecate UuidInterface::getUrn()
2022-03-27 20:55:27 -05:00
Ben Ramsey
506a781667
Remove deprecated getFieldsHex() method
2022-03-27 20:40:12 -05:00
Ben Ramsey
67abb86aaf
Remove remaining deprecated getClockSeq*() methods
2022-03-27 20:32:00 -05:00