Skip to content

Commit

Permalink
Try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Apr 29, 2024
1 parent 53c4b4a commit 0dfd5f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga

build:
name: Build
runs-on: Ubuntu-20.04
runs-on: Ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Set up PHP
uses: shivammathur/setup-php@2
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
Expand Down
3 changes: 2 additions & 1 deletion Logging/AdaptiveHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
namespace Ekino\NewRelicBundle\Logging;

use Monolog\Handler\NewRelicHandler;
use Monolog\LogRecord;
use Psr\Log\LogLevel;

class AdaptiveHandler extends NewRelicHandler
Expand All @@ -28,7 +29,7 @@ public function __construct(
parent::__construct($level, $bubble, $appName, $explodeArrays, $transactionName);
}

protected function write(array $record): void
protected function write(LogRecord $record): void
{
if (!$this->isNewRelicEnabled()) {
return;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"symfony/http-kernel": "^5.4|^6.4|^7.0"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"matthiasnoback/symfony-dependency-injection-test": "^4.3|^5.1",
"symfony/framework-bundle": "^5.4|^6.4|^7.0",
"symfony/phpunit-bridge": "^5.3|^6.0|^7.0",
"twig/twig": "^1.32|^2.4|^3.0",
Expand Down

0 comments on commit 0dfd5f9

Please sign in to comment.