Skip to content

Commit

Permalink
Merge pull request #29 from City-of-Helsinki/UHF-X-RequireStrictTypes
Browse files Browse the repository at this point in the history
Add phpcs.xml.dist to updated files
  • Loading branch information
hyrsky authored May 15, 2024
2 parents 08fe754 + d41fa32 commit 7e69741
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ tests/fixtures/schema
tests/coverage.xml
sut/core
sut/modules
.idea
2 changes: 1 addition & 1 deletion src/Drush/Commands/OpenShiftDrushCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private function ensureProject() : self {
private function invokeOc(
array $command,
?callable $callback = NULL,
bool $showOutput = TRUE
bool $showOutput = TRUE,
) : int {
$this
->ensureEnvVariables()
Expand Down
1 change: 1 addition & 0 deletions src/Drush/Commands/UpdateDrushCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ private function updateDefaultFiles(UpdateOptions $options) : self {
'docker/openshift/preflight/preflight.php',
'docker/openshift/notify.php',
'compose.yaml',
'phpcs.xml.dist',
'phpunit.xml.dist',
'phpunit.platform.xml',
'tools/make/project/install.mk',
Expand Down
2 changes: 1 addition & 1 deletion src/OutputFormatters/MarkdownTableFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class MarkdownTableFormatter implements FormatterInterface, ValidDataTypes
public function write(
OutputInterface $output,
$data,
FormatterOptions $options
FormatterOptions $options,
) : void {
assert($data instanceof TableTransformation);
$headers = $data->getHeaders();
Expand Down

0 comments on commit 7e69741

Please sign in to comment.