Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Feb 4, 2020
1 parent f5e4950 commit de41204
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Store/CombinedStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function save(Key $key)
public function waitAndSave(Key $key)
{
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this)));
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', static::class));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Store/MemcachedStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function save(Key $key)
public function waitAndSave(Key $key)
{
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this)));
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', static::class));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Store/PdoStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ private function getDriver(): string
} else {
switch ($this->driver = $con->getDriver()->getName()) {
case 'mysqli':
throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', \get_class($this)));
throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', static::class));
case 'pdo_mysql':
case 'drizzle_pdo_mysql':
$this->driver = 'mysql';
Expand Down
2 changes: 1 addition & 1 deletion Store/RedisStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function save(Key $key)
public function waitAndSave(Key $key)
{
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this)));
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', static::class));
}

/**
Expand Down

0 comments on commit de41204

Please sign in to comment.