GitHub PullRequestReviewCommentEvent at 2014-02-19 10:33:50
Repository: symfony
Actor: webmozart
Payload: {"comment":{"url":"https://api.github.com/repos/symfony/symfony/pulls/comments/9860376","id":9860376,"diff_hunk":"@@ -0,0 +1,41 @@\n+<?php\n+\n+/*\n+ * This file is part of the Symfony package.\n+ *\n+ * (c) Fabien Potencier <fabien@symfony.com>\n+ *\n+ * For the full copyright and license information, please view the LICENSE\n+ * file that was distributed with this source code.\n+ */\n+\n+namespace Symfony\\Component\\Validator\\Constraints;\n+\n+use Symfony\\Component\\Validator\\Constraint;\n+\n+/**\n+ * @Annotation\n+ *\n+ * @author Colin O'Dell <colinodell@gmail.com>\n+ *\n+ * @api\n+ */\n+class Uuid extends Constraint\n+{\n+    const VERSION_1_MAC_ADDRESS = '1';\n+    const VERSION_2_DCE_SECURITY = '2';\n+    const VERSION_3_MD5_HASH = '3';\n+    const VERSION_4_RANDOM = '4';\n+    const VERSION_5_SHA_1_HASH = '5';\n+\n+    public $message = 'This is not a valid UUID.';\n+\n+    public $versionMessage = 'UUID version {{ version }} values are not allowed.';\n+    public $allowedVersions = array(","path":"src/Symfony/Component/Validator/Constraints/Uuid.php","position":34,"original_position":34,"commit_id":"01d5725919ec85bd39799714eb86f93bb69161a7","original_commit_id":"01d5725919ec85bd39799714eb86f93bb69161a7","user":{"login":"webmozart","id":176399,"avatar_url":"https://gravatar.com/avatar/24d20907afea0f684e62d620b886af16?d=https%3A%2F%2Fidenticons.github.com%2F488a8737e8a7edb3873e6690f0bc468e.png&r=x","gravatar_id":"24d20907afea0f684e62d620b886af16","url":"https://api.github.com/users/webmozart","html_url":"https://github.com/webmozart","followers_url":"https://api.github.com/users/webmozart/followers","following_url":"https://api.github.com/users/webmozart/following{/other_user}","gists_url":"https://api.github.com/users/webmozart/gists{/gist_id}","starred_url":"https://api.github.com/users/webmozart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmozart/subscriptions","organizations_url":"https://api.github.com/users/webmozart/orgs","repos_url":"https://api.github.com/users/webmozart/repos","events_url":"https://api.github.com/users/webmozart/events{/privacy}","received_events_url":"https://api.github.com/users/webmozart/received_events","type":"User","site_admin":false},"body":"Please change the name of this property to \"versions\". \"Allowed\" is implicit, since this is a constraint.","created_at":"2014-02-19T10:33:50Z","updated_at":"2014-02-19T10:33:50Z","html_url":"https://github.com/symfony/symfony/pull/10291#discussion_r9860376","pull_request_url":"https://api.github.com/repos/symfony/symfony/pulls/10291","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments/9860376"},"html":{"href":"https://github.com/symfony/symfony/pull/10291#discussion_r9860376"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony/pulls/10291"}}}}