Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
}
},
"require-dev": {
"symfony/phpunit-bridge": "^6.4.3|^7.0",
"symfony/var-dumper": "^6.4|^7.0",
"symfony/framework-bundle": "^6.4|^7.0",
"symfony/yaml": "^6.4|^7.0",
"symfony/translation": "^6.4|^7.0",
"assoconnect/php-quality-config": "^1.16",
"phpstan/phpstan-symfony": "^1.3.7"
"symfony/phpunit-bridge": "^7.0.1",
"symfony/var-dumper": "^7.0",
"symfony/framework-bundle": "^7.0",
"symfony/yaml": "^7.0",
"symfony/translation": "^7.0",
"assoconnect/php-quality-config": "^2",
"phpstan/phpstan-symfony": "^2"
},
"require": {
"php": "^8.3",
"symfony/cache": "^6.0|^7.0",
"symfony/cache": "^7.0",
"symfony/contracts": "^2.5|^3.4",
"phpmailer/phpmailer": "^6.6",
"thecodingmachine/safe": "^3"
Expand Down
15 changes: 12 additions & 3 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
parameters:
ignoreErrors:
-
message: "#^The string contains an insecure link$#"
message: '#^The string contains an insecure link$#'
identifier: assoconnect.insecureLink
count: 1
path: src/Resolver/BounceTypeResolver.php

-
message: "#^Cannot call method trans\\(\\) on object\\|null\\.$#"
message: '#^Call to function array_filter\(\) requires parameter \#2 to be passed to avoid loose comparison semantics\.$#'
identifier: arrayFilter.strict
count: 1
path: src/Translatable/BounceReasonTranslatable.php

-
message: '#^Call to an undefined method object\:\:trans\(\)\.$#'
identifier: method.notFound
count: 1
path: tests/Translatable/BounceReasonTranslatableTest.php

-
message: "#^Parameter \\#1 \\$translator of method AssoConnect\\\\SmtpToolbox\\\\Translatable\\\\BounceReasonTranslatable\\:\\:trans\\(\\) expects Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface, object\\|null given\\.$#"
message: '#^Parameter \#1 \$translator of method AssoConnect\\SmtpToolbox\\Translatable\\BounceReasonTranslatable\:\:trans\(\) expects Symfony\\Contracts\\Translation\\TranslatorInterface, object given\.$#'
identifier: argument.type
count: 1
path: tests/Translatable/BounceReasonTranslatableTest.php
2 changes: 1 addition & 1 deletion tests/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TestKernel extends Kernel
{
public function registerBundles(): iterable
{
return [new FrameworkBundle()];
yield new FrameworkBundle();
}

public function registerContainerConfiguration(LoaderInterface $loader): void
Expand Down
Loading