Completed
Push — master ( 805860...c50ffa )
by Joel
08:36
created
src/Generator/GeneratorFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
 class GeneratorFactory
20 20
 {
21
+    /**
22
+     * @param \Symfony\Component\Serializer\Serializer $serializer
23
+     */
21 24
     public static function build($serializer)
22 25
     {
23 26
         if (class_exists('PhpParser\ParserFactory')) {
Please login to merge, or discard this patch.
src/Generator/InputGeneratorTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Joli\Jane\OpenApi\Model\PathParameterSubSchema;
12 12
 use Joli\Jane\OpenApi\Model\QueryParameterSubSchema;
13 13
 use Joli\Jane\OpenApi\Operation\Operation;
14
-use Joli\Jane\Reference\Resolver;
15 14
 use PhpParser\Node\Arg;
16 15
 use PhpParser\Node\Expr;
17 16
 use PhpParser\Node\Name;
Please login to merge, or discard this patch.
src/Generator/OutputGeneratorTrait.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Joli\Jane\Generator\Context\Context;
6 6
 use Joli\Jane\Runtime\Reference;
7
-use Joli\Jane\Reference\Resolver;
8 7
 use Joli\Jane\OpenApi\Model\Schema;
9 8
 use PhpParser\Node\Arg;
10 9
 use PhpParser\Node\Expr;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * @param         $status
24 24
      * @param         $schema
25 25
      * @param Context $context
26
+     * @param string $reference
26 27
      *
27 28
      * @return [string, null|Stmt\If_]
28 29
      */
Please login to merge, or discard this patch.
src/Generator/Parameter/BodyParameterGenerator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\Common\Inflector\Inflector;
6 6
 use Joli\Jane\Generator\Context\Context;
7 7
 use Joli\Jane\Runtime\Reference;
8
-use Joli\Jane\Reference\Resolver;
9 8
 use Joli\Jane\OpenApi\Model\BodyParameter;
10 9
 use Joli\Jane\OpenApi\Model\Schema;
11 10
 use PhpParser\Node;
Please login to merge, or discard this patch.
src/JaneOpenApi.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Fitbug\SymfonySerializer\YamlEncoderDecoder\YamlDecode;
6 6
 use Fitbug\SymfonySerializer\YamlEncoderDecoder\YamlEncode;
7 7
 use Fitbug\SymfonySerializer\YamlEncoderDecoder\YamlEncoder;
8
-use Joli\Jane\Encoder\RawEncoder;
9 8
 use Joli\Jane\Generator\Context\Context;
10 9
 use Joli\Jane\Generator\File;
11 10
 use Joli\Jane\Generator\ModelGenerator;
Please login to merge, or discard this patch.
src/Operation/Operation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
      */
35 35
     private $reference;
36 36
 
37
+    /**
38
+     * @param string $reference
39
+     */
37 40
     public function __construct(OpenApiOperation $operation, $path, $method, $reference, $basePath = "", $host = 'localhost')
38 41
     {
39 42
         $this->operation = $operation;
Please login to merge, or discard this patch.
src/Operation/OperationManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 
9 9
 class OperationManager
10 10
 {
11
+    /**
12
+     * @param string $reference
13
+     */
11 14
     public function buildOperationCollection(OpenApi $openApi, $reference)
12 15
     {
13 16
         $operationCollection = new OperationCollection();
Please login to merge, or discard this patch.