Completed
Push — 7.x-1.x ( dff1e0...77c4eb )
by Pol
04:34
created
lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services12.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,11 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\ContainerInterface;
4 3
 use Symfony\Component\DependencyInjection\Container;
5
-use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
6 4
 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7 5
 use Symfony\Component\DependencyInjection\Exception\LogicException;
8
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9 6
 use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
10 7
 
11 8
 /**
Please login to merge, or discard this patch.
lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services19.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\ContainerInterface;
4 3
 use Symfony\Component\DependencyInjection\Container;
5
-use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
6
-use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7
-use Symfony\Component\DependencyInjection\Exception\LogicException;
8
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9
-use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
10 4
 
11 5
 /**
12 6
  * ProjectServiceContainer.
Please login to merge, or discard this patch.
lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services20.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Symfony\Component\DependencyInjection\ContainerInterface;
4 4
 use Symfony\Component\DependencyInjection\Container;
5
-use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
6
-use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7
-use Symfony\Component\DependencyInjection\Exception\LogicException;
8
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9
-use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
10 5
 
11 6
 /**
12 7
  * ProjectServiceContainer.
Please login to merge, or discard this patch.
lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services8.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -1,11 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\ContainerInterface;
4 3
 use Symfony\Component\DependencyInjection\Container;
5
-use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
6
-use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7
-use Symfony\Component\DependencyInjection\Exception\LogicException;
8
-use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9 4
 use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
10 5
 
11 6
 /**
Please login to merge, or discard this patch.
lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use Symfony\Component\DependencyInjection\ContainerInterface;
4 4
 use Symfony\Component\DependencyInjection\Container;
5
-use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
6
-use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7
-use Symfony\Component\DependencyInjection\Exception\LogicException;
8 5
 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9 6
 use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
10 7
 
Please login to merge, or discard this patch.
Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Symfony\Component\DependencyInjection\ContainerInterface;
4 3
 use Symfony\Component\DependencyInjection\Container;
5
-use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
6 4
 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7 5
 use Symfony\Component\DependencyInjection\Exception\LogicException;
8 6
 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
Please login to merge, or discard this patch.
providers/service_container_symfony/lib/Symfony/Component/Yaml/Inline.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      *
197 197
      * @param string $scalar
198 198
      * @param string $delimiters
199
-     * @param array  $stringDelimiters
199
+     * @param string[]  $stringDelimiters
200 200
      * @param int    &$i
201 201
      * @param bool   $evaluate
202 202
      * @param array  $references
@@ -247,6 +247,7 @@  discard block
 block discarded – undo
247 247
      *
248 248
      * @param string $scalar
249 249
      * @param int    &$i
250
+     * @param integer $i
250 251
      *
251 252
      * @return string A YAML string
252 253
      *
Please login to merge, or discard this patch.
providers/service_container_symfony/lib/Symfony/Component/Yaml/Parser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -437,7 +437,7 @@
 block discarded – undo
437 437
      * @param bool   $objectSupport          True if object support is enabled, false otherwise
438 438
      * @param bool   $objectForMap           true if maps should return a stdClass instead of array()
439 439
      *
440
-     * @return mixed A PHP value
440
+     * @return string A PHP value
441 441
      *
442 442
      * @throws ParseException When reference does not exist
443 443
      */
Please login to merge, or discard this patch.
src/Legacy/Drupal7.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
    * available to code that needs localization. See st() and get_t() for
181 181
    * alternatives.
182 182
    *
183
-   * @param $string
183
+   * @param string $string
184 184
    *   A string containing the English string to translate.
185 185
    * @param $args
186 186
    *   An associative array of replacements to make after translation. Based
@@ -280,9 +280,9 @@  discard block
 block discarded – undo
280 280
    * All arguments are passed by value. Use drupal_alter() if you need to pass
281 281
    * arguments by reference.
282 282
    *
283
-   * @param $module
283
+   * @param string $module
284 284
    *   The name of the module (without the .module extension).
285
-   * @param $hook
285
+   * @param string $hook
286 286
    *   The name of the hook to invoke.
287 287
    * @param ...
288 288
    *   Arguments to pass to the hook implementation.
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
    * All arguments are passed by value. Use drupal_alter() if you need to pass
307 307
    * arguments by reference.
308 308
    *
309
-   * @param $hook
309
+   * @param string $hook
310 310
    *   The name of the hook to invoke.
311 311
    * @param ...
312 312
    *   Arguments to pass to the hook.
@@ -390,9 +390,9 @@  discard block
 block discarded – undo
390 390
    *
391 391
    * This prevents including a theme, engine, module, etc., more than once.
392 392
    *
393
-   * @param $type
393
+   * @param string $type
394 394
    *   The type of item to load (i.e. theme, theme_engine, module).
395
-   * @param $name
395
+   * @param string $name
396 396
    *   The name of the item to load.
397 397
    *
398 398
    * @return bool
Please login to merge, or discard this patch.