Test Failed
Push — main ( 5139df...d6eca2 )
by Will
03:38
created
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
 class architectures {
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
 class engines {
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
 class categories {
Please login to merge, or discard this patch.
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/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
 class agentzero {
Please login to merge, or discard this patch.
src/helpers/props.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
 class props {
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
 class other {
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 	 */
12 12
 	public static function get() : array {
13 13
 		return [
14
-			'{' => new props('any', function (string $value) : ?array {
14
+			'{' => new props('any', function(string $value) : ?array {
15 15
 				if (($start = \mb_strpos($value, '{')) === false) {
16 16
 
17 17
 				} elseif (($end = \mb_strpos($value, '}', $start)) !== false) {
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
 class config {
Please login to merge, or discard this patch.
src/mappings/languages.php 1 patch
Spacing   +3 added lines, -3 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
 class languages {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 			'zu' => 'Zulu',
134 134
 			'in' => 'India'
135 135
 		];
136
-		$fn = function (string $value, int $i, array $tokens, string $match) : ?array {
136
+		$fn = function(string $value, int $i, array $tokens, string $match) : ?array {
137 137
 			if ($value === $match) {
138 138
 				return ['language' => $value];
139 139
 			} else {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 			}
147 147
 			return null;
148 148
 		};
149
-		$lang = function (string $value) use ($languages): ?array {
149
+		$lang = function(string $value) use ($languages): ?array {
150 150
 			$value = \str_replace('_', '-', \explode('/', $value)[1]);
151 151
 			$lang = \mb_strtolower(\mb_substr($value, 0, 2));
152 152
 			$len = \mb_strlen($value);
Please login to merge, or discard this patch.