CS fixes.

This commit is contained in:
Vasil Rangelov
2012-11-27 19:52:28 +02:00
parent 5712aa6efd
commit 23dedb3e10
5 changed files with 19 additions and 7 deletions
+3 -3
View File
@@ -136,7 +136,7 @@ class DocBlock implements \Reflector
} else {
// clears all extra horizontal whitespace from the line endings
// to prevent parsing issues
$comment = preg_replace('~(?m)\h*$~u', '', $comment);
$comment = preg_replace('/\h*$/Sum', '', $comment);
/*
* Splits the docblock into a short description, long description and
@@ -153,7 +153,7 @@ class DocBlock implements \Reflector
* Big thanks to RichardJ for contributing this Regular Expression
*/
preg_match(
'/(?x)
'/
\A (
[^\n.]+
(?:
@@ -176,7 +176,7 @@ class DocBlock implements \Reflector
)
)?
(\s+ [\s\S]*)? # everything that follows
/u',
/ux',
$comment,
$matches
);
@@ -31,7 +31,7 @@ class Context
protected $lsen = '';
/**
*
* Cteates a new context.
* @param string $namespace The namespace where this DocBlock
* resides in.
* @param array $namespace_aliases List of namespace aliases => Fully