Completed
Push — develop ( 855d70...ee0c5e )
by David
01:36
created
symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,10 +24,10 @@  discard block
 block discarded – undo
24 24
     protected function processValue($value, $isRoot = \false)
25 25
     {
26 26
         $value = parent::processValue($value, $isRoot);
27
-        if (!$value instanceof Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) {
27
+        if ( ! $value instanceof Definition || ! $value->isAutowired() || $value->isAbstract() || ! $value->getClass()) {
28 28
             return $value;
29 29
         }
30
-        if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) {
30
+        if ( ! ($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) {
31 31
             return $value;
32 32
         }
33 33
         $alreadyCalledMethods = [];
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                         $value->addMethodCall($reflectionMethod->name);
46 46
                         break;
47 47
                     }
48
-                    if (\false === \stripos($doc, '@inheritdoc') || !\preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+(?:\\{@inheritdoc\\}|@inheritdoc)(?:\\s|\\*/$)#i', $doc)) {
48
+                    if (\false === \stripos($doc, '@inheritdoc') || ! \preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+(?:\\{@inheritdoc\\}|@inheritdoc)(?:\\s|\\*/$)#i', $doc)) {
49 49
                         break;
50 50
                     }
51 51
                 }
Please login to merge, or discard this patch.
symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             }
42 42
         }
43 43
         foreach ($container->getExtensions() as $name => $extension) {
44
-            if (!($config = $container->getExtensionConfig($name))) {
44
+            if ( ! ($config = $container->getExtensionConfig($name))) {
45 45
                 // this extension was not called
46 46
                 continue;
47 47
             }
@@ -92,13 +92,13 @@  discard block
 block discarded – undo
92 92
     }
93 93
     public function freezeAfterProcessing(Extension $extension, ContainerBuilder $container)
94 94
     {
95
-        if (!($config = $extension->getProcessedConfigs())) {
95
+        if ( ! ($config = $extension->getProcessedConfigs())) {
96 96
             // Extension::processConfiguration() wasn't called, we cannot know how configs were merged
97 97
             return;
98 98
         }
99 99
         $this->processedEnvPlaceholders = [];
100 100
         // serialize config and container to catch env vars nested in object graphs
101
-        $config = \serialize($config) . \serialize($container->getDefinitions()) . \serialize($container->getAliases()) . \serialize($container->getParameterBag()->all());
101
+        $config = \serialize($config).\serialize($container->getDefinitions()).\serialize($container->getAliases()).\serialize($container->getParameterBag()->all());
102 102
         foreach (parent::getEnvPlaceholders() as $env => $placeholders) {
103 103
             foreach ($placeholders as $placeholder) {
104 104
                 if (\false !== \stripos($config, $placeholder)) {
@@ -155,12 +155,12 @@  discard block
 block discarded – undo
155 155
      */
156 156
     public function resolveEnvPlaceholders($value, $format = null, array &$usedEnvs = null)
157 157
     {
158
-        if (\true !== $format || !\is_string($value)) {
158
+        if (\true !== $format || ! \is_string($value)) {
159 159
             return parent::resolveEnvPlaceholders($value, $format, $usedEnvs);
160 160
         }
161 161
         $bag = $this->getParameterBag();
162 162
         $value = $bag->resolveValue($value);
163
-        if (!$bag instanceof EnvPlaceholderParameterBag) {
163
+        if ( ! $bag instanceof EnvPlaceholderParameterBag) {
164 164
             return parent::resolveEnvPlaceholders($value, $format, $usedEnvs);
165 165
         }
166 166
         foreach ($bag->getEnvPlaceholders() as $env => $placeholders) {
Please login to merge, or discard this patch.
vendor/symfony/dependency-injection/Compiler/AutowireExceptionPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  */
11 11
 namespace Wordlift\Modules\Plugin_Diagnostics\Symfony\Component\DependencyInjection\Compiler;
12 12
 
13
-@\trigger_error('The ' . __NAMESPACE__ . '\\AutowireExceptionPass class is deprecated since Symfony 3.4 and will be removed in 4.0. Use the DefinitionErrorExceptionPass class instead.', \E_USER_DEPRECATED);
13
+@\trigger_error('The '.__NAMESPACE__.'\\AutowireExceptionPass class is deprecated since Symfony 3.4 and will be removed in 4.0. Use the DefinitionErrorExceptionPass class instead.', \E_USER_DEPRECATED);
14 14
 use Wordlift\Modules\Plugin_Diagnostics\Symfony\Component\DependencyInjection\ContainerBuilder;
15 15
 /**
16 16
  * Throws autowire exceptions from AutowirePass for definitions that still exist.
Please login to merge, or discard this patch.
vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function process(ContainerBuilder $container)
26 26
     {
27 27
         foreach ($container->getExtensions() as $extension) {
28
-            if (!$extension instanceof CompilerPassInterface) {
28
+            if ( ! $extension instanceof CompilerPassInterface) {
29 29
                 continue;
30 30
             }
31 31
             $extension->process($container);
Please login to merge, or discard this patch.
vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $definitions = new \SplPriorityQueue();
27 27
         $order = \PHP_INT_MAX;
28 28
         foreach ($container->getDefinitions() as $id => $definition) {
29
-            if (!($decorated = $definition->getDecoratedService())) {
29
+            if ( ! ($decorated = $definition->getDecoratedService())) {
30 30
                 continue;
31 31
             }
32 32
             $definitions->insert([$id, $definition], [$decorated[2], --$order]);
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
         foreach ($definitions as list($id, $definition)) {
36 36
             list($inner, $renamedId) = $definition->getDecoratedService();
37 37
             $definition->setDecoratedService(null);
38
-            if (!$renamedId) {
39
-                $renamedId = $id . '.inner';
38
+            if ( ! $renamedId) {
39
+                $renamedId = $id.'.inner';
40 40
             }
41 41
             // we create a new alias/service for the service we are replacing
42 42
             // to be able to reference it in the new one
Please login to merge, or discard this patch.
symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     protected function processValue($value, $isRoot = \false)
26 26
     {
27
-        if (!$value instanceof TaggedIteratorArgument) {
27
+        if ( ! $value instanceof TaggedIteratorArgument) {
28 28
             return parent::processValue($value, $isRoot);
29 29
         }
30 30
         $value->setValues($this->findAndSortTaggedServices($value->getTag(), $this->container));
Please login to merge, or discard this patch.
vendor/symfony/dependency-injection/Compiler/LoggingFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  */
11 11
 namespace Wordlift\Modules\Plugin_Diagnostics\Symfony\Component\DependencyInjection\Compiler;
12 12
 
13
-@\trigger_error('The ' . __NAMESPACE__ . '\\LoggingFormatter class is deprecated since Symfony 3.3 and will be removed in 4.0. Use the ContainerBuilder::log() method instead.', \E_USER_DEPRECATED);
13
+@\trigger_error('The '.__NAMESPACE__.'\\LoggingFormatter class is deprecated since Symfony 3.3 and will be removed in 4.0. Use the ContainerBuilder::log() method instead.', \E_USER_DEPRECATED);
14 14
 /**
15 15
  * Used to format logging messages during the compilation.
16 16
  *
Please login to merge, or discard this patch.
third-party/vendor/symfony/dependency-injection/Compiler/RepeatedPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function __construct(array $passes)
33 33
     {
34 34
         foreach ($passes as $pass) {
35
-            if (!$pass instanceof RepeatablePassInterface) {
35
+            if ( ! $pass instanceof RepeatablePassInterface) {
36 36
                 throw new InvalidArgumentException('$passes must be an array of RepeatablePassInterface.');
37 37
             }
38 38
             $pass->setRepeatedPass($this);
Please login to merge, or discard this patch.
vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         foreach ($container->findTaggedServiceIds('auto_alias') as $serviceId => $tags) {
27 27
             foreach ($tags as $tag) {
28
-                if (!isset($tag['format'])) {
28
+                if ( ! isset($tag['format'])) {
29 29
                     throw new InvalidArgumentException(\sprintf('Missing tag information "format" on auto_alias service "%s".', $serviceId));
30 30
                 }
31 31
                 $aliasId = $container->getParameterBag()->resolveValue($tag['format']);
Please login to merge, or discard this patch.