1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-30 18:00:17 +02:00

Merge branch '2.x'

This commit is contained in:
Jordi Boggiano
2023-02-04 23:11:46 +01:00
4 changed files with 23 additions and 0 deletions

View File

@@ -4,6 +4,9 @@ on:
- push
- pull_request
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tests:
name: "CI (PHP ${{ matrix.php-version }}, ${{ matrix.dependencies }} deps)"

View File

@@ -4,6 +4,9 @@ on:
push:
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tests:
name: "Lint"

View File

@@ -7,6 +7,9 @@ on:
env:
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tests:
name: "PHPStan"

View File

@@ -63,4 +63,18 @@ class WhatFailureGroupHandler extends GroupHandler
}
}
}
/**
* {@inheritDoc}
*/
public function close(): void
{
foreach ($this->handlers as $handler) {
try {
$handler->close();
} catch (\Throwable $e) {
// What failure?
}
}
}
}