Completed
Push — master ( 18eb2f...1287db )
by Julius
03:50 queued 02:10
created
src/Builder/ClassBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             ->addLine()
40 40
             ->addLine('.. php:class:: ' . $interface->getName())
41 41
             ->addLine()
42
-            ->addIndentLine(1,$interface->getName() . ' class')
42
+            ->addIndentLine(1, $interface->getName() . ' class')
43 43
             ->addLine();
44 44
         if ($docBlock) {
45 45
             $this
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         foreach ($interface->getMethods() as $method) {
52 52
             $docBlock = $method->getDocBlock();
53 53
             $params = [];
54
-            if($docBlock !== null) {
54
+            if ($docBlock !== null) {
55 55
                 /** @var Param $param */
56 56
                 foreach ($docBlock->getTagsByName('param') as $param) {
57 57
                     $params[$param->getVariableName()] = $param;
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
                 $args .= '$' . $argument->getName() . ', ';
63 63
             }
64 64
             $args = substr($args, 0, -2);
65
-            $this->addIndentLine(1, '.. php:method:: '.$method->getName().'('.$args.')');
65
+            $this->addIndentLine(1, '.. php:method:: ' . $method->getName() . '(' . $args . ')');
66 66
             $this->addLine();
67 67
             if ($docBlock)
68 68
                 $this->addIndentMultiline(2, $docBlock->getDescription());
Please login to merge, or discard this patch.
src/ApiDocBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             if (is_dir($namespaceDir))
106 106
                 continue;
107 107
             if (!mkdir($namespaceDir, 0755, true)) {
108
-                throw new \Exception('Could not create directory '. $namespaceDir);
108
+                throw new \Exception('Could not create directory ' . $namespaceDir);
109 109
             }
110 110
         }
111 111
     }
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 ';
197 197
 
198 198
         $namespaces = $this->project->getNamespaces();
199
-        usort($namespaces, function (Namespace_ $a, Namespace_ $b) {
199
+        usort($namespaces, function(Namespace_ $a, Namespace_ $b) {
200 200
             return strcmp($a->getFqsen(), $b->getFqsen());
201 201
         });
202 202
         foreach ($namespaces as $namespace) {
Please login to merge, or discard this patch.
src/Extension/Extension.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
     /** @var Project */
33 33
     protected $project;
34 34
 
35
-    public function __construct(Project &$project) {
35
+    public function __construct(Project&$project) {
36 36
         $this->project = $project;
37 37
     }
38 38
 
Please login to merge, or discard this patch.