Passed
Pull Request — master (#114)
by
unknown
03:59
created
client/html/templates/catalog/lists/body-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,7 @@
 block discarded – undo
15 15
 	$cntl = $this->config( 'client/html/catalog/tree/url/controller', 'catalog' );
16 16
 	$action = $this->config( 'client/html/catalog/tree/url/action', 'tree' );
17 17
 	$config = $this->config( 'client/html/catalog/tree/url/config', [] );
18
-}
19
-else
18
+} else
20 19
 {
21 20
 	$target = $this->config( 'client/html/catalog/lists/url/target' );
22 21
 	$cntl = $this->config( 'client/html/catalog/lists/url/controller', 'catalog' );
Please login to merge, or discard this patch.
client/html/templates/common/summary/service-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,14 +37,17 @@
 block discarded – undo
37 37
 						<span class="name">
38 38
 							<?php if( $attribute->getName() != '' ) : ?>
39 39
 								<?= $enc->html( $attribute->getName() ) ?>
40
-							<?php else : ?>
40
+							<?php else {
41
+	: ?>
41 42
 								<?= $enc->html( $this->translate( 'client/code', $attribute->getCode() ) ) ?>
42 43
 							<?php endif ?>
43 44
 						</span>
44 45
 
45 46
 						<?php switch( $attribute->getValue() ) : case 'array': case 'object': ?>
46 47
 							<span class="value"><?= $enc->html( join( ', ', (array) $attribute->getValue() ) ) ?></span>
47
-						<?php break; default: ?>
48
+						<?php break;
49
+}
50
+default: ?>
48 51
 							<span class="value"><?= $enc->html( $attribute->getValue() ) ?></span>
49 52
 						<?php endswitch ?>
50 53
 
Please login to merge, or discard this patch.
client/html/templates/common/partials/attribute-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,8 @@  discard block
 block discarded – undo
122 122
 
123 123
 					</ul>
124 124
 
125
-				<?php else : ?>
125
+				<?php else {
126
+	: ?>
126 127
 
127 128
 					<input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ) ?>" />
128 129
 					<select id="select-<?= $enc->attr( $code ) ?>" class="form-control select-list"
@@ -172,7 +173,9 @@  discard block
 block discarded – undo
172 173
 							value="<?= $enc->attr( $price->getValue() ) ?>"
173 174
 						<?php endif ?>
174 175
 					/>
175
-				<?php break; case 'date': ?>
176
+				<?php break;
177
+}
178
+case 'date': ?>
176 179
 					<input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="date" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>" />
177 180
 				<?php break; default: ?>
178 181
 					<input id="select-<?= $enc->attr( $key ) ?>" class="form-control" type="text" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrcustid', $id] ) ) ?>" />
Please login to merge, or discard this patch.