Skip to content

Commit

Permalink
Merge pull request #6 from Lukeboy25/master
Browse files Browse the repository at this point in the history
Support for PHP 8
  • Loading branch information
AlexLisenkov authored Mar 21, 2022
2 parents 90cb680 + 5165375 commit 471d958
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
vendor
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
}
],
"require": {
"php": "^7.1",
"paknahad/jsonapi-bundle": "^3.0",
"andreas-glaser/doctrine-rql": "^0.3"
"php": "^8.0",
"paknahad/jsonapi-bundle": "^5.0",
"andreas-glaser/doctrine-rql": "^0.4"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
7 changes: 0 additions & 7 deletions src/Finder/Rql.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,4 @@ public function filterQuery(): void {
public function sortQuery(): void
{
}

/**
* {@inheritDoc}
*/
public function sortQuery(): void
{
}
}
4 changes: 2 additions & 2 deletions src/MnugterJsonApiRqlFilterBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace Mnugter\JsonApiRqlFinderBundle;

use Mnugter\JsonApiRqlFinderBundle\DependencyInjection\JsonApiRqlFinderExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class MnugterJsonApiRqlFilterBundle extends Bundle
{
public function getContainerExtension()
public function getContainerExtension(): ?ExtensionInterface
{
return new JsonApiRqlFinderExtension();
}
Expand Down

0 comments on commit 471d958

Please sign in to comment.