Ben Ramsey
4f4deb1dd6
feat: add UUIDv7 documentation and customization
2022-09-14 18:21:10 -05:00
Ben Ramsey
28f509bd91
chore: update composer lock file
2022-09-13 22:20:56 -05:00
Ben Ramsey
1d71a2d4a0
chore: add composer-repl for local testing
2022-09-13 22:14:11 -05:00
Ben Ramsey
aa1e488afa
feat: support version 7 (Unix Epoch time) UUIDs
2022-09-13 22:13:33 -05:00
Ben Ramsey
e153b3420a
refactor: discard unnecessary trait
2022-09-13 16:39:59 -05:00
Ben Ramsey
078feed166
chore: update nomenclature
2022-09-12 20:56:42 -05:00
Ben Ramsey
7d1400b90a
doc: update for Rfc4122\UuidV6
2022-09-12 20:46:34 -05:00
Ben Ramsey
b78bcda2d1
feat: move UuidV6 to the Rfc4122 namespace
2022-09-12 19:41:46 -05:00
Ben Ramsey
89905d1948
chore: remove deprecation notices
2022-09-12 19:41:45 -05:00
dependabot[bot]
4d817640fa
Bump phpstan/phpstan from 1.8.4 to 1.8.5
2022-09-12 17:14:33 -05:00
dependabot[bot]
646e4604fb
Bump sebastian/type from 3.1.0 to 3.2.0
2022-09-12 16:53:06 -05:00
dependabot[bot]
70238ddcdd
Bump ridedott/merge-me-action from 2.8.35 to 2.10.20
2022-09-12 16:38:04 -05:00
dependabot[bot]
763f1e594d
Bump mockery/mockery from 1.5.0 to 1.5.1
2022-09-12 16:31:34 -05:00
dependabot[bot]
a527f7ab0d
Bump phpunit/phpunit from 9.5.19 to 9.5.24
2022-09-06 19:05:25 -05:00
dependabot[bot]
8f6f8feb67
Bump ergebnis/composer-normalize from 2.24.1 to 2.28.3
2022-09-06 18:59:22 -05:00
dependabot[bot]
d861770001
Bump justinrainbow/json-schema from 5.2.11 to 5.2.12
2022-09-06 18:53:48 -05:00
dependabot[bot]
1a25536048
Bump captainhook/captainhook from 5.10.8 to 5.10.11
2022-09-06 18:48:30 -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
dependabot[bot]
eb75178b96
Bump phpunit/php-code-coverage from 9.2.15 to 9.2.17
2022-09-06 18:38:32 -05:00
dependabot[bot]
1c21709373
Bump sebastian/type from 3.0.0 to 3.1.0
2022-09-06 18:33:36 -05:00
Ben Ramsey
02529477a1
ci: use a token allowing pushes to protected branches
2022-09-06 18:28:09 -05:00
Ben Ramsey
4eff9d7348
ci: bump dependabot schedule to weekly
2022-09-06 17:03:23 -05:00
dependabot[bot]
f2f1bc384a
Bump paragonie/sodium_compat from 1.17.0 to 1.17.1 ( #450 )
...
Bumps paragonie/sodium_compat from 1.17.0 to 1.17.1.
---
updated-dependencies:
- dependency-name: paragonie/sodium_compat
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 16:53:52 -05:00
dependabot[bot]
8ea2b9fdaa
Bump brick/math from 0.10.1 to 0.10.2 ( #449 )
...
Bumps [brick/math](https://github.com/brick/math ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/brick/math/releases )
- [Changelog](https://github.com/brick/math/blob/master/CHANGELOG.md )
- [Commits](https://github.com/brick/math/compare/0.10.1...0.10.2 )
---
updated-dependencies:
- dependency-name: brick/math
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 16:37:35 -05:00
dependabot[bot]
fb8bb8e369
Bump phpstan/phpdoc-parser from 1.2.0 to 1.8.0 ( #448 )
...
Bumps [phpstan/phpdoc-parser](https://github.com/phpstan/phpdoc-parser ) from 1.2.0 to 1.8.0.
- [Release notes](https://github.com/phpstan/phpdoc-parser/releases )
- [Commits](https://github.com/phpstan/phpdoc-parser/compare/1.2.0...1.8.0 )
---
updated-dependencies:
- dependency-name: phpstan/phpdoc-parser
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 16:18:15 -05:00
dependabot[bot]
24adccb1d8
Bump phpstan/phpstan from 1.8.2 to 1.8.4 ( #447 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/1.8.x/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.8.2...1.8.4 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 16:10:54 -05:00
dependabot[bot]
98d04c9b8a
Bump symfony/filesystem from 5.4.11 to 5.4.12 ( #446 )
...
Bumps [symfony/filesystem](https://github.com/symfony/filesystem ) from 5.4.11 to 5.4.12.
- [Release notes](https://github.com/symfony/filesystem/releases )
- [Changelog](https://github.com/symfony/filesystem/blob/6.1/CHANGELOG.md )
- [Commits](https://github.com/symfony/filesystem/compare/v5.4.11...v5.4.12 )
---
updated-dependencies:
- dependency-name: symfony/filesystem
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Ramsey <ben@benramsey.com >
2022-09-06 16:04:20 -05:00
Ben Ramsey
cac33c8493
ci: open only one dependabot PR at a time
...
This reduces the amount of work GitHub has to to every time a PR is merged, since Dependabot then has to rebase and update all open Dependabot PRs.
2022-09-06 15:49:01 -05:00
dependabot[bot]
c634fa9273
Bump vimeo/psalm from 4.22.0 to 4.27.0 ( #444 )
...
Bumps [vimeo/psalm](https://github.com/vimeo/psalm ) from 4.22.0 to 4.27.0.
- [Release notes](https://github.com/vimeo/psalm/releases )
- [Commits](https://github.com/vimeo/psalm/compare/4.22.0...4.27.0 )
---
updated-dependencies:
- dependency-name: vimeo/psalm
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 15:40:33 -05:00
dependabot[bot]
b4ebc7dee1
Bump squizlabs/php_codesniffer from 3.6.2 to 3.7.1 ( #443 )
...
Bumps [squizlabs/php_codesniffer](https://github.com/squizlabs/PHP_CodeSniffer ) from 3.6.2 to 3.7.1.
- [Release notes](https://github.com/squizlabs/PHP_CodeSniffer/releases )
- [Commits](https://github.com/squizlabs/PHP_CodeSniffer/compare/3.6.2...3.7.1 )
---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 09:26:23 -05:00
dependabot[bot]
36388a2ed6
Bump symfony/polyfill-php81 from 1.25.0 to 1.26.0 ( #441 )
...
Bumps symfony/polyfill-php81 from 1.25.0 to 1.26.0.
---
updated-dependencies:
- dependency-name: symfony/polyfill-php81
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 09:18:27 -05:00
carlos-ea
124eee18da
Fix "upgrade version 3 to 4"-url ( #438 )
2022-08-23 11:29:40 -05:00
Ben Ramsey
2083110316
feat: deprecate variant and version constants
2022-08-12 20:18:40 -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
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
928a62c715
Bump lowest brick/math version to 0.8.8 and update brick/math
2022-08-05 15:25:07 -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
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
Ben Ramsey
418e9c6339
Move getUrn() documentation according to interface changes
2022-03-27 22:56:29 -05:00