Skip to content

Commit

Permalink
Update baselines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerendir committed Dec 29, 2023
1 parent 1e2d23a commit 657b3a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .baseline-phan.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
// PhanTypeMismatchReturn : 10+ occurrences
// PhanUnreferencedClosure : 9 occurrences
// PhanTypeMismatchArgument : 8 occurrences
// PhanTypeMismatchDeclaredReturn : 8 occurrences
// PhanUndeclaredProperty : 8 occurrences
// PhanTypeMismatchDeclaredReturn : 6 occurrences
// PhanUnreferencedProtectedMethod : 6 occurrences
// PhanParamSignatureMismatch : 4 occurrences
// PhanTypeMismatchArgumentSuperType : 4 occurrences
Expand Down Expand Up @@ -54,9 +54,8 @@
'src/Form/DataTransformer/RechargeableFeatureTransformer.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchReturnSuperType', 'PhanUndeclaredMethod', 'PhanUnusedPublicFinalMethodParameter'],
'src/Form/Type/FeaturesType.php' => ['PhanTypeMismatchArgumentSuperType', 'PhanUndeclaredMethod', 'PhanUnreferencedClosure'],
'src/InvoiceDrawer/AbstractInvoiceDrawer.php' => ['PhanWriteOnlyPublicProperty'],
'src/InvoiceDrawer/InvoiceDrawerInterface.php' => ['PhanTypeMismatchDeclaredReturn'],
'src/Manager/FeaturesManager.php' => ['PhanDeprecatedFunction', 'PhanUndeclaredMethod'],
'src/Manager/InvoicesManager.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentNullable', 'PhanTypeMismatchDeclaredReturn', 'PhanTypeMismatchDimFetch', 'PhanTypeMismatchPropertyReal', 'PhanUndeclaredMethod', 'PhanWriteOnlyPrivateProperty'],
'src/Manager/InvoicesManager.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentNullable', 'PhanTypeMismatchDimFetch', 'PhanTypeMismatchPropertyReal', 'PhanUndeclaredMethod', 'PhanWriteOnlyPrivateProperty'],
'src/Model/Feature/AbstractFeaturesCollection.php' => ['PhanDeprecatedFunction', 'PhanUnreferencedClosure', 'PhanUnreferencedPublicClassConstant'],
'src/Model/Feature/Configured/ConfiguredCountableFeature.php' => ['PhanReadOnlyPrivateProperty', 'PhanUnusedPublicFinalMethodParameter'],
'src/Model/Feature/Configured/ConfiguredFeaturesCollection.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchDeclaredReturn', 'PhanUnreferencedProtectedMethod'],
Expand Down
5 changes: 0 additions & 5 deletions .baseline-phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ parameters:
count: 1
path: src/InvoiceDrawer/InvoiceDrawerInterface.php

-
message: "#^PHPDoc tag @return with type mixed is not subtype of native type array\\.$#"
count: 1
path: src/InvoiceDrawer/InvoiceDrawerInterface.php

-
message: "#^Cannot call method getHeader\\(\\) on SerendipityHQ\\\\Bundle\\\\FeaturesBundle\\\\Model\\\\InvoiceSection\\|null\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion .baseline-psalm.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.15.0@5c774aca4746caf3d239d9c8cadb9f882ca29352">
<files psalm-version="5.18.0@b113f3ed0259fd6e212d87c3df80eec95a6abf19">
<file src="src/DependencyInjection/Configuration.php">
<ArgumentTypeCoercion>
<code>$currency</code>
Expand Down

0 comments on commit 657b3a9

Please sign in to comment.