Test Failed
Push — master ( 58b557...c015ac )
by Alexey
04:03
created
system/modules/Exchange1c/objects/Mode/Info.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,11 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use Exchange1c\Exchange;
15 15
 
16
-class Info extends \Exchange1c\Mode
17
-{
16
+class Info extends \Exchange1c\Mode {
18 17
 
19
-    public function process()
20
-    {
18
+    public function process() {
21 19
         echo "version=2.03";
22 20
         $this->end();
23 21
     }
Please login to merge, or discard this patch.
system/modules/Exchange1c/objects/Mode/Init.php 1 patch
Braces   +5 added lines, -8 removed lines patch added patch discarded remove patch
@@ -13,19 +13,16 @@
 block discarded – undo
13 13
 
14 14
 use Exchange1c\Exchange;
15 15
 
16
-class Init extends \Exchange1c\Mode
17
-{
16
+class Init extends \Exchange1c\Mode {
18 17
 
19
-    public function process()
20
-    {
21
-        if($this->log->type=='catalog'){
18
+    public function process() {
19
+        if($this->log->type=='catalog') {
22 20
             echo "zip=yes\n";
23 21
             echo 'file_limit=' . \Tools::toBytes(ini_get('upload_max_filesize'));
24
-        } elseif($this->log->type=='sale'){
22
+        } elseif($this->log->type=='sale') {
25 23
             echo "zip=no\n";
26 24
         }
27
-        if(!empty($_GET["version"]))
28
-        {
25
+        if(!empty($_GET["version"])) {
29 26
             echo $this->log->exchange->session."\n";
30 27
             echo "version=2.03";
31 28
         }
Please login to merge, or discard this patch.