diff --git a/scoper.inc.php b/scoper.inc.php index bf08637..205385b 100644 --- a/scoper.inc.php +++ b/scoper.inc.php @@ -2,16 +2,14 @@ declare(strict_types=1); -use Isolated\Symfony\Component\Finder\Finder; - return [ - 'whitelist' => [ - // Whitelist providers + 'expose-classes' => [ + // Expose providers and provider interfaces 'Phly\KeepAChangelog\Provider\GitHub', 'Phly\KeepAChangelog\Provider\GitLab', 'Phly\KeepAChangelog\Provider\MilestoneAwareProviderInterface', 'Phly\KeepAChangelog\Provider\ProviderInterface', ], // Necessary for allowing polyfill classes - 'whitelist-global-classes' => false, + 'expose-global-classes' => false, ];