Skip to content

Commit

Permalink
[TASK] update phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmschuler committed Sep 6, 2024
1 parent 3f06e99 commit 25c1ffd
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@
"lint:phpcs:dry-run": "phpcs Classes",
"lint:phpcs:dry-run:onlyerrors": "phpcs -n Classes",
"lint:phpstan": "phpstan --level=5 --memory-limit=1G analyse",
"lint:phpstan:baseline": "phpstan --level=5 --memory-limit=1G analyse --generate-baseline",
"lint:phpstan:baseline": "phpstan --level=5 --memory-limit=1G analyse --generate-baseline --allow-empty-baseline",
"lint:phpstan:ci": "phpstan --level=5 --memory-limit=1G --no-progress analyse",
"lint:typoscript": "typoscript-lint",
"lint:xliff": "xmllint --schema ./Tests/Resources/xliff-core-1.2-strict.xsd --noout $(find Resources/Private/Language -name '*.xlf')",
11 changes: 1 addition & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
parameters:
ignoreErrors:
-
message: "#^Call to method assign\\(\\) on an unknown class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\.$#"
count: 2
path: Classes/SignalSlot/MailManipulation.php

-
message: "#^Parameter \\$standaloneView of method Jpmschuler\\\\PowermailLimits\\\\SignalSlot\\\\MailManipulation\\:\\:createEmailBodyBeforeRender\\(\\) has invalid type TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\.$#"
count: 1
path: Classes/SignalSlot/MailManipulation.php
ignoreErrors: []

0 comments on commit 25c1ffd

Please sign in to comment.