From 8045684585bdcc6990cad5b3f5da576211659410 Mon Sep 17 00:00:00 2001 From: Gennadi McKelvey Date: Tue, 4 Jun 2024 13:45:43 +0200 Subject: [PATCH] use static scope prefix --- scoper.inc.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scoper.inc.php b/scoper.inc.php index 49be6f70..2fc66bc9 100644 --- a/scoper.inc.php +++ b/scoper.inc.php @@ -4,14 +4,13 @@ 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', @@ -19,13 +18,12 @@ '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,