-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #863 Adding support for Symfony 7 (loic425)
This PR was merged into the 1.12 branch. Discussion ---------- | Q | A | --------------- | ----- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT This PR replaces #840 Commits ------- 85f4576 Move fos rest, jms serializer and hateoas on dev requirements 2b7ff42 Add tests for compiler passes da7871f Rename compiler passes 4dfc684 Allow SF7 on dependencies d29e5fe SF7 Fix the sf7 build 6ac896f Bump symfony-dependency-injection-test 9ec1840 [SF7] Bump grid version 9f47ea9 [SF7] Bump Doctrine event manager version c7c6a49 [SF7] Add removed symfony container aware trait 5a524b3 [SF7] Remove enable authenticator manager option on test application a81388b Upgrade winzou on dev branch 3c3d761 [SF7] Remove hateoas on Symfony 7 7d8b62e [SF7] Fix resource loader cffcc4a Use abstract loader from Symfony 34bfd2f Fix analysis errors 8beb5e5 Fix PHPStan errors fd5ca0e Add suggestion from code review 6de5b05 [SF7] Fix phpspec tests 66338cf [SF7] Fix PHPUnit tests 15d8cc4 [SF7] Bump Winzou state machine version dc9daca Fix target entities resolving with Symfony 7 d12b302 Fix Psalm error 5b8a233 Fix coding standard c3ff04d Small fix d622fa2 Remove experimental on CI build & bump php version on component ae24d74 Fix coding standard and add conflict explanation d15296e Test CI 7371171 Fix ORM translatable listener to support SF7
- Loading branch information
Showing
47 changed files
with
478 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Sylius package. | ||
* | ||
* (c) Sylius Sp. z o.o. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Sylius\Bundle\ResourceBundle\Controller; | ||
|
||
use Symfony\Component\DependencyInjection\ContainerInterface; | ||
|
||
/** | ||
* Copied from Symfony to keep using ResourceController as this trait has been removed in Symfony 7. | ||
* Do not use this trait on your projects, use dependency injection instead. | ||
* | ||
* @see /~https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/DependencyInjection/ContainerAwareTrait.php | ||
* | ||
* @internal | ||
*/ | ||
trait ContainerAwareTrait | ||
{ | ||
protected ?ContainerInterface $container = null; | ||
|
||
public function setContainer(?ContainerInterface $container = null): void | ||
{ | ||
$this->container = $container; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.