Passed
Push — develop-3.3.x ( 4537cc...629cce )
by Mario
02:54
created
actions/vars.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 */
106 106
 	private function add_predefined_lang_vars(): void
107 107
 	{
108
-		array_walk($this->dp_vars, function (&$value) {
108
+		array_walk($this->dp_vars, function(&$value) {
109 109
 			$value['name'] = $this->language->lang('PPDE_DP_' . trim($value['var'], '{}'));
110 110
 		});
111 111
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
 		config $config,
42 42
 		language $language,
43 43
 		user $user
44
-	)
45
-	{
44
+	) {
46 45
 		$this->actions_core = $actions_core;
47 46
 		$this->actions_currency = $actions_currency;
48 47
 		$this->config = $config;
@@ -105,7 +104,8 @@  discard block
 block discarded – undo
105 104
 	 */
106 105
 	private function add_predefined_lang_vars(): void
107 106
 	{
108
-		array_walk($this->dp_vars, function (&$value) {
107
+		array_walk($this->dp_vars, function (&$value)
108
+		{
109 109
 			$value['name'] = $this->language->lang('PPDE_DP_' . trim($value['var'], '{}'));
110 110
 		});
111 111
 	}
Please login to merge, or discard this patch.
operators/transactions.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
 		if (!empty($keywords))
213 213
 		{
214 214
 			// Build pattern and keywords...
215
-			$keywords = array_map(function ($keyword) {
215
+			$keywords = array_map(function($keyword) {
216 216
 				return $this->db->sql_like_expression($this->db->get_any_char() . $keyword . $this->db->get_any_char());
217 217
 			}, $keywords);
218 218
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,8 @@
 block discarded – undo
212 212
 		if (!empty($keywords))
213 213
 		{
214 214
 			// Build pattern and keywords...
215
-			$keywords = array_map(function ($keyword) {
215
+			$keywords = array_map(function ($keyword)
216
+			{
216 217
 				return $this->db->sql_like_expression($this->db->get_any_char() . $keyword . $this->db->get_any_char());
217 218
 			}, $keywords);
218 219
 
Please login to merge, or discard this patch.
acp/ppde_module.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 		$is_in_array_field = in_array($mode, array_column(self::$available_mode, 'module_name'), true);
49 49
 		if ($is_in_array_field)
50 50
 		{
51
-			$this->module_info = current(array_filter(self::$available_mode, function ($item) use ($mode) {
51
+			$this->module_info = current(array_filter(self::$available_mode, function($item) use ($mode) {
52 52
 				return $item['module_name'] === $mode;
53 53
 			})) ?: [];
54 54
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,8 @@
 block discarded – undo
48 48
 		$is_in_array_field = in_array($mode, array_column(self::$available_mode, 'module_name'), true);
49 49
 		if ($is_in_array_field)
50 50
 		{
51
-			$this->module_info = current(array_filter(self::$available_mode, function ($item) use ($mode) {
51
+			$this->module_info = current(array_filter(self::$available_mode, function ($item) use ($mode)
52
+			{
52 53
 				return $item['module_name'] === $mode;
53 54
 			})) ?: [];
54 55
 
Please login to merge, or discard this patch.