Skip to content

Commit 98c3602

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Fixes windows error Removed unused field. [Lock] Stores must implement `putOffExpiration` Annotated correct return type for getInEdges()/getOutEdges().
2 parents 50dfcaa + 02a25fe commit 98c3602

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
$prevRoot = getenv('COMPOSER_ROOT_VERSION');
129129
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99");
130130
// --no-suggest is not in the list to keep compat with composer 1.0, which is shipped with Ubuntu 16.04LTS
131-
$exit = proc_close(proc_open("$COMPOSER install --no-dev --prefer-dist --no-progress --ansi", array(), $p, getcwd(), null, array('bypass_shell' => true)));
131+
$exit = proc_close(proc_open("$COMPOSER install --no-dev --prefer-dist --no-progress --ansi", array(), $p));
132132
putenv('COMPOSER_ROOT_VERSION'.(false !== $prevRoot ? '='.$prevRoot : ''));
133133
if ($exit) {
134134
exit($exit);

src/Symfony/Component/DependencyInjection/Compiler/AnalyzeServiceReferencesPass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class AnalyzeServiceReferencesPass extends AbstractRecursivePass implements Repe
3434
private $onlyConstructorArguments;
3535
private $hasProxyDumper;
3636
private $lazy;
37-
private $expressionLanguage;
3837
private $byConstructor;
3938
private $definitions;
4039
private $aliases;

src/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getId()
8181
/**
8282
* Returns the in edges.
8383
*
84-
* @return array The in ServiceReferenceGraphEdge array
84+
* @return ServiceReferenceGraphEdge[]
8585
*/
8686
public function getInEdges()
8787
{
@@ -91,7 +91,7 @@ public function getInEdges()
9191
/**
9292
* Returns the out edges.
9393
*
94-
* @return array The out ServiceReferenceGraphEdge array
94+
* @return ServiceReferenceGraphEdge[]
9595
*/
9696
public function getOutEdges()
9797
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function waitAndSave(Key $key)
9595
*/
9696
public function putOffExpiration(Key $key, $ttl)
9797
{
98-
throw new NotSupportedException();
98+
// do nothing, zookeeper locks forever.
9999
}
100100

101101
/**

src/Symfony/Component/Lock/StoreInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public function waitAndSave(Key $key);
4949
* @param float $ttl amount of seconds to keep the lock in the store
5050
*
5151
* @throws LockConflictedException
52-
* @throws NotSupportedException
5352
*/
5453
public function putOffExpiration(Key $key, $ttl);
5554

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy