Skip to content

Commit 0ccdde7

Browse files
Remove zookeeper bridge
1 parent 64cff5b commit 0ccdde7

File tree

8 files changed

+1
-302
lines changed

8 files changed

+1
-302
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
"Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/",
119119
"Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/",
120120
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
121-
"Symfony\\Bridge\\Zookeeper\\": "src/Symfony/Bridge/Zookeeper/",
122121
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
123122
"Symfony\\Component\\": "src/Symfony/Component/",
124123
"Symfony\\Contracts\\": "src/Symfony/Contracts/"

src/Symfony/Bridge/Zookeeper/Lock/CHANGELOG.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/Symfony/Bridge/Zookeeper/Lock/Store/ZookeeperStore.php

Lines changed: 0 additions & 225 deletions
This file was deleted.

src/Symfony/Bridge/Zookeeper/Lock/Tests/Store/ZookeeperStoreTest.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/Symfony/Bridge/Zookeeper/Lock/phpunit.xml.dist

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Symfony/Component/Lock/Store/StoreFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Lock\Store;
1313

14-
use Symfony\Bridge\Zookeeper\Lock\Store\ZookeeperStore;
1514
use Symfony\Component\Cache\Traits\RedisProxy;
1615
use Symfony\Component\Lock\Exception\InvalidArgumentException;
1716

src/Symfony/Component/Lock/Store/ZookeeperStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function createNewLock(
174174

175175
// If a node needs to be created with the path "/node1/node2/node3",
176176
// this loop will create "/node1" and "/node1/node2" before creation of deepest level node.
177-
while (count($parts) > 1) {
177+
while (\count($parts) > 1) {
178178
$subpath .= '/'.array_shift($parts);
179179

180180
if ($this->zookeeper->exists($subpath)) {

src/Symfony/Component/Lock/Tests/Store/ZookeeperStoreTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Lock\Store\ZookeeperStore;
1515

16-
1716
/**
1817
* @author Ganesh Chandrasekaran <gchandrasekaran@wayfair.com>
1918
*

0 commit comments

Comments
 (0)