Skip to content

Commit

Permalink
Update carbon (#285)
Browse files Browse the repository at this point in the history
* add nesbot/carbon to composer, adapt to new version

* revert now() adaption

* cs fix

* fix cs

* fix test

* Apply php-cs-fixer changes

* fix test

* Apply php-cs-fixer changes

* fix test

* fix test

---------

Co-authored-by: alexz707 <[email protected]>
  • Loading branch information
alexz707 and alexz707 authored Feb 14, 2025
1 parent 7578102 commit f5e8f4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Codeception\Test\Unit;
use Pimcore\Bundle\GenericDataIndexBundle\SearchIndexAdapter\SearchIndexServiceInterface;
use Pimcore\Bundle\GenericDataIndexBundle\Service\SearchIndex\CachedSearchIndexMappingService;
use Pimcore\Bundle\StaticResolverBundle\Contract\Lib\Cache\RuntimeCacheResolverContract;
use Pimcore\Bundle\StaticResolverBundle\Lib\Cache\RuntimeCacheResolver;

/**
* @internal
Expand All @@ -36,7 +36,7 @@ public function _before(): void
});

$this->cachedSearchIndexMappingService = new CachedSearchIndexMappingService(
new RuntimeCacheResolverContract(),
new RuntimeCacheResolver(),
$searchIndexServiceMock
);
}
Expand Down

0 comments on commit f5e8f4b

Please sign in to comment.