33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-13 16:56:36 +00:00

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

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);