Skip to content

Commit

Permalink
Improve regexps.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 6, 2017
1 parent b89bddf commit 1c8c93d
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -54,8 +54,7 @@ class FileLevelDocBlock extends Base
*
* @var string
*/
public $fileDescriptionRegexp = '/See the enclosed file (LICENSE|COPYING) for license information \((GPL|LGPL(-21)?|BSD|ASL)\)\. If you
did not receive this file, see https?:\/\/www\.horde\.org\/licenses\/(gpl|lgpl(21)?|bsd|apache)\./';
public $fileDescriptionRegexp = '/See the enclosed file (LICENSE|COPYING) for license information \((GPL|LGPL(-21)?|BSD|ASL)\)\. If you( |\n)did( |\n)not receive this file, see https?:\/\/www\.horde\.org\/licenses\/(gpl|lgpl(21)?|bsd|apache)\./';

/**
* Default tags for new, empty file-level DocBlocks.
Expand Down Expand Up @@ -102,7 +101,7 @@ class FileLevelDocBlock extends Base
*
* @var string
*/
public $classDescriptionRegexp = '/.*/';
public $classDescriptionRegexp = '//';

/**
* Default tags for new, empty class-level DocBlocks.
Expand Down

0 comments on commit 1c8c93d

Please sign in to comment.