Skip to content

Commit

Permalink
Allow packages from "symfony/*" ^7
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Dec 31, 2023
1 parent aa7c160 commit 23f91da
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
strategy:
matrix:
php:
- 8.0
- 8.2

name: Test ${{ matrix.php }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: shivammathur/setup-php@v1
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo_sqlite, pdo_mysql, pdo_pgsql
Expand Down
23 changes: 9 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
{ "name": "Knplabs", "homepage": "http://knplabs.com" }
],
"require": {
"php": ">=8.0",
"doctrine/common": "^3.3",
"php": ">=8.2",
"doctrine/collections": "^1.6.8",
"doctrine/persistence": "^2.5|^3.0",
"doctrine/dbal": "^3.3",
"doctrine/orm": "^2.12",
"doctrine/doctrine-bundle": "^2.6",
"symfony/cache": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/security-core": "^5.4|^6.0",
"symfony/framework-bundle": "^5.4|^6.0",
"symfony/string": "^5.4|^6.0",
"symfony/cache": "^6.2|^7.0",
"symfony/dependency-injection": "^6.2|^7.0",
"symfony/http-kernel": "^6.2|^7.0",
"symfony/framework-bundle": "^5.4|^6.2|^7.0",
"symfony/security-bundle": "^6.2|^7.0",
"symfony/string": "^5.4|^6.2|^7.0",
"symfony/translation-contracts": "^2.4|^3.0",
"nette/utils": "^3.2",
"ramsey/uuid": "^4.2"
Expand All @@ -37,14 +37,9 @@
"phpstan/phpstan": "^1.7.10",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.13.4",
"symplify/easy-coding-standard": "^10.2.9",
"symplify/phpstan-extensions": "^10.2.9",
"phpstan/phpstan-doctrine": "^1.3",
"phpstan/phpstan-phpunit": "^1.1",
"symplify/package-builder": "^10.2.9",
"symplify/phpstan-rules": "^10.2.9",
"phpstan/extension-installer": "^1.1",
"symplify/easy-ci": "^10.2.9"
"phpstan/extension-installer": "^1.1"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Provider/UserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Knp\DoctrineBehaviors\Provider;

use Knp\DoctrineBehaviors\Contract\Provider\UserProviderInterface;
use Symfony\Component\Security\Core\Security;
use Symfony\Bundle\SecurityBundle\Security;

final class UserProvider implements UserProviderInterface
{
Expand Down
2 changes: 1 addition & 1 deletion tests/config/config_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use Knp\DoctrineBehaviors\Tests\Provider\TestLocaleProvider;
use Knp\DoctrineBehaviors\Tests\Provider\TestUserProvider;
use Psr\Log\Test\TestLogger;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symfony\Component\Security\Core\Security;
use function Symfony\Component\DependencyInjection\Loader\Configurator\service;

return static function (ContainerConfigurator $containerConfigurator): void {
Expand Down

0 comments on commit 23f91da

Please sign in to comment.