php/WP_CLI/DocParser.php
private static function remove_decorations( $comment ) {
		$comment = preg_replace( '|^/\*\*[\r\n]+|', '', $comment );
		$comment = preg_replace( '|\n[\t ]*\*/$|', '', $comment );
		$comment = preg_replace( '|^[\t ]*\* ?|m', '', $comment );

		return $comment;
	}
private static function remove_decorations( $comment ) {
		$comment = preg_replace( '|^/\*\*[\r\n]+|', '', $comment );
		$comment = preg_replace( '|\n[\t ]*\*/$|', '', $comment );
		$comment = preg_replace( '|^[\t ]*\* ?|m', '', $comment );

		return $comment;
	}
private static function remove_decorations ( $ comment ) { $ comment = preg_replace ( '|^/\*\*[\r\n]+|' , '' , $ comment ) ; $ comment = preg_replace ( '|\n[\t ]*\*/$|' , '' , $ comment ) ; $ comment = preg_replace ( '|^[\t ]*\* ?|m' , '' , $ comment ) ; return $ comment ; }
Remove unused cruft from PHPdoc comment.

@param string $comment PHPdoc comment.
@return string
Remove unused cruft from PHPdoc comment .