Passed
Push — main ( 0009be...03a93c )
by Will
02:49
created
src/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4
-\spl_autoload_register(function (string $class) : void {
4
+\spl_autoload_register(function(string $class) : void {
5 5
 	$classes = [
6 6
 		'hexydec\\agentzero\\apps' => __DIR__.'/mappings/apps.php',
7 7
 		'hexydec\\agentzero\\architectures' => __DIR__.'/mappings/architectures.php',
Please login to merge, or discard this patch.
src/mappings/other.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 		return [
17 17
 			'{' => [
18 18
 				'match' => 'any',
19
-				'categories' => function (string $value) : ?array {
19
+				'categories' => function(string $value) : ?array {
20 20
 					if (($start = \mb_strpos($value, '{')) === false) {
21 21
 
22 22
 					} elseif (($end = \mb_strpos($value, '}', $start)) !== false) {
Please login to merge, or discard this patch.
src/mappings/architectures.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/mappings/languages.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 		];
138 138
 		$fn = [
139 139
 			'match' => 'start',
140
-			'categories' => function (string $value, int $i , array $tokens, string $match) : ?array {
140
+			'categories' => function(string $value, int $i, array $tokens, string $match) : ?array {
141 141
 				if ($value === $match) {
142 142
 					return ['language' => $value];
143 143
 				} else {
Please login to merge, or discard this patch.
src/mappings/urls.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 	 * @return MatchConfig An array with keys representing the string to match, and a value of an array containing parsing and output settings
14 14
 	 */
15 15
 	public static function get() : array {
16
-		$fn = function (string $value, int $i, array $tokens) : ?array {
16
+		$fn = function(string $value, int $i, array $tokens) : ?array {
17 17
 			if (($start = \stripos($value, 'http://')) === false) {
18 18
 				if (($start = \stripos($value, 'https://')) === false) {
19 19
 					$start = \stripos($value, 'www.');
Please login to merge, or discard this patch.
src/mappings/engines.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/mappings/categories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/agentzero.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace hexydec\agentzero;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.