Passed
Push — master ( 054f60...db06ef )
by Luke
05:01 queued 02:43
created
lib/ComponentManager/Project/Project.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      * @param \ComponentManager\Project\ProjectLockFile                    $projectLockFile
72 72
      * @param \ComponentManager\PackageRepository\PackageRepositoryFactory $packageRepositoryFactory
73 73
      * @param \ComponentManager\PackageSource\PackageSourceFactory         $packageSourceFactory
74
-     * @param \ComponentManager\PackageSource\PackageFormatFactory         $packageFormatFactory
74
+     * @param PackageFormatFactory         $packageFormatFactory
75 75
      */
76 76
     public function __construct(ProjectFile $projectFile,
77 77
                                 ProjectLockFile $projectLockFile,
Please login to merge, or discard this patch.
lib/ComponentManager/Component.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param \ComponentManager\ComponentVersion[]                  $versions
64 64
      * @param \ComponentManager\PackageRepository\PackageRepository $packageRepository
65 65
      */
66
-    public function __construct($name, $versions, $packageRepository=null) {
66
+    public function __construct($name, $versions, $packageRepository = null) {
67 67
         $this->name     = $name;
68 68
         $this->versions = $versions;
69 69
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * @return string
121 121
      */
122 122
     public function getPluginType() {
123
-        list($type, ) = $this->getNameParts();
123
+        list($type,) = $this->getNameParts();
124 124
 
125 125
         return $type;
126 126
     }
Please login to merge, or discard this patch.
lib/ComponentManager/ComponentVersion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * @param integer                                             $maturity
84 84
      * @param \ComponentManager\ComponentSource\ComponentSource[] $sources
85 85
      */
86
-    public function __construct($version, $release, $maturity, $sources=null) {
86
+    public function __construct($version, $release, $maturity, $sources = null) {
87 87
         $this->version  = $version;
88 88
         $this->release  = $release;
89 89
         $this->maturity = $maturity;
Please login to merge, or discard this patch.
lib/ComponentManager/ComponentSpecification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,8 @@
 block discarded – undo
66 66
      * @param string    $packageSource
67 67
      * @param \stdClass $extra
68 68
      */
69
-    public function __construct($name, $version, $packageRepository=null,
70
-                                $packageSource=null, stdClass $extra=null) {
69
+    public function __construct($name, $version, $packageRepository = null,
70
+                                $packageSource = null, stdClass $extra = null) {
71 71
         $this->name    = $name;
72 72
         $this->version = $version;
73 73
 
Please login to merge, or discard this patch.
lib/ComponentManager/PackageSource/GitPackageSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@
 block discarded – undo
53 53
                     $tempDirectory,
54 54
                     'repo',
55 55
                 ]);
56
-                $indexPath      = $this->platform->joinPaths([
56
+                $indexPath = $this->platform->joinPaths([
57 57
                     $tempDirectory,
58 58
                     'index',
59 59
                 ]);
60
-                $repositoryUri  = $source->getRepositoryUri();
60
+                $repositoryUri = $source->getRepositoryUri();
61 61
 
62 62
                 $finalRef = $resolvedComponentVersion->getFinalVersion();
63 63
                 $ref      = $source->getRef();
Please login to merge, or discard this patch.
lib/ComponentManager/DependencyInjection/ConsoleCommandsPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * @param string|null $tagName
54 54
      * @param string|null $appId
55 55
      */
56
-    public function __construct($tagName=null, $appId=null) {
56
+    public function __construct($tagName = null, $appId = null) {
57 57
         $this->tagName = ($tagName === null) ? 'console.command' : $tagName;
58 58
         $this->appId = ($appId === null) ? 'console.application' : $appId;
59 59
     }
Please login to merge, or discard this patch.
lib/ComponentManager/DependencyInjection/ContainerAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @return void
29 29
      */
30
-    public function setContainer(ContainerInterface $container=null) {
30
+    public function setContainer(ContainerInterface $container = null) {
31 31
         $this->container = $container;
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
lib/ComponentManager/Platform/Platform.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * Initialiser.
24 24
      *
25 25
      * @param \Symfony\Component\Filesystem\Filesystem $filesystem
26
+     * @return void
26 27
      */
27 28
     public function __construct(Filesystem $filesystem);
28 29
 
Please login to merge, or discard this patch.
etc/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
17 17
 
18 18
 // Error reporting
19
-ini_set('display_errors',  'on');
19
+ini_set('display_errors', 'on');
20 20
 ini_set('error_reporting', E_ALL);
21 21
 
22 22
 // Set the default timezone if not already set
Please login to merge, or discard this patch.