Passed
Push — master ( ff9723...c2666e )
by Vadim
01:26
created
src/UnresolvableDependency.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 /** Is thrown when no dependency exists or can be created for the supplied name. */
6 6
 class UnresolvableDependency extends DiException
7 7
 {
8
-	/** @param	string	$name	Name of the dependency. */
9
-	public function __construct(string $name) {
10
-		parent::__construct(['name' => $name]);
11
-	}
8
+    /** @param	string	$name	Name of the dependency. */
9
+    public function __construct(string $name) {
10
+        parent::__construct(['name' => $name]);
11
+    }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/DiException.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
 
33 33
     /**  @return  string  default exception message */
34 34
     public function buildMessage(array $vars) {
35
-        $message = $this->getId() . ':';
35
+        $message = $this->getId().':';
36 36
         foreach ($vars as $key => $value)
37 37
             $message .= " $key = $value;";
38 38
 
Please login to merge, or discard this patch.
src/AppContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class AppContext extends AppContextBase
8 8
 {
9 9
     use
10
-          storage\LocalStorage
10
+            storage\LocalStorage
11 11
         , storage\SessionStorage
12 12
         , storage\GlobalStorage
13 13
         , creator\MethodCreator
Please login to merge, or discard this patch.
src/storage/OfflineStorageAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function store(Bean $bean) {
45 45
         $this->storage->store(self::DI_VALUE_PREFIX.$bean->name, $bean->value);
46
-        foreach($bean->aliases as $alias)
46
+        foreach ($bean->aliases as $alias)
47 47
             $this->storage->store(self::DI_ALIAS_PREFIX.$alias, $bean->name);
48 48
 
49 49
         return $bean->value;
Please login to merge, or discard this patch.
src/storage/StorageFactoryNotDefined.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 /** Is thrown when a required factory method is missing, thus providing no storage for an active scope */
6 6
 class StorageFactoryNotDefined extends \evelikto\di\DiException
7 7
 {
8
-	/** @param	string	$name	Name of the required factory */
9
-	public function __construct(string $name) {
10
-		parent::__construct(['name' => $name]);
11
-	}
8
+    /** @param	string	$name	Name of the required factory */
9
+    public function __construct(string $name) {
10
+        parent::__construct(['name' => $name]);
11
+    }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/UnresolvableParameter.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 /** Is thrown when autowiring of a method parameter fails */
6 6
 class UnresolvableParameter extends DiException
7 7
 {
8
-	/** @param	string	$name	Name of the parameter. */
9
-	public function __construct(string $name) {
10
-		parent::__construct(['name' => $name]);
11
-	}
8
+    /** @param	string	$name	Name of the parameter. */
9
+    public function __construct(string $name) {
10
+        parent::__construct(['name' => $name]);
11
+    }
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.