[ticket/12349] Fix Sniffer for @license tag

PHPBB3-12349
This commit is contained in:
Joas Schilling 2014-04-03 15:45:59 +02:00
parent 0a586258a2
commit e39c4f0d20

View file

@ -193,7 +193,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff
*/
protected function processLicense(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
{
$license = 'http://opensource.org/licenses/gpl-license.php GNU Public License';
$license = 'http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2';
if (!isset($tags['license']))
{