Skip to content

Commit 78240a5

Browse files
committed
Fixing more coding standards.
1 parent 2427f72 commit 78240a5

File tree

9 files changed

+3
-7
lines changed

9 files changed

+3
-7
lines changed

.codeclimate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
plugins:
22
phpcodesniffer:
33
enabled: true
4+
config:
5+
standard: "PSR1,PSR2"
46
phpmd:
57
enabled: true
68
exclude_patterns:

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"@phpstan",
5151
"@phpunit"
5252
],
53+
"phpcs": "vendor/bin/phpcs --standard=PSR1,PSR2 src tests",
5354
"phpstan": "vendor/bin/phpstan analyse src tests --level 5",
5455
"phpunit": "vendor/bin/phpunit tests/src --verbose --coverage-text"
5556
},

src/Environment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,4 @@ public static function getComposerLockFilename(): string
169169
$composer_filename = static::getComposerFilename();
170170
return pathinfo($composer_filename, PATHINFO_FILENAME) . '.lock';
171171
}
172-
173172
}

src/Environment/DefaultEnvironment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,4 @@ public static function getIndicatorConfig(): ?array
198198
// Unknown environment condition.
199199
return null;
200200
}
201-
202201
}

src/Environment/GitHubWorkflow.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ public static function getEnvironment(): string
2222
{
2323
return static::CI;
2424
}
25-
2625
}

src/Environment/GitLabCi.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ public static function getEnvironment(): string
2222
{
2323
return static::CI;
2424
}
25-
2625
}

src/Environment/Pantheon.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ public static function isMultidev(): bool
4545
&& !static::isCi()
4646
&& !static::isLocal();
4747
}
48-
4948
}

src/Environment/Tugboat.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ public static function isPreview(): bool
2222
{
2323
return true;
2424
}
25-
2625
}

tests/src/EnvironmentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,5 +398,4 @@ public function providerEnvironment(): array
398398
]
399399
];
400400
}
401-
402401
}

0 commit comments

Comments
 (0)