Remove some unused variables and properties
This commit is contained in:
parent
ec4a160f0e
commit
ec92d9b12e
@ -246,7 +246,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$r = new \ReflectionClass($serviceId);
|
new \ReflectionClass($serviceId);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} catch (\ReflectionException $e) {
|
} catch (\ReflectionException $e) {
|
||||||
|
@ -32,7 +32,7 @@ class TagAwareAdapter implements TagAwareAdapterInterface, PruneableInterface, R
|
|||||||
private $setCacheItemTags;
|
private $setCacheItemTags;
|
||||||
private $getTagsByKey;
|
private $getTagsByKey;
|
||||||
private $invalidateTags;
|
private $invalidateTags;
|
||||||
private $tagsPool;
|
private $tags;
|
||||||
|
|
||||||
public function __construct(AdapterInterface $itemsPool, AdapterInterface $tagsPool = null)
|
public function __construct(AdapterInterface $itemsPool, AdapterInterface $tagsPool = null)
|
||||||
{
|
{
|
||||||
|
@ -24,12 +24,6 @@ use Symfony\Component\Lock\StoreInterface;
|
|||||||
*/
|
*/
|
||||||
class MemcachedStore implements StoreInterface
|
class MemcachedStore implements StoreInterface
|
||||||
{
|
{
|
||||||
private static $defaultClientOptions = array(
|
|
||||||
'persistent_id' => null,
|
|
||||||
'username' => null,
|
|
||||||
'password' => null,
|
|
||||||
);
|
|
||||||
|
|
||||||
private $memcached;
|
private $memcached;
|
||||||
private $initialTtl;
|
private $initialTtl;
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
|
@ -362,8 +362,6 @@ class Parser
|
|||||||
@trigger_error($this->getDeprecationMessage(sprintf('Duplicate key "%s" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated since version 3.2 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0.', $key)), E_USER_DEPRECATED);
|
@trigger_error($this->getDeprecationMessage(sprintf('Duplicate key "%s" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated since version 3.2 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0.', $key)), E_USER_DEPRECATED);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// remember the parsed line number here in case we need it to provide some contexts in error messages below
|
|
||||||
$realCurrentLineNbKey = $this->getRealCurrentLineNb();
|
|
||||||
$value = $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(), $flags);
|
$value = $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(), $flags);
|
||||||
if ('<<' === $key) {
|
if ('<<' === $key) {
|
||||||
$this->refs[$refMatches['ref']] = $value;
|
$this->refs[$refMatches['ref']] = $value;
|
||||||
|
Reference in New Issue
Block a user