Robbert Müller
cfafc97fc0
Add sysfs option for linux system
...
Linux offers a sysfs interface to the macaddresses of the system network
interfaces without calling exec.
This enables stable system based UUID generation even on docker images
like php:7
2017-10-06 19:57:30 +02:00
Ben Ramsey
0ef23d1b10
Add change log notes for 3.7.0 release
3.7.0
2017-08-04 09:39:04 -04:00
Ben Ramsey
c141cdc8da
Merge pull request #177 from davispeixoto/173-expose-versions-alternative1
...
issue #173 expose versions alternative1
2017-08-04 09:32:09 -04:00
Davis Peixoto
46071e69a1
173 - Expose UUID versions - Alternative 1
...
https://github.com/ramsey/uuid/issues/173
Creating constants on Uuid object, so they can be used as
- Uuid::UUID_TYPE_TIME
- Uuid::UUID_TYPE_RANDOM
# Alternative 1
Create constants on Uuid class
Signed-off-by: Davis Peixoto <davis.peixoto@gmail.com >
2017-08-03 21:12:10 -03:00
Davis Peixoto
0915c7bdc2
173 - Expose UUID versions - Alternative 1
...
https://github.com/ramsey/uuid/issues/173
Creating constants on Uuid object, so they can be used as
- UUID::UUID_TYPE_TIME
- UUID::UUID_TYPE_RANDOM
# Alternative 1
Create constants on Uuid class
Signed-off-by: Davis Peixoto <davis.peixoto@gmail.com >
2017-08-02 08:55:26 -03:00
Davis Peixoto
3d1db97b4d
173 - Expose UUID versions - Alternative 1
...
https://github.com/ramsey/uuid/issues/173
Creating constants on Uuid object, so they can be used as
- Uuid::UUID_TYPE_TIME
- Uuid::UUID_TYPE_RANDOM
Signed-off-by: Davis Peixoto <davis.peixoto@gmail.com >
2017-08-01 15:40:21 -03:00
Ben Ramsey
c479cdd42f
Remove HHVM from the Travis CI build matrix
2017-07-31 02:30:25 -04:00
Ben Ramsey
446df35e87
Move util/ to tools/
...
GitHub ignores the contents of the tools/ directory for the purpose of
repo language statistics.
2017-03-26 16:03:42 -05:00
Ben Ramsey
4ae32dd9ab
Add change log notes for 3.6.1 release
3.6.1
2017-03-26 15:37:53 -05:00
Ben Ramsey
cc7bcfa142
Removed reference to Gitter chat
...
[ci skip]
2017-03-26 15:19:26 -05:00
Ben Ramsey
6a575eb09f
Merge pull request #164 from mhujer/mh-uuid-decoding-speedup
...
Optimize UUID string decoding
2017-03-26 15:10:48 -05:00
Martin Hujer
4eefce356d
Optimize UUID string decoding
...
I realized, that 30% of the request time in our app is spent by
hydrating the uuid (We are using Doctrine and in this specific request
I was accidentally hydrating few thousands entities). Luckily, I
remembered the #160 and tried to do similar optimization for uuid
decoding. It resulted in 10-20% performance improvement.
2017-03-26 19:02:20 +02:00
Ben Ramsey
ff6ad53a00
Allow alpha version of goaop/framework for PHP 5.4
2017-03-18 12:02:09 -05:00
Ben Ramsey
734eb56383
Allow older dependencies for earlier versions of PHP
2017-03-18 11:57:21 -05:00
Ben Ramsey
6d7b1dc123
Update dev dependencies so that tests succeed on PHP nightlies
2017-03-18 11:52:45 -05:00
Ben Ramsey
0b7bdfb180
Add change log notes for 3.6.0 release
3.6.0
2017-03-18 10:38:09 -05:00
Ben Ramsey
5ec8dd5826
Add fast_finish to Travis CI configuration
2017-03-18 10:38:09 -05:00
Ben Ramsey
eaf2cd937a
Move coveralls reporting to after_success
2017-03-18 10:38:09 -05:00
Ben Ramsey
9e1b234324
Add Composer scripts as shortcuts to tests and doc generation
2017-03-18 10:38:08 -05:00
Ben Ramsey
fa38bdddc5
Remove Gitter and Scrutinizer integration
2017-03-18 10:11:07 -05:00
Ben Ramsey
ded61ca8d8
Merge pull request #162 from garak/specific-exception
...
add a specific exception for invalid UUID string
2017-03-11 08:30:28 -06:00
Massimiliano Arione
a2647abc14
add a specific exception for invalid UUID string
2017-03-11 10:52:53 +01:00
Ben Ramsey
47fcdc6341
Merge pull request #160 from iainmckay/master
...
Improves memory usage when generating large quantities of UUID's
2017-03-10 12:37:11 -06:00
Iain Mckay
0a198d3d11
Improves memory usage when generating large quantities of UUID's
2017-03-09 09:01:12 +01:00
Ben Ramsey
38d8e5086d
Merge pull request #158 from Nyholm/patch-1
...
Be more specific about PHP versions
2017-03-08 08:02:19 -06:00
Tobias Nyholm
f2a7cd06bb
Be more specific about PHP versions
...
We do not support PHP6 nor PHP8.
2017-03-08 10:32:44 +01:00
Ben Ramsey
2f7d4ff00f
Add tests for uuid3() and uuid4() to test behavior for empty strings
2017-02-02 15:30:40 -06:00
Ben Ramsey
a2509c5910
Merge pull request #151 from mikeSimonson/patch-1
...
Upgrade of the travis configuration for php nightly
2017-01-24 08:49:21 -06:00
mikeSimonson
05af243d07
Upgrade of the travis configuration for php nightly
2017-01-24 15:22:46 +01:00
Ben Ramsey
41dcc417e2
Merge pull request #149 from colinajd/patch-1
...
bump copyright year
2017-01-05 20:48:25 -06:00
Colin Donaldson
5177375b59
bump copyright year
2017-01-06 00:40:52 +00:00
Ben Ramsey
5677cfe023
Add change log notes for 3.5.2 release
3.5.2
2016-11-22 13:21:44 -06:00
Ben Ramsey
34447f3f0f
Merge pull request #144 from lt/fix-php7-tests
...
Pin doctrine/annotations to a 1.2.x version (Fixes build)
2016-10-31 09:25:20 -05:00
Leigh
8a55a398d2
Pin doctrine/annotations to a 1.2.x version
...
1.3.x is currently causing test failures when used with goaop
1.0.0-alpha2 (which we are pinned at for PHP 5.4 compat)
2016-10-31 13:33:01 +00:00
Ben Ramsey
fe152ef1ee
Merge pull request #139 from jmauerhan/tests
...
Adding test coverage for getters/setters currently untested.
2016-10-26 09:58:11 -05:00
Jessica Mauerhan
02fc392d84
formatting
2016-10-18 08:53:11 -05:00
Jessica Mauerhan
bf1513433f
fixing formatting
2016-10-17 20:56:57 -05:00
Jessica Mauerhan
d4ece57761
Adding test coverage for getters/setters currently untested.
2016-10-17 20:53:01 -05:00
Ben Ramsey
2d19c68f5c
Merge pull request #138 from jmauerhan/master
...
Unit Tests: Add function mock test for systems without libsodium
2016-10-07 08:31:56 -05:00
Jessica Mauerhan
e0c2ff2a09
Fix code style
2016-10-06 11:10:40 -04:00
Jessica Mauerhan
ae2d1f8ca9
Add older version of phpmock
2016-10-06 11:00:35 -04:00
Jessica Mauerhan
761e5115be
Add function mock test for systems without libsodium
2016-10-04 16:23:36 -04:00
Ben Ramsey
a07797b986
Update CHANGELOG for version 3.5.1
3.5.1
2016-10-02 10:51:17 -05:00
Ben Ramsey
239c601b99
Merge pull request #137 from jmauerhan/compare-lowercase
...
UUID equals case-insensitive
2016-10-02 10:59:52 -04:00
Jessica Mauerhan
65cc76f721
remove extra ; causing PHPCBF to fail
2016-10-02 10:27:23 -04:00
Jessica Mauerhan
e80e3d5828
Convert string to lowercase. Fixes GH Issue #131
2016-09-30 16:01:45 -04:00
Jessica Mauerhan
0a620d1966
Added another failing test case for GH Issue $131
2016-09-30 16:00:46 -04:00
Jessica Mauerhan
58dd3dd249
Add failing test cases for case issue (GH Issue #131 )
2016-09-30 15:55:04 -04:00
Ben Ramsey
67fc99a93b
Merge pull request #136 from localheinz/fix/directory
...
Fix: Move tests one up
2016-09-16 13:48:57 -05:00
Andreas Möller
7ff6fff06d
Fix: Move tests one up
2016-09-15 08:31:27 +02:00