Skip to content

Commit

Permalink
fix: fix the scoper configuration
Browse files Browse the repository at this point in the history
Since we last built, php-scoper has a new pre-1.0 release, 0.18, which removes "whitelist" verbiage in favor of "expose"... which made our previous configuration break.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Nov 17, 2024
1 parent 0795d58 commit ea87d7a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];

0 comments on commit ea87d7a

Please sign in to comment.