Ben Ramsey
ae247f1dcd
chore: clean up types and PHP 8-ify the code
2022-09-15 22:14:04 -05:00
Marco Pivetta
f0ada112c5
Allow iterable<T> where ramsey/collection would be used, deprecate collection classes
...
This patch is based on https://github.com/ramsey/uuid/pull/405
As discussed in https://github.com/ramsey/uuid/pull/405#discussion_r832095457 , the `ramsey/collection`
dependency can be phased out.
Doing so via direct removal is not feasible without a clear BC break, so this change only deprecates:
* `Ramsey\Uuid\Builder\BuilderCollection`
* `Ramsey\Uuid\Provider\Node\NodeProviderCollection`
These classes will then be removed in `5.0.0`, along with the `ramsey/collection` dependency.
2022-03-22 17:30:42 +01:00
Ben Ramsey
4511ccd7e6
chore(deps): upgrade vimeo/psalm
2021-08-06 14:25:16 -05:00
Ben Ramsey
86c37eff4c
Change NodeProviderInterface::getNode() to return Hexadecimal
2020-02-29 22:35:45 -06:00
Ben Ramsey
aaccc850a1
Use strict argument validation for collections
...
This resolves #106
2020-02-23 00:50:00 -06:00
Ben Ramsey
fb4f54fb84
Address static analysis issues
2020-02-08 13:14:17 -06:00
Massimiliano Arione
776e472808
add typehints and return types
2020-01-18 12:13:57 -06:00
Ben Ramsey
ef999c2b2c
Update coding style to include PSR-12, among other options
...
This also includes heavy use of slevomat/coding-standard to apply
various checks to the code, based on maintainer (me) preference.
2020-01-18 12:13:56 -06:00
Massimiliano Arione
0e7cdfe620
add typehints and return types
2020-01-18 12:13:56 -06:00
Ben Ramsey
0d7b8c2b7a
Update coding style to include PSR-12, among other options
...
This also includes heavy use of slevomat/coding-standard to apply
various checks to the code, based on maintainer (me) preference.
2020-01-18 12:13:55 -06:00
Massimiliano Arione
5459113b81
add typehints and return types
2020-01-18 12:13:10 -06:00
SignpostMarv
0030399564
Increase PHPStan levels and update code to resolve issues found
2020-01-18 12:13:08 -06:00
Ben Ramsey
64ba9a2767
Clean up code according to PhpStorm inspections report
2019-11-30 13:14:52 -08:00
Marco Perone
4b7374129c
add annotations for thrown exceptions
2018-07-09 09:04:12 +02:00
Ben Ramsey
d975f0f143
Add docblocks for classes and interfaces in Ramsey\Uuid\Provider namespace
2015-09-27 13:02:30 -05:00
Ben Ramsey
e006f669ad
Adding common docblock file header
2015-07-15 13:59:52 -05:00
Ben Ramsey
d67c3490a8
Change namespace to "Ramsey"; closes #48
2015-04-25 12:11:37 -05:00
Ben Ramsey
958643e7b6
Introduce Provider namespace and move Node and Time classes into it
2014-11-08 16:16:44 -05:00