Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions Logger/OutputLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(OutputInterface $output)
/**
* @param int $level
*/
public function setLevel($level)
public function setLevel($level): void
{
$this->level = $level;
}
Expand All @@ -64,7 +64,7 @@ public function setLevel($level)
*
* @return void
*/
public function emergency($message, array $context = [])
public function emergency($message, array $context = []): void
{
$this->emerg($message, $context);
}
Expand All @@ -75,7 +75,7 @@ public function emergency($message, array $context = [])
*
* @return void
*/
public function emerg($message, array $context = [])
public function emerg($message, array $context = []): void
{
if (0 === ($this->level & self::EMERG)) {
return;
Expand All @@ -90,7 +90,7 @@ public function emerg($message, array $context = [])
*
* @return void
*/
public function alert($message, array $context = [])
public function alert($message, array $context = []): void
{
if (0 === ($this->level & self::ALERT)) {
return;
Expand All @@ -105,7 +105,7 @@ public function alert($message, array $context = [])
*
* @return void
*/
public function critical($message, array $context = [])
public function critical($message, array $context = []): void
{
$this->crit($message, $context);
}
Expand All @@ -116,7 +116,7 @@ public function critical($message, array $context = [])
*
* @return void
*/
public function crit($message, array $context = [])
public function crit($message, array $context = []): void
{
if (0 === ($this->level & self::CRIT)) {
return;
Expand All @@ -131,7 +131,7 @@ public function crit($message, array $context = [])
*
* @return void
*/
public function error($message, array $context = [])
public function error($message, array $context = []): void
{
$this->err($message, $context);
}
Expand All @@ -142,7 +142,7 @@ public function error($message, array $context = [])
*
* @return void
*/
public function err($message, array $context = [])
public function err($message, array $context = []): void
{
if (0 === ($this->level & self::ERR)) {
return;
Expand All @@ -157,7 +157,7 @@ public function err($message, array $context = [])
*
* @return void
*/
public function warning($message, array $context = [])
public function warning($message, array $context = []): void
{
$this->warn($message, $context);
}
Expand All @@ -168,7 +168,7 @@ public function warning($message, array $context = [])
*
* @return void
*/
public function warn($message, array $context = [])
public function warn($message, array $context = []): void
{
if (0 === ($this->level & self::WARN)) {
return;
Expand All @@ -183,7 +183,7 @@ public function warn($message, array $context = [])
*
* @return void
*/
public function notice($message, array $context = [])
public function notice($message, array $context = []): void
{
if (0 === ($this->level & self::NOTICE)) {
return;
Expand All @@ -198,7 +198,7 @@ public function notice($message, array $context = [])
*
* @return void
*/
public function info($message, array $context = [])
public function info($message, array $context = []): void
{
if (0 === ($this->level & self::INFO)) {
return;
Expand All @@ -213,7 +213,7 @@ public function info($message, array $context = [])
*
* @return void
*/
public function debug($message, array $context = [])
public function debug($message, array $context = []): void
{
if (0 === ($this->level & self::DEBUG)) {
return;
Expand All @@ -229,7 +229,7 @@ public function debug($message, array $context = [])
*
* @return void
*/
public function log($level, $message, array $context = [])
public function log($level, $message, array $context = []): void
{
if (0 === ($this->level & $level)) {
return;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"symfony/translation-contracts": "^2.0 || ^3.0",
"symfony/validator": "^5.4 || ^6.4",
"twig/twig": "^3.15",
"psr/log": "^1.0 || ^2.0"
"psr/log": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"doctrine/annotations": "^1.11",
Expand Down
Loading