Skip to content

Commit

Permalink
Apply PSR12 to the entire codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander De la Marche committed Mar 27, 2023
1 parent 5da4f53 commit 88de30c
Show file tree
Hide file tree
Showing 67 changed files with 6,160 additions and 6,212 deletions.
13 changes: 7 additions & 6 deletions bin/exampleWorker.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php declare(strict_types=1);
<?php

sleep( (int)($_REQUEST['sleep'] ?? 0) );
declare(strict_types=1);

sleep((int)($_REQUEST['sleep'] ?? 0));

$lines = [];
foreach ( $_REQUEST as $key => $value )
{
$lines[] = " * {$key}: {$value}";
foreach ($_REQUEST as $key => $value) {
$lines[] = " * {$key}: {$value}";
}

echo implode( "\n", $lines );
echo implode("\n", $lines);
Loading

0 comments on commit 88de30c

Please sign in to comment.