Ben Ramsey
3cff2ee685
chore: update build badge
2021-08-06 14:53:36 -05:00
Ben Ramsey
5a50524fc4
test: update PHPBench
2021-08-06 14:45:45 -05:00
Ben Ramsey
b02aeb8732
chore: remove repl script
2021-08-06 14:38:03 -05:00
Ben Ramsey
d7379b67af
test: update exception message for PHP 8.1
2021-08-06 14:35:42 -05:00
Ben Ramsey
20fa0c9849
ci: do not run benchmarks on PHP 8.1 yet
2021-08-06 14:35:22 -05:00
Ben Ramsey
0b4be8392a
fix: check whether property is set
2021-08-06 14:29:01 -05:00
Ben Ramsey
e6c8ff8a4f
chore: remove phpstan/psalm checks from pre-commit hook
2021-08-06 14:25:46 -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
Barney Hanlon
90a87a7543
Add interface for UUID-related exceptions ( #340 )
...
Add common interface for exceptions so that wrappers can identify that is a UUID-related exception
2021-04-23 11:12:51 -05:00
Ben Ramsey
e5b3699bbe
Add Tidelift enterprise page to docs website
2020-11-05 15:15:32 -06:00
Ben Ramsey
8ce627597a
Add Tidelift subscription information to readme
2020-11-02 18:02:23 -06:00
Ben Ramsey
87e312b782
Add Tidelift to funding options
2020-11-02 17:55:25 -06:00
Ben Ramsey
31c65e5acf
Fix license link Markdown
2020-11-02 17:49:19 -06:00
Ben Ramsey
a2c525d2d5
Fix link to license
2020-11-02 17:48:39 -06:00
Ben Ramsey
69bcb50419
Add notice about SECURITY.md to readme
2020-11-02 17:46:02 -06:00
Ben Ramsey
2f3a93c438
chore: remove file from gitattributes
2020-10-31 14:49:08 -05:00
Ben Ramsey
ddf40f2acb
security: replace security.md with template from hackerone
2020-10-31 14:23:20 -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
Remi Collet
ae7df1ceb9
catch ValueError raised by PHP 8 ( #352 )
2020-10-29 11:57:41 -05:00
Remi Collet
e20165e9dd
use expectError instead of expectException ( #351 )
2020-10-29 10:07:00 -05:00
Ben Ramsey
65f39c93f4
Rename codecov yaml file and add to gitattributes
2020-10-28 22:51:20 -05:00
Ben Ramsey
b5dadc7eb4
Remove Travis CI config and update readme
2020-10-28 22:43:57 -05:00
Ben Ramsey
954cb23d5e
Allow builds to fail on PHP 8.0
2020-10-28 22:22:54 -05:00
Ben Ramsey
4d7b904321
Do not use pecl-uuid extension in workflow
2020-10-28 21:45:54 -05:00
Ben Ramsey
9409ea98ba
Revert "Commit lockfile for Composer"
...
This reverts commit e3771b067a .
2020-10-28 21:45:07 -05:00
Ben Ramsey
b3f050110e
Add CI workflow for GitHub Actions
2020-10-28 21:39:44 -05:00
Ben Ramsey
e3771b067a
Commit lockfile for Composer
2020-10-28 21:22:35 -05:00
Ben Ramsey
eb355012a5
Add security policy
2020-10-28 21:21:21 -05:00
Ben Ramsey
0a25f73ae0
Fix static analysis issues
2020-10-28 21:19:26 -05:00
Ben Ramsey
e4562b089b
Merge pull request #335 from Bilge/redundant-interfaces
...
Removed redundant interface speficiation
2020-08-23 15:04:10 -05:00
Bilge
49b772a5e2
Removed redundant interface inheritance.
2020-08-23 19:36:53 +01:00
Ben Ramsey
d103e07a2c
Merge pull request #333 from Bilge/assert-same
...
Use assertSame instead of assertEquals
2020-08-23 12:45:58 -05:00
Bilge
7947413a76
Use assertSame instead of assertEquals.
2020-08-23 13:53:19 +01:00
Ben Ramsey
cd4032040a
Update CHANGELOG for version 4.1.1
4.1.1
2020-08-18 12:17:46 -05:00
Ben Ramsey
2bbfa75a47
Merge pull request #332 from simPod/brick-math-9
...
Add support for brick/math ^0.9
2020-08-18 12:13:51 -05:00
Simon Podlipsky
17638f627c
Add support for brick/math ^0.9
2020-08-18 14:40:28 +02:00
Ben Ramsey
69b3eb8824
Fix links in CHANGELOG
2020-07-28 11:52:54 -05:00
Ben Ramsey
988dbefc78
Update CHANGELOG for 4.1.0 release
4.1.0
2020-07-28 11:51:01 -05:00
Ben Ramsey
9ebb0eb9ed
Merge pull request #324 from Ocramius/feature/happy-path-performance-improvements
...
Improved performance of `Uuid::fromString()`, `Uuid::fromBytes()`, `UuidInterface#toString()`, `UuidInterface#getBytes()`
2020-07-10 15:25:54 -05:00
Marco Pivetta
0c2b4074d2
Minor performance optimization: LazyUuidFromString#unwrap() now uses an internal instance cache for unwrapped instances
2020-07-09 14:39:36 +02:00
Marco Pivetta
fa14d04231
Added benchmark about extracting UUID field details
2020-07-09 14:23:49 +02:00
Marco Pivetta
6339cd9fbc
Added UUID serialization benchmark
2020-07-09 14:15:05 +02:00
Marco Pivetta
a621ca9e81
Uuid::uuid3() uses impure Uuid::getFactory() API - suppressing it from purity static analysis checks
2020-07-09 14:04:20 +02:00
Marco Pivetta
b805572537
Ensure that Uuid::uuidX() generators produce instances equivalent to Uuid::fromString() and Uuid::fromBytes()
...
With this change, `Uuid::uuid1()`, `Uuid::uuid2()` and so forth now produce a `LazyUuidFromString` instance, which
is both more memory efficient and comparable to `Uuid::fromString()` instances in other tools, such as within
PHPUnit's `Assertion::assertEqual()`, which would reject any two objects not matching each other's types.
Before this patch, `Assertion::assertEquals(Uuid::uuid5(...), Uuid::fromString(...))` would always fail due to
different subtypes produced by the two factory methods.
2020-07-09 13:57:30 +02:00
Marco Pivetta
2421b79841
Added benchmark for UUID generation logic
2020-07-09 13:57:30 +02:00
Marco Pivetta
910e3e459c
Adjusted comment wording: s/string/strict (typo)
...
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
2020-07-09 13:57:30 +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
1ce3f55673
Applied automated CS fixes according to project CS settings
2020-07-09 13:57:30 +02:00