Completed
Pull Request — master (#45)
by X
02:32
created
bin/generate.php 1 patch
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 
4 4
 require __DIR__ . '/../vendor/autoload.php';
5 5
 
6
-use PhpParser\BuilderFactory;
7 6
 use PhpParser\Comment;
8 7
 use PhpParser\Node;
9
-use PhpParser\Node\Expr;
10
-use PhpParser\Node\Stmt;
11 8
 use PhpParser\NodeTraverser;
12 9
 use PhpParser\NodeVisitor\NameResolver;
10
+use PhpParser\Node\Stmt;
13 11
 use PhpParser\ParserFactory;
14 12
 use PhpParser\PrettyPrinter;
15 13
 
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_ArrayHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * constructor
14 14
      *
15
-     * @param ParserInterface $expressionParser parser for unserialize expression
15
+     * @param xKerman_Restricted_ParserInterface $expressionParser parser for unserialize expression
16 16
      */
17 17
     public function __construct(xKerman_Restricted_ParserInterface $expressionParser)
18 18
     {
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * parse given `$source` as PHP serialized array
23 23
      *
24
-     * @param Source $source parser input
24
+     * @param xKerman_Restricted_Source $source parser input
25 25
      * @param string $args   array length
26 26
      * @return array
27 27
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_BooleanHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     /**
9 9
      * parse given `$source` as PHP serialized boolean
10 10
      *
11
-     * @param Source $source parser input
11
+     * @param xKerman_Restricted_Source $source parser input
12 12
      * @param string $args   boolean information
13 13
      * @return array
14 14
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
      */
16 16
     public function handle(xKerman_Restricted_Source $source, $args)
17 17
     {
18
-        return array((bool) $args, $source);
18
+        return array((bool)$args, $source);
19 19
     }
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_EscapedStringHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     /**
11 11
      * parse given `$source` as escaped string
12 12
      *
13
-     * @param Source $source parser input
13
+     * @param xKerman_Restricted_Source $source parser input
14 14
      * @param string $args   string length
15 15
      * @return array
16 16
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_ExpressionParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * parse given `$source` as PHP serialized value
19 19
      *
20
-     * @param Source $source parser input
20
+     * @param xKerman_Restricted_Source $source parser input
21 21
      * @return array
22 22
      * @throws UnserializeFailedException
23 23
      */
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_FloatHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * parse given `$source` as PHP serialized float number
19 19
      *
20
-     * @param Source $source parser input
20
+     * @param xKerman_Restricted_Source $source parser input
21 21
      * @param string $args   float value
22 22
      * @return array
23 23
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_HandlerInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     /**
9 9
      * parse given `$source`
10 10
      *
11
-     * @param Source      $source parser input
11
+     * @param xKerman_Restricted_Source      $source parser input
12 12
      * @param string|null $args   information for parsing
13 13
      * @return array parse result
14 14
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_IntegerHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     /**
9 9
      * parse given `$source` as PHP serialized integer
10 10
      *
11
-     * @param Source $source parser input
11
+     * @param xKerman_Restricted_Source $source parser input
12 12
      * @param string $args   integer value
13 13
      * @return array
14 14
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.
generated/src/xKerman_Restricted_NullHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     /**
9 9
      * parse given `$source` as PHP serialized null value
10 10
      *
11
-     * @param Source $source parser input
11
+     * @param xKerman_Restricted_Source $source parser input
12 12
      * @param null   $args   null
13 13
      * @return array parse result
14 14
      * @throws UnserializeFailedException
Please login to merge, or discard this patch.