As mentioned in a comment of that pull request, the EnvatoPlugin::getSubscribedEvents() method is static preventing us from checking the instance property $config.
I've moved the config validation check to handlePreDownloadEvent().
Testing
I've tested the code in practice and I've run PHPStan which reports only the existing issues with EnvatoConfig.
Amends #16
As mentioned in a comment of that pull request, the
EnvatoPlugin::getSubscribedEvents()
method is static preventing us from checking the instance property$config
.I've moved the config validation check to
handlePreDownloadEvent()
.Testing
I've tested the code in practice and I've run PHPStan which reports only the existing issues with
EnvatoConfig
.