validation should treat @package as optional in file/page-level docblock #399

Merged
merged 1 commit into from Mar 19, 2012
@@ -38,7 +38,7 @@ class phpDocumentor_Plugin_Core_Parser_DocBlock_Validator_File
public function isValid()
{
$filename = $this->source->getFilename();
- if (!$this->docblock || !$this->docblock->hasTag('package')) {
+ if (!$this->docblock) {
$this->logParserError(
'ERROR', 50007, $this->lineNumber, array($filename)
);
@@ -54,4 +54,4 @@ public function isValid()
return parent::isValid();
}
-}
+}