Skip to content

Commit

Permalink
Merge branch '2.0.x' into issue-1425
Browse files Browse the repository at this point in the history
  • Loading branch information
gennadigennadigennadi authored Jul 24, 2024
2 parents 4221d92 + 02dd89e commit 9055be9
Show file tree
Hide file tree
Showing 18 changed files with 288 additions and 143 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
'self_static_accessor' => true,
'static_lambda' => true,
'strict_param' => true,
'multiline_whitespace_before_semicolons' => ['strategy' => 'new_line_for_chained_calls'],
])
->setFinder($finder);
9 changes: 6 additions & 3 deletions config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@

$services
->defaults()
->public();
->public()
;

$services
->set(AstFileReferenceFileCache::class)
->args(['%cache_file%', Application::VERSION]);
->args(['%cache_file%', Application::VERSION])
;

$services->alias(AstFileReferenceDeferredCacheInterface::class, AstFileReferenceFileCache::class);
$services->alias(AstFileReferenceCacheInterface::class, AstFileReferenceDeferredCacheInterface::class);

$services
->set(CacheableFileSubscriber::class)
->args([service(AstFileReferenceFileCache::class)])
->tag('kernel.event_subscriber');
->tag('kernel.event_subscriber')
;
};
Loading

0 comments on commit 9055be9

Please sign in to comment.