Ben Ramsey
90fd1531d0
Fixing PSR2 standards violations reported by PHP_CodeSniffer
2014-11-08 15:50:04 -05:00
Ben Ramsey
cd2d09c356
Introduce Converter namespace and move Number and Time classes into it
2014-11-08 14:43:09 -05:00
Thibaud Fabre
61ba697853
Fix decode output for v5 (incorrect hash algo name)
2014-11-08 16:28:19 +01:00
Thibaud Fabre
6ef25d3040
Refactor long method
2014-11-08 16:13:49 +01:00
Thibaud Fabre
260063c1b5
Fix incorrect return type
2014-11-08 16:01:48 +01:00
Thibaud Fabre
cce58a0b8a
Fix doc comments and remove unneeded usings
2014-11-08 15:57:30 +01:00
Thibaud Fabre
ed06e0a84e
Remove unused code
2014-11-08 15:50:19 +01:00
Thibaud Fabre
b0192fa9b0
Handle unknown versions
2014-11-08 15:42:36 +01:00
Thibaud Fabre
04c64d6f45
Refactor duplicate code
2014-11-08 15:41:53 +01:00
Thibaud Fabre
9df122eb00
Remove duplication in UuidFactory
2014-11-08 15:08:06 +01:00
Thibaud Fabre
c07988fe31
Refactor codecs to remove duplication
2014-11-08 15:00:58 +01:00
Thibaud Fabre
84123b2060
Remove all env related logic from factory
...
Defers all environment related decisions to factory initialization
All behavior is customizable through DI, but all deps are initialized to proper default instances
Removes static factory configuration
2014-11-08 12:41:40 +01:00
Thibaud Fabre
f97c9e08f9
Rename degraded feature classes with more consistent names
2014-11-06 10:42:02 +01:00
Thibaud Fabre
cd3e58b1f5
Refactor fromInteger method to use factory
2014-10-30 16:07:48 +01:00
Thibaud Fabre
653349f490
Remove final keyword (rebase error...)
2014-10-30 15:26:30 +01:00
Thibaud Fabre
053a25f335
Remove 5.3 build & debug info
2014-10-30 15:16:59 +01:00
Thibaud Fabre
fead6f3223
Refactor in the spirit of #1 & #34
2014-10-30 15:16:59 +01:00
Thibaud Fabre
723ef345bf
Refactor factory functions
...
Remove $littleEndian parameter
Add fromGuidString/Bytes factory methods for GUIDs
No longer possible to output GUIDs as UUIDs and vice-versa
Pass tests
2014-10-30 15:15:16 +01:00
Thibaud Fabre
13b3bf7ed9
Refactor from/toString methods to codecs
2014-10-30 15:15:16 +01:00
Thibaud Fabre
65916f2928
Set default timezone in PHPUnit bootstrap to pass HHVM tests
2014-10-30 15:13:45 +01:00
Thibaud Fabre
0650b46d0e
Remove non PHP 5.3 syntax
2014-10-30 15:13:45 +01:00
Thibaud Fabre
b28029fbc7
Add support for MS GUIDs
2014-10-30 15:13:45 +01:00
Ben Ramsey
750801f4f5
Fixing the copyright years to coincide with the first release
2014-10-30 01:05:28 -05:00
Ben Ramsey
92107d8f56
Merge branch '2.8' into 3.0
2014-10-30 00:42:20 -05:00
Ben Ramsey
3d753656ed
Merge branch 'master' into 2.8
2014-10-30 00:40:17 -05:00
Ben Ramsey
a0544fe71b
Updating README to use version 3.0 in Composer install example
2014-10-30 00:39:01 -05:00
Ben Ramsey
3b0ae30bef
Merge branch '2.8' into 3.0
2014-10-30 00:38:36 -05:00
Ben Ramsey
0bd3a90932
Updating README to use version 2.8 in Composer install example
2014-10-30 00:37:22 -05:00
Ben Ramsey
32f7d7f8d8
Auto-generated changes to apigen.neon by apigen-4.0.0-RC3
2014-10-30 00:14:33 -05:00
Ben Ramsey
dc1b735dd0
Merge branch 'dvankley-dvk/remove_final' into 3.0
2014-10-29 23:13:17 -05:00
Ben Ramsey
e3d39bce99
Merge branch 'dvk/remove_final' of github.com:dvankley/uuid into dvankley-dvk/remove_final
...
Conflicts:
src/Uuid.php
2014-10-29 23:09:20 -05:00
Ben Ramsey
c4562a6aee
Merge branch 'gdbots-jsonserializable' into 3.0
2014-10-29 23:05:40 -05:00
Ben Ramsey
57b3ac7a78
Merge branch 'jsonserializable' of github.com:gdbots/uuid-php into gdbots-jsonserializable
2014-10-29 23:05:05 -05:00
Ben Ramsey
38801aa54d
Merge branch '2.8' into 3.0
2014-10-29 23:01:10 -05:00
Ben Ramsey
8db67829db
Merge branch 'terrycorley-add-from-integer' into 2.8
2014-10-29 22:52:52 -05:00
Ben Ramsey
0e7e2b8043
Merge branch 'add-from-integer' of github.com:terrycorley/uuid into terrycorley-add-from-integer
2014-10-29 22:52:33 -05:00
Ben Ramsey
547bed31f0
Merge branch 'boekkooi-patch-1' into 2.8
2014-10-29 22:47:47 -05:00
Ben Ramsey
4e445a5467
Merge branch 'patch-1' of github.com:boekkooi/uuid into boekkooi-patch-1
2014-10-29 22:47:27 -05:00
Ben Ramsey
2189e9cd80
Merge branch 'master' into 2.8
2014-10-29 22:44:33 -05:00
Ben Ramsey
94b0103ef8
Setting version in master to 2.7.x-dev
2014-10-29 22:39:33 -05:00
Ben Ramsey
eb1d371067
Bumping the version number to 2.7.4
2.7.4
2014-10-29 22:36:49 -05:00
Ben Ramsey
72a7201162
Merge pull request #37 from fisharebest/gitattributes
...
Exclude build/development tools from releases using .gitattributes
2014-10-29 21:05:37 -05:00
Ben Ramsey
027e7780db
Merge pull request #35 from jwpage/doc_toString
...
Use toString function in README
2014-10-29 20:51:08 -05:00
Ben Ramsey
e66eb997a1
Set timezone for tests
2014-10-24 08:55:20 -05:00
Greg Roach
6485884397
Exclude build/development tools from releases using .gitattributes
2014-10-24 14:31:22 +01:00
Johnson
6ae242b0cc
Set the default timezone to avoid errors in hhvm
...
Added a default timezone to the bootstrap.php to fix errors in HHVM
tests, which was introduced when Travis removed the default `/etc/hhvm/php.ini`
in https://github.com/travis-ci/travis-ci/issues/2523#issuecomment-59303763
2014-10-19 17:58:09 +11:00
Johnson
3ba3365808
Use toString function in README
...
This helps illustrate that the uuidX() functions return Uuid objects,
and not strings.
2014-10-19 15:57:14 +11:00
Ben Ramsey
a8c91e04f6
Merge pull request #33 from gabrielsch/fix/unused-variable
...
Optimizing byte generation loop
2014-10-10 13:46:04 -05:00
Gabriel Schmitt
02b97224f2
Fixing unused variable on byte generation loop.
2014-10-10 14:55:19 -03:00
Warnar Boekkooi
2e9402d1a3
Doctrine conversion make friendlier
2014-09-05 11:22:32 +08:00