php 8.1 deprecation

This commit is contained in:
Nicola Galgano 2022-07-11 12:14:46 +02:00 committed by GitHub
parent 3d71447e5e
commit 90a25662f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class JedcheckerRulesGpl extends JEDcheckerRule
$compatLicenses = (array) file(__DIR__ . '/gpl/compat.txt');
$extraLicenses = $this->params->get('constants');
$extraLicenses = $this->params->get('constants', '');
$extraLicenses = explode(',', $extraLicenses);
$compatLicenses = array_merge($compatLicenses, $extraLicenses);