Skip to content

Commit

Permalink
Use fwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Oct 20, 2022
1 parent 20b5c9a commit 66c2ce9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Adapterman.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ public static function init(): void
require __DIR__ . '/AdapterFunctions.php';

} catch (Exception $e) {
echo self::NAME, " Error:\n\n";
echo $e->getMessage();
fwrite(STDOUT, self::NAME . " Error:\n\n");
fwrite(STDOUT, $e->getMessage());
exit;
}

echo self::NAME," OK\n\n";
fwrite(STDOUT, self::NAME . " OK\n\n");
}

/**
Expand Down

0 comments on commit 66c2ce9

Please sign in to comment.