Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EZP-28156] Use ezplatform-http-cache services when available #120

Merged
merged 2 commits into from
Oct 30, 2017
Merged

[EZP-28156] Use ezplatform-http-cache services when available #120

merged 2 commits into from
Oct 30, 2017

Conversation

wizhippo
Copy link
Contributor

@ezrobot
Copy link

ezrobot commented Oct 30, 2017

Tool version : PHP CS Fixer 2.7.1 Sandy Pool by Fabien Potencier and Dariusz Ruminski
Command executed php-cs-fixer --dry-run -v fix
This Pull Request does not respect PSR-2 Coding Standards, please, see the suggested diff below:

diff --git a/bundle/DependencyInjection/Compiler/HttpCachePass.php b/bundle/DependencyInjection/Compiler/HttpCachePass.php
index 671f1b3..54ecae3 100644
--- a/bundle/DependencyInjection/Compiler/HttpCachePass.php
+++ b/bundle/DependencyInjection/Compiler/HttpCachePass.php
@@ -6,7 +6,6 @@
  * @license For full copyright and license information view LICENSE file distributed with this source code.
  * @version //autogentag//
  */
-
 namespace eZ\Bundle\EzPublishLegacyBundle\DependencyInjection\Compiler;
 
 use eZ\Bundle\EzPublishCoreBundle\Cache\Http\InstantCachePurger;
@@ -28,7 +27,7 @@ class HttpCachePass implements CompilerPassInterface
 
         $container->addDefinitions([
             'ezplatform.http_cache.purger' => new Definition(InstantCachePurger::class,
-                [new Reference('ezplatform.http_cache.purge_client')])
+                [new Reference('ezplatform.http_cache.purge_client')]),
         ]);
 
         $container->getDefinition('ezpublish_legacy.switchable_http_cache_purger')

Copy link
Contributor

@andrerom andrerom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 with CS fixed :)

@andrerom andrerom merged commit 84065ab into ezsystems:master Oct 30, 2017
@wizhippo wizhippo deleted the EZP-28156 branch October 30, 2017 14:27
emodric added a commit that referenced this pull request Oct 31, 2017
andrerom pushed a commit that referenced this pull request Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants