Skip to content

Commit

Permalink
Cleanup phpdocs in code. Added some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
webpatser committed Feb 20, 2015
1 parent 97586e7 commit 92c9db8
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 76 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
"require" : {
"php" : ">=5.3.0"
},
"require-dev" : {
"phpunit/phpunit": "4.5.*"
},
"autoload" : {
"psr-0" : {
"Webpatser\\Uuid" : "src/"
}
},
"minimum-stability" : "dev",
"support" : {
"source" : "https://github.com/webpatser/laravel-uuid",
"issues" : "https://github.com/webpatser/laravel-uuid/issues"
Expand Down
27 changes: 27 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0"?>
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
syntaxCheck="false"
verbose="true"
>
<filter>
<whitelist>
<directory suffix=".php">../src/</directory>
</whitelist>
</filter>
<testsuites>
<testsuite name="default">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Latest Unstable Version](https://poser.pugx.org/webpatser/laravel-uuid/v/unstable.svg)](https://packagist.org/packages/webpatser/laravel-uuid)


Laravel package to generate a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in.
Laravel package to generate a UUID according to the RFC 4122 standard. Support for version 1, 3, 4 and 5 UUID are built-in.


## Installation
Expand Down
Loading

0 comments on commit 92c9db8

Please sign in to comment.