-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #155 Add support for Symfony 6 (loic425)
This PR was merged into the 2.0-dev branch. Discussion ---------- | Q | A | --------------- | ----- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT Commits ------- e9557ba Add support for Symfony 6.0 1c530a5 Fix Phpstan and Psalm errors 597ef46 Fix another Psalm error 6107bd4 Remove Swiftmailer spec on Symfony 6 d6eb1af Fix spec removal 3c89f5a Copy bundles no swift config 15e8ab9 Trying to fix setDeprecated method on configuration f63a48b Fix another setDeprecated method on configuration ca0858d Fix bootstrap on test app ecf4e8c Add tests for Symfony 6.1 7a114e8 Exclude Symfony 6.1 with PHP 8.0 c6ea7b3 Fix build fb67acb Clean up and split static analysis
- Loading branch information
Showing
8 changed files
with
123 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-webmozart-assert/extension.neon | ||
- vendor/phpstan/phpstan-phpunit/extension.neon | ||
|
||
- vendor/phpstan/phpstan-phpunit/rules.neon | ||
|
||
parameters: | ||
checkMissingIterableValueType: false | ||
|
||
excludePaths: | ||
- %currentWorkingDirectory%/src/Bundle/DependencyInjection/Configuration.php | ||
- %currentWorkingDirectory%/src/Bundle/spec/* | ||
- %currentWorkingDirectory%/src/Bundle/test/* | ||
- %currentWorkingDirectory%/src/Bundle/tests/* | ||
- %currentWorkingDirectory%/src/Component/spec/* | ||
- %currentWorkingDirectory%/src/Component/vendor/* | ||
|
||
ignoreErrors: | ||
- '/Property Sylius\\Component\\Mailer\\Model\\Email\:\:\$id is never written\, only read\./' | ||
- '/PHPDoc tag \@param references unknown parameter\: \$bccRecipients/' | ||
- '/PHPDoc tag \@param references unknown parameter\: \$ccRecipients/' |
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,52 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
<directory name="src/Bundle/spec" /> | ||
<directory name="src/Bundle/test" /> | ||
<directory name="src/Bundle/tests" /> | ||
<directory name="src/Component/spec" /> | ||
<directory name="src/Component/vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
|
||
<issueHandlers> | ||
<InvalidDocblockParamName> | ||
<errorLevel type="suppress"> | ||
<file name="src/Component/Sender/SenderInterface.php" /> | ||
</errorLevel> | ||
</InvalidDocblockParamName> | ||
|
||
<PossiblyNullReference> | ||
<errorLevel type="suppress"> | ||
<file name="src/Bundle/DependencyInjection/Configuration.php" /> | ||
</errorLevel> | ||
</PossiblyNullReference> | ||
|
||
<PossiblyUndefinedMethod> | ||
<errorLevel type="suppress"> | ||
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeDefinition::scalarNode" /> | ||
</errorLevel> | ||
</PossiblyUndefinedMethod> | ||
|
||
<TooManyArguments> | ||
<errorLevel type="suppress"> | ||
<referencedFunction name="Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct" /> | ||
<referencedFunction name="Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch" /> | ||
</errorLevel> | ||
</TooManyArguments> | ||
|
||
<NonInvariantDocblockPropertyType> | ||
<errorLevel type="suppress"> | ||
<file name="src/Bundle/Renderer/Adapter/EmailDefaultAdapter.php" /> | ||
<file name="src/Bundle/Sender/Adapter/DefaultAdapter.php" /> | ||
</errorLevel> | ||
</NonInvariantDocblockPropertyType> | ||
</issueHandlers> | ||
</psalm> |
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