Skip to content

Commit

Permalink
Merge pull request #100 from Algatux/php8
Browse files Browse the repository at this point in the history
feat: php 8 compatibility
  • Loading branch information
soullivaneuh authored Feb 20, 2024
2 parents 570bbd0 + 74d1b81 commit dfc4fbd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
- php: '7.2'
- php: '7.3'
- php: '7.4'
- php: '8.0'
- php: '8.1'
- php: '8.2'
- php: '8.3'
- php: '7.2'
prefer_lowest: 1
- php: '7.2'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"influxdb/influxdb-php": "^1.2",
"symfony/console": "^4.4 || ^5.4",
"symfony/framework-bundle": "^4.4 || ^5.4"
Expand Down
3 changes: 2 additions & 1 deletion src/AlgatuxInfluxDbBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
namespace Algatux\InfluxDbBundle;

use Algatux\InfluxDbBundle\DependencyInjection\AlgatuxInfluxDbExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

final class AlgatuxInfluxDbBundle extends Bundle
{
public function getContainerExtension()
public function getContainerExtension(): ?ExtensionInterface
{
return new AlgatuxInfluxDbExtension();
}
Expand Down

0 comments on commit dfc4fbd

Please sign in to comment.