Skip to content

Commit

Permalink
use static scope prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
gennadigennadigennadi committed Jun 4, 2024
1 parent b4378d1 commit 8045684
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,26 @@

use Isolated\Symfony\Component\Finder\Finder;

$datePrefix = (new DateTimeImmutable('now'))->format('Ym');
$polyfillsBootstrap = Finder::create()
->files()
->in(__DIR__.'/vendor/symfony/polyfill-*')
->name('*.php');

return [
'prefix' => 'DEPTRAC_'.$datePrefix,
'prefix' => 'DEPTRAC_INTERNAL',
'finders' => [
Finder::create()->files()->in([
'config',
'src',
'vendor',
])->append([
'bin/deptrac',
'deptrac.config.php',
'composer.json',
])->exclude([
'bin',
'tests',
'test',
])->notName('/.*\\.(xml|md|dist|neon)|Makefile|composer\\.json|composer\\.lock/'),
])->notName('/.*\\.(xml|md|dist|neon|zip)|Makefile|composer\\.json|composer\\.lock/'),
],
'patchers' => [],
'tag-declarations-as-internal' => false,
Expand Down

0 comments on commit 8045684

Please sign in to comment.