mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/12349] Fix Sniffer for @license tag
PHPBB3-12349
This commit is contained in:
@@ -193,7 +193,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff
|
|||||||
*/
|
*/
|
||||||
protected function processLicense(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
|
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']))
|
if (!isset($tags['license']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user