Skip to content

Commit

Permalink
Play with exposing/excluding extension points to work with bot `bin/i…
Browse files Browse the repository at this point in the history
…nfection` and `infection.phar`
  • Loading branch information
maks-rafalko committed May 4, 2024
1 parent 094ef17 commit ccbf248
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@

return [
'prefix' => 'Infected',
'exclude-classes' => [
'expose-classes' => [
'Infection\Mutator\Definition',
'Infection\Mutator\Mutator',
'Infection\Mutator\MutatorCategory',
],
'exclude-namespaces' => [
// we have to exclude it cause Mutator depends on PhpParser/Node interface, and it's not in a separate package
'/^PhpParser/'
],
'exclude-constants' => [
// Symfony global constants
'/^SYMFONY\_[\p{L}_]+$/',
Expand Down

0 comments on commit ccbf248

Please sign in to comment.