Skip to content

Commit

Permalink
Fix test on PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Oct 8, 2023
1 parent 8550dea commit 491f897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
symfony: 6.4.*
- php: '8.3'
symfony: 7.0.*
name: PHP ${{ matrix.php }} SYMFONY (${{ matrix.symfony }})
name: PHP ${{ matrix.php }} SYMFONY ${{ matrix.symfony }}
runs-on: ubuntu-20.04

steps:
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function getClientDecorator()
return $this->client->getContainer()->get('okvpn_datadog.client_test_decorator');
}

protected static function assertContainsStr(string $needle, mixed $haystack, string $message = '')
protected static function assertContainsStr(string $needle, $haystack, string $message = '')
{
if (method_exists(__CLASS__, 'assertStringContainsString')) {
self::assertStringContainsString($needle, $haystack, $message);
Expand Down

0 comments on commit 491f897

Please sign in to comment.