Test Failed
Push — master ( d7feff...21b422 )
by Alexey
15:33 queued 11:21
created
system/modules/Db/objects/Mysql/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public $distinct = false;
33 33
 
34 34
     /**
35
-     * @param  $instance
35
+     * @param   $instance
36 36
      */
37 37
     public function __construct($instance = null) {
38 38
         if (!$instance) {
Please login to merge, or discard this patch.
system/modules/Materials/appControllers/content/materialWithCategorys.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
     <div class="row">
3 3
         <div class="col-md-3">
4 4
           <?php
5
-          $category = $material->category;
6
-          $this->widget('Materials\categoryTree', ['category' => $category]);
7
-          ?>
5
+            $category = $material->category;
6
+            $this->widget('Materials\categoryTree', ['category' => $category]);
7
+            ?>
8 8
         </div>
9 9
         <div class="col-md-9">
10 10
             <div class="content">
Please login to merge, or discard this patch.
system/program/admin/templates/default/config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
     'file' => 'index.html',
6 6
     'css' => ['style.css'],
7 7
     'libs' => [
8
-       'JqueryUi',  'PaperTheme','FancyBox'
8
+        'JqueryUi',  'PaperTheme','FancyBox'
9 9
     ]
10 10
 ];
Please login to merge, or discard this patch.
system/Inji/Cache.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -128,6 +128,7 @@
 block discarded – undo
128 128
      * Get cache dir for app
129 129
      * 
130 130
      * @param App $app
131
+     * @param string $dirname
131 132
      * @return string
132 133
      */
133 134
     public static function getDir($dirname, $app = null) {
Please login to merge, or discard this patch.
system/modules/Ui/widgets/Slider.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@  discard block
 block discarded – undo
5 5
   <?php if (empty($noIndicators)) { ?>
6 6
         <ol class="carousel-indicators">
7 7
           <?php
8
-          $i = 0;
9
-          for ($i = 0; $i < count($slides); $i++) {
10
-              ?>
8
+            $i = 0;
9
+            for ($i = 0; $i < count($slides); $i++) {
10
+                ?>
11 11
                 <li data-target="#<?= $id; ?>" data-slide-to="<?= $i; ?>" <?= !$i ? 'class="active"' : ''; ?>></li>
12 12
                 <?php
13 13
             }
@@ -18,9 +18,9 @@  discard block
 block discarded – undo
18 18
     <!-- Wrapper for slides -->
19 19
     <div class="carousel-inner" role="listbox">
20 20
       <?php
21
-      $i = 0;
22
-      foreach ($slides as $item) {
23
-          ?>
21
+        $i = 0;
22
+        foreach ($slides as $item) {
23
+            ?>
24 24
             <div class="item <?= !$i ? 'active' : ''; ?>">
25 25
               <?= !empty($item['href']) ? "<a href = '{$item['href']}' style = 'display:inline-block;'>" : ''; ?>
26 26
                 <img src="<?= $item['image']; ?>" <?= !empty($item['image']) ? 'alt="' . $item['name'] . '"' : ''; ?> />
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/items/item-icon.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <div class="item">		
2 2
   <?php
3
-  if ($item->badge && $item->badge->image) {
4
-      echo "<img class = 'item-icon-badge' src = '{$item->badge->image->path}' />";
5
-  }
6
-  ?>
3
+    if ($item->badge && $item->badge->image) {
4
+        echo "<img class = 'item-icon-badge' src = '{$item->badge->image->path}' />";
5
+    }
6
+    ?>
7 7
     <h4 class="item-name">
8 8
         <a href="/ecommerce/view/<?= $item->id; ?>">
9 9
           <?= $item->name(); ?>
Please login to merge, or discard this patch.
system/Inji/BowerCmd.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -61,6 +61,10 @@
 block discarded – undo
61 61
         Inji::$inst->unBlockParallel();
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $command
66
+     * @param string $path
67
+     */
64 68
     public static function command($command, $needOutput = true, $path = null) {
65 69
         while (!Inji::$inst->blockParallel()) {
66 70
             sleep(2);
Please login to merge, or discard this patch.
system/modules/Exchange1c/objects/Parser/Orders.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 
16 16
     public $xml = null;
17 17
 
18
+    /**
19
+     * @param \SimpleXMLElement $xml
20
+     */
18 21
     public function __construct($xml) {
19 22
         $this->xml = $xml;
20 23
     }
Please login to merge, or discard this patch.
system/modules/Files/models/File.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         }
41 41
     }
42 42
 
43
+    /**
44
+     * @return string
45
+     */
43 46
     public function getRealPath() {
44 47
         $sitePath = \App::$primary->path;
45 48
         return "{$sitePath}{$this->path}";
Please login to merge, or discard this patch.