Skip to content

Commit

Permalink
Prefix namespaces in phar
Browse files Browse the repository at this point in the history
* exclude \Klitsche\Dog and \Twig
  • Loading branch information
dirx committed Nov 26, 2020
1 parent 46a7b84 commit d27c204
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion box.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"compression": "GZ",
"algorithm": "SHA256",
"compactors": [
"KevinGH\\Box\\Compactor\\Php"
"KevinGH\\Box\\Compactor\\Php",
"KevinGH\\Box\\Compactor\\PhpScoper"
],
"php-scoper": "box.php-scoper.php",
"git-tag": "git-tag"
}
8 changes: 8 additions & 0 deletions box.php-scoper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php declare(strict_types=1);

return [
'whitelist' => [
'Klitsche\Dog\*',
'Twig\*',
],
];

0 comments on commit d27c204

Please sign in to comment.