summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rwxr-xr-xbuildscripts/PhpDocumentor/phpDocumentor/ParserDocBlock.inc6
-rw-r--r--buildscripts/PhpDocumentor/prado_patch_dot_in_package_name.patch31
3 files changed, 35 insertions, 3 deletions
diff --git a/.gitattributes b/.gitattributes
index 82a6b6f6..9dd0d8a0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1006,6 +1006,7 @@ buildscripts/PhpDocumentor/phpDocumentor/phpdoc.inc -text
buildscripts/PhpDocumentor/phpdoc -text
buildscripts/PhpDocumentor/phpdoc.php -text
buildscripts/PhpDocumentor/poweredbyphpdoc.gif -text
+buildscripts/PhpDocumentor/prado_patch_dot_in_package_name.patch -text
buildscripts/PhpDocumentor/scripts/add_cvs.php -text
buildscripts/PhpDocumentor/scripts/create_examples.php -text
buildscripts/PhpDocumentor/scripts/create_package.xml.php -text
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/ParserDocBlock.inc b/buildscripts/PhpDocumentor/phpDocumentor/ParserDocBlock.inc
index 2e29caeb..15eb7602 100755
--- a/buildscripts/PhpDocumentor/phpDocumentor/ParserDocBlock.inc
+++ b/buildscripts/PhpDocumentor/phpDocumentor/ParserDocBlock.inc
@@ -752,7 +752,7 @@ class parserDocBlock
$rest = implode($rest,"\t");
} else $value = trim($value[0]);
}
- $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
+ $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
$this->packagedescrip = $this->package = trim($value);
if (!empty($rest)) $this->packagedescrip = $rest;
} else
@@ -789,7 +789,7 @@ class parserDocBlock
}
if (!empty($value))
{
- $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
+ $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
}
$this->subpackage = trim($value);
if (!empty($rest)) $this->subpackagedescrip = $rest;
@@ -806,7 +806,7 @@ class parserDocBlock
{
if (!is_string($value))
$value = $value->getString();
- $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
+ $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
$this->category = $value;
} else
{
diff --git a/buildscripts/PhpDocumentor/prado_patch_dot_in_package_name.patch b/buildscripts/PhpDocumentor/prado_patch_dot_in_package_name.patch
new file mode 100644
index 00000000..8fa78de8
--- /dev/null
+++ b/buildscripts/PhpDocumentor/prado_patch_dot_in_package_name.patch
@@ -0,0 +1,31 @@
+Index: phpDocumentor/ParserDocBlock.inc
+===================================================================
+--- phpDocumentor/ParserDocBlock.inc (revisione 3068)
++++ phpDocumentor/ParserDocBlock.inc (copia locale)
+@@ -752,7 +752,7 @@
+ $rest = implode($rest,"\t");
+ } else $value = trim($value[0]);
+ }
+- $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
++ $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
+ $this->packagedescrip = $this->package = trim($value);
+ if (!empty($rest)) $this->packagedescrip = $rest;
+ } else
+@@ -789,7 +789,7 @@
+ }
+ if (!empty($value))
+ {
+- $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
++ $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
+ }
+ $this->subpackage = trim($value);
+ if (!empty($rest)) $this->subpackagedescrip = $rest;
+@@ -806,7 +806,7 @@
+ {
+ if (!is_string($value))
+ $value = $value->getString();
+- $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
++ $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
+ $this->category = $value;
+ } else
+ {