Passed
Pull Request — main (#6)
by
unknown
12:36
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/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
 class urls {
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 	 * @return array<string,props> An array with keys representing the string to match, and values a props object defining how to generate the match and which properties to set
11 11
 	 */
12 12
 	public static function get() : array {
13
-		$fn = function (string $value, int $i, array $tokens) : ?array {
13
+		$fn = function(string $value, int $i, array $tokens) : ?array {
14 14
 			if (($start = \stripos($value, 'http://')) === false) {
15 15
 				if (($start = \stripos($value, 'https://')) === false) {
16 16
 					$start = \stripos($value, 'www.');
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.