Test Setup Failed
Branch master (e3dae1)
by Artem
13:28
created
Category
container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('container')) {
3
+if (!function_exists('container')) {
4 4
     function container()
5 5
     {
6 6
         return \Illuminate\Container\Container::getInstance();
Please login to merge, or discard this patch.
src/Traits/Validatable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     public function validateAttribute(string $attribute, $value, array $rules = null): void
46 46
     {
47 47
         if (empty($rules)) {
48
-            if (property_exists($this, 'rules') && ! empty($this->rules[$attribute])) {
48
+            if (property_exists($this, 'rules') && !empty($this->rules[$attribute])) {
49 49
                 $rules = $this->rules[$attribute];
50 50
             } else {
51 51
                 $rules = [$attribute => []];
Please login to merge, or discard this patch.
src/Traits/LoadsModules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     protected function loadModule(string $moduleId): void
47 47
     {
48
-        if (! container()->make('\Bitrix\Main\Loader')->includeModule($moduleId)) {
48
+        if (!container()->make('\Bitrix\Main\Loader')->includeModule($moduleId)) {
49 49
             throw new \RuntimeException('Module ' . $moduleId . ' could not be loaded');
50 50
         }
51 51
     }
Please login to merge, or discard this patch.
src/Base/AbstractDictionary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public static function getItem(string $code): string
19 19
     {
20
-        if (! array_key_exists($code, static::getItems())) {
20
+        if (!array_key_exists($code, static::getItems())) {
21 21
             throw new \InvalidArgumentException('Запрошенный элемент ' . $code . ' отсутствует в словаре ' . __CLASS__);
22 22
         }
23 23
 
Please login to merge, or discard this patch.