Permalink
Browse files

Merge pull request #223 from nemekzg/DCOM-160

Fix for DCOM-106
  • Loading branch information...
schmittjoh committed Nov 20, 2012
2 parents 30b8cea + cc7b613 commit 3fd73438b75363eb426f79e10af2ff5d89e396d3
@@ -60,7 +60,7 @@ class AnnotationReader implements Reader
'subpackage'=> true, 'name'=> true, 'global'=> true, 'param'=> true,
'return'=> true, 'staticvar'=> true, 'category'=> true, 'staticVar'=> true,
'static'=> true, 'var'=> true, 'throws'=> true, 'inheritdoc'=> true,
- 'inheritDoc'=> true, 'license'=> true, 'todo'=> true,
+ 'inheritDoc'=> true, 'license'=> true, 'todo'=> true, 'TODO'=> true,
'deprec'=> true, 'property' => true, 'method' => true,
'abstract'=> true, 'exception'=> true, 'magic' => true, 'api' => true,
'final'=> true, 'filesource'=> true, 'throw' => true, 'uses' => true,
@@ -69,7 +69,7 @@ class AnnotationReader implements Reader
'Required' => true, 'Attribute' => true, 'Attributes' => true,
'Target' => true, 'SuppressWarnings' => true,
'ingroup' => true, 'code' => true, 'endcode' => true,
- 'package_version' => true,
+ 'package_version' => true, 'fixme' => true
);
/**
@@ -376,6 +376,16 @@ public function testAnnotationEnumeratorException()
}
}
+ /**
+ * @group DCOM-106
+ */
+ public function testIgnoreFixMeAndUpperCaseToDo()
+ {
+ $reader = $this->getReader();
+ $ref = new \ReflectionClass('Doctrine\Tests\Common\Annotations\DCOM106');
+ $reader->getClassAnnotations($ref);
+ }
+
/**
* @return AnnotationReader
*/
@@ -545,6 +555,16 @@ class DummyClassWithEmail
}
+
+/**
+ * @fixme public
+ * @TODO
+ */
+class DCOM106
+{
+
+}
+
namespace Doctrine\Tests\Common\Annotations\Foo;
/** @Annotation */
@@ -559,5 +579,4 @@ class Name extends \Doctrine\Common\Annotations\Annotation
class Name extends \Doctrine\Common\Annotations\Annotation
{
public $name;
-}
-
+}

0 comments on commit 3fd7343

Please sign in to comment.