From d0244ef3f1bdd59117f90fa4639ce58d441fd0ef Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 6 Feb 2014 10:53:19 +0100 Subject: [PATCH] Applying automated CS fixes --- src/ProxyManager/Configuration.php | 1 + .../MethodGenerator/Util/InterceptorGenerator.php | 6 +++--- .../MethodGenerator/Util/InterceptorGenerator.php | 6 +++--- .../ProxyGenerator/Util/PublicScopeSimulator.php | 10 +++++----- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/ProxyManager/Configuration.php b/src/ProxyManager/Configuration.php index b0dcbb092..486ff5dd8 100644 --- a/src/ProxyManager/Configuration.php +++ b/src/ProxyManager/Configuration.php @@ -70,6 +70,7 @@ public function setAutoGenerateProxies() /** * @return bool + * * @deprecated deprecated since version 0.5 */ public function doesAutoGenerateProxies() diff --git a/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php b/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php index 7835eb023..c43463506 100644 --- a/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php +++ b/src/ProxyManager/ProxyGenerator/AccessInterceptorScopeLocalizer/MethodGenerator/Util/InterceptorGenerator.php @@ -33,9 +33,9 @@ class InterceptorGenerator { /** - * @param string $methodBody the body of the previously generated code. - * It MUST assign the return value to a variable - * `$returnValue` instead of directly returning + * @param string $methodBody the body of the previously generated code. + * It MUST assign the return value to a variable + * `$returnValue` instead of directly returning * @param \ProxyManager\Generator\MethodGenerator $method * @param \Zend\Code\Generator\PropertyGenerator $prefixInterceptors * @param \Zend\Code\Generator\PropertyGenerator $suffixInterceptors diff --git a/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php b/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php index b713a1e1a..0a6f58acc 100644 --- a/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php +++ b/src/ProxyManager/ProxyGenerator/AccessInterceptorValueHolder/MethodGenerator/Util/InterceptorGenerator.php @@ -33,9 +33,9 @@ class InterceptorGenerator { /** - * @param string $methodBody the body of the previously generated code. - * It MUST assign the return value to a variable - * `$returnValue` instead of directly returning + * @param string $methodBody the body of the previously generated code. + * It MUST assign the return value to a variable + * `$returnValue` instead of directly returning * @param \ProxyManager\Generator\MethodGenerator $method * @param \Zend\Code\Generator\PropertyGenerator $valueHolder * @param \Zend\Code\Generator\PropertyGenerator $prefixInterceptors diff --git a/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php b/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php index 571767cff..3f2a909c5 100644 --- a/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php +++ b/src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php @@ -40,12 +40,12 @@ class PublicScopeSimulator * This is done by introspecting `debug_backtrace()` and then binding a closure to the scope * of the parent caller. * - * @param string $operationType operation to execute: one of 'get', 'set', 'isset' or 'unset' - * @param string $nameParameter name of the `name` parameter of the magic method - * @param string|null $valueParameter name of the `value` parameter of the magic method - * @param PropertyGenerator $valueHolder name of the property containing the target object from which + * @param string $operationType operation to execute: one of 'get', 'set', 'isset' or 'unset' + * @param string $nameParameter name of the `name` parameter of the magic method + * @param string|null $valueParameter name of the `value` parameter of the magic method + * @param PropertyGenerator $valueHolder name of the property containing the target object from which * to read the property. `$this` if none provided - * @param string|null $returnPropertyName name of the property to which we want to assign the result of + * @param string|null $returnPropertyName name of the property to which we want to assign the result of * the operation. Return directly if none provided * * @return string