oops
authorJean-Guilhem Rouel <jean-gui@w3.org>
Tue, 05 Aug 2014 14:28:24 +0200
changeset 331 08826af0ef87
parent 330 b5b5d02f9b01
child 332 816f70cc3c6b
oops
src/Org/W3/Cg/Pub/SpecBundle/Entity/SpecRev.php
--- a/src/Org/W3/Cg/Pub/SpecBundle/Entity/SpecRev.php	Tue Aug 05 14:26:30 2014 +0200
+++ b/src/Org/W3/Cg/Pub/SpecBundle/Entity/SpecRev.php	Tue Aug 05 14:28:24 2014 +0200
@@ -291,7 +291,7 @@
         if ($this->getFinal() && !preg_match('|^https?://([^/]+\.)?w3.org/|', $this->getUri())) {
             $propertyPath = $context->getPropertyPath(). '.uri';
             $context->setPropertyPath($propertyPath);
-            $context->addViolation('A final report must be hosted on w3.org');
+            $context->addViolation('A final report must be hosted on w3.org', array(), null);
         }
     }