Merge pull request #183 from alikon/patch-1

php 8.1 deprecation
This commit is contained in:
Denis Ryabov 2022-07-11 19:18:23 +09:00 committed by GitHub
commit a33ff617d8
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);