Commit Graph

39 Commits

Author SHA1 Message Date
Ben Ramsey 1bc50e4fb8 Test for UuidType::getSqlDeclaration 2012-08-06 20:30:58 -05:00
Ben Ramsey 7c8126d3b3 Test for UuidType::getName 2012-08-06 20:19:25 -05:00
Ben Ramsey b78227ea5d Full code-coverage for UuidType::convertToDatabaseValue 2012-08-06 20:17:18 -05:00
Ben Ramsey 554e002240 Creating more explicit method names for tests 2012-08-06 20:14:50 -05:00
Ben Ramsey 731d12d69c Adding @covers annotations for PHPUnit 2012-08-06 20:14:07 -05:00
Ben Ramsey 38193ef0c4 Updating Travis CI config and skipping tests for 32-bit builds. 2012-08-06 20:06:02 -05:00
Ben Ramsey 33f3b14e35 Merge branch 'master' of github.com:ramsey/uuid
* 'master' of github.com:ramsey/uuid:
  Suggest the installation of `doctrine/dbal`.
  Change minimum required package stability.
  Utilize native SQL field type declarations.
  Improve code PSR-0, PSR-1 and PSR-2 compliance.
  Add UUID type definition for Doctrine DBAL.
  Fixing the Travis CI build script.
  Correct default `phpunit` configuration filename.
  Added 64-bit requirement to the description.
  Finished writing library API documentation for README.
  Fixing the broken markdown syntax.
  Cleaned up some awkward working in the README.
  Adding code to detect whether this is a 32-bit or 64-bit PHP build
2012-08-06 11:53:28 -05:00
Ben Ramsey a73c09e788 Merge pull request #5 from marijn/doctrine
Add UUID type definition for Doctrine DBAL.
2012-08-06 18:00:49 -07:00
Marijn Huizendveld 487c61a27f Suggest the installation of doctrine/dbal. 2012-08-07 01:00:48 +02:00
Marijn Huizendveld b3b621d77d Change minimum required package stability.
The 2.3 version of `doctrine/dbal` has not been released yet.
2012-08-07 00:56:28 +02:00
Marijn Huizendveld ecdb6f4f82 Utilize native SQL field type declarations.
Doctrine provides a method to get the platform independent SQL field
declaration.
2012-08-07 00:51:33 +02:00
Marijn Huizendveld 5d9ff8c07e Improve code PSR-0, PSR-1 and PSR-2 compliance.
- tabs -> spaces
- whitespace around control structures
2012-08-06 18:30:02 +02:00
Marijn Huizendveld dcbb873e62 Add UUID type definition for Doctrine DBAL.
This allows the use of [custom mapping types][1] when using the Doctrine
DBAL or Doctrine ORM.

[1]: http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html#custom-mapping-types
2012-08-06 18:03:54 +02:00
Ben Ramsey 53a7d85024 Fixing the Travis CI build script. 2012-08-06 07:44:26 -05:00
Ben Ramsey 3415a1e8cd Merge pull request #3 from marijn/phpunit
Correct default `phpunit` configuration filename.
2012-08-06 05:42:04 -07:00
Marijn Huizendveld 49429be630 Correct default phpunit configuration filename.
The `phpunit.xml.dist` file will now be detected when running `$ phpunit`.
2012-08-06 09:42:37 +02:00
Ben Ramsey 7844efd86d Added 64-bit requirement to the description. 1.0.0 2012-07-19 18:56:14 -05:00
Ben Ramsey 13cc05ab36 Finished writing library API documentation for README. 2012-07-19 18:50:48 -05:00
Ben Ramsey 765b3fcf33 Fixing the broken markdown syntax. 2012-07-19 17:07:38 -05:00
Ben Ramsey f9a2e38219 Cleaned up some awkward working in the README. 2012-07-19 17:05:24 -05:00
Ben Ramsey d0ffcb2d4a Adding code to detect whether this is a 32-bit or 64-bit PHP build 2012-07-19 17:02:19 -05:00
Ben Ramsey e3c1731e21 Added more description, examples, and installation notes 2012-07-18 20:43:21 -05:00
Ben Ramsey e112360dad Adding config for Travis CI 2012-07-18 20:17:40 -05:00
Ben Ramsey a1fc4ef300 Implemented compareTo() and equals() 2012-07-18 20:13:37 -05:00
Ben Ramsey ebf1640ccb Implemented support for v3, v4, and v5 UUIDs. 2012-07-18 19:24:02 -05:00
Ben Ramsey 7450337147 Better UUIDv1 testing and generation of random node value 2012-07-18 19:22:24 -05:00
Ben Ramsey 5147809865 Pointing phpunit configuration to use the new src/ directory 2012-07-18 19:17:29 -05:00
Ben Ramsey f4616584f9 Cleanup with some name changes. 2012-07-18 17:21:42 -05:00
Ben Ramsey 302b5c519d Streamlining toString() method 2012-07-18 17:20:54 -05:00
Ben Ramsey 1b26a6da84 Shortened the names of most/least significant bits internally 2012-07-18 17:19:12 -05:00
Ben Ramsey db0cf77ed4 Renamed library/ to src/ to be consistent with other projects. 2012-07-18 16:55:29 -05:00
Ben Ramsey f2060ada25 Stubs for uuid3 and uuid5 2012-07-17 20:33:03 -05:00
Ben Ramsey 2b812d8200 Update composer.json 2012-07-17 20:32:36 -05:00
Ben Ramsey 7cbc62a40f Adding getFields() method to return array of fields. 2012-07-08 17:52:16 -05:00
Ben Ramsey 628d93a860 Better fromString() handling to allow URN strings. 2012-07-08 17:27:04 -05:00
Ben Ramsey 12146272b3 Adding getUrn() method with test 2012-07-08 17:17:20 -05:00
Ben Ramsey cba8a1b22e Wrapping lines for cleanliness. 2012-07-05 20:07:10 -05:00
Ben Ramsey 29587596d7 Updated comment for fromString() to include @throws. 2012-07-05 18:36:34 -05:00
Ben Ramsey dc93facbac Initial commit; supports UUID version 1 generation. 2012-07-05 18:29:35 -05:00