Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Applied fixes from FlintCI
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Jan 5, 2021
1 parent 8f8a16b commit c759a51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/SymfonyCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function __construct(
array $types,
array $servers,
array $timeouts,
EventDispatcherInterface $eventDispatcher = null
?EventDispatcherInterface $eventDispatcher = null
) {
$this->router = $router;
$this->filesystem = $filesystem;
Expand Down
6 changes: 3 additions & 3 deletions src/Command/BaseCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ abstract class BaseCacheCommand extends ContainerAwareCommand
private $cacheManager;

public function __construct(
string $name = null,
CacheManagerInterface $cacheManager = null
?string $name = null,
?CacheManagerInterface $cacheManager = null
) {
parent::__construct($name);
if (null === $cacheManager) {
@trigger_error(sprintf(
'Not providing a cache manager to "%s" is deprecated since 3.x and will no longer be possible in 4.0',
\get_class($this)
static::class
), E_USER_DEPRECATED);
}
$this->cacheManager = $cacheManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Adapter/ApcCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ApcCacheTest extends TestCase
*/
private $cache;

public function setUp(): void
protected function setUp(): void
{
if (!\function_exists('apcu_store')) {
$this->markTestSkipped('APC is not installed');
Expand Down

0 comments on commit c759a51

Please sign in to comment.