27 Commits

Author SHA1 Message Date
Ben Ramsey e82d747fbd Merge branch '4.x' into 5.x 2025-05-25 18:34:47 -05:00
Ben Ramsey 691c2c816e chore(deps-dev): remove Psalm 2025-05-25 14:53:53 -05:00
Ben Ramsey 008f6cea26 Merge branch '4.x' into 5.x 2023-01-11 19:45:14 -06:00
George Steel 4a14ce0c62 fix: Amends psalm assertion syntax on Uuid::isValid() to prevent incorrect type inference (#486)
* fix: Amends psalm assertion syntax on `Uuid::isValid()` to prevent incorrect type inference
* Add static analysis test case for invalid input
2023-01-10 16:09:08 -06: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 9849671d20 Remove deprecated getNumberConverter() method 2022-03-27 23:06:05 -05:00
Ben Ramsey d2ae388821 Remove deprecated getDateTime() method 2022-03-27 22:52:01 -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 506a781667 Remove deprecated getFieldsHex() method 2022-03-27 20:40:12 -05:00
Ben Ramsey e4c7ea0755 Remove deprecated getNode*() methods 2022-03-27 20:22:45 -05:00
Ben Ramsey 23d54b85cb Remove deprecated getTimestamp*() methods 2022-03-27 20:05:08 -05:00
Ben Ramsey b0b5c12bac Remove deprecated getTimeMid*() methods 2022-03-27 19:45:17 -05:00
Ben Ramsey 045c33ba3b Remove deprecated getTimeLow*() methods 2022-03-27 19:34:45 -05:00
Ben Ramsey c47a71f2b1 Remove deprecated getTimeHiAndVersion*() methods 2022-03-27 19:20:40 -05:00
Ben Ramsey eed2aecc17 Remove deprecated getMostSignificantBits*() methods 2022-03-27 18:58:06 -05:00
Ben Ramsey 5541b3d045 Remove deprecated getLeastSignificantBits*() methods 2022-03-27 18:51:18 -05:00
Ben Ramsey f810c0a50c Remove deprecated getClockSequenceHex() method 2022-03-27 18:44:47 -05:00
Ben Ramsey ddb4ce0aca Remove deprecated getClockSeqLowHex() method 2022-03-27 18:32:51 -05:00
Ben Ramsey 1d4077d213 Remove deprecated getClockSeqHiAndReservedHex() method 2022-03-27 16:37:53 -05:00
Ben Ramsey 852850b7da Remove mocks for ext-uuid functions 2021-09-23 18:49:10 -05:00
Marco Pivetta c8e8b7b693 Marking Uuid::uuid3() as pure as well: it produces same values for same input 2020-03-23 10:18:21 +01:00
Marco Pivetta e830b23d77 Marking Uuid::uuid5() as pure: same input leads to same output, and no I/O under normal operational constraints 2020-03-23 10:18:21 +01:00
Ben Ramsey e0ff858ff6 Return Hexadecimal from getHex() and IntegerValue from getInteger() 2020-02-21 01:40:14 -06:00
Marco Pivetta 598b47d07f Refining type of producing a string that can be declared as non-empty-string 2020-02-03 11:05:36 -06:00
Ben Ramsey 5d7c0f2210 Move files to clean up project root directory 2020-01-19 23:48:55 -06:00