From fd1eb6c2c1b6c2cb256e54017ede5b8059f33164 Mon Sep 17 00:00:00 2001 From: mscherer Date: Mon, 6 Dec 2021 18:42:46 +0100 Subject: [PATCH] Fix up baseline. --- phpstan-baseline.neon | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 5b0ef57571..5dba204a54 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -540,6 +540,26 @@ parameters: count: 1 path: src/Propel/Runtime/Collection/ArrayCollection.php + - + message: "#^Return type \\(void\\) of method Propel\\\\Runtime\\\\Collection\\\\CollectionIterator\\:\\:asort\\(\\) should be compatible with return type \\(bool\\) of method ArrayIterator\\<\\(int\\|string\\),mixed\\>\\:\\:asort\\(\\)$#" + count: 1 + path: src/Propel/Runtime/Collection/CollectionIterator.php + + - + message: "#^Return type \\(void\\) of method Propel\\\\Runtime\\\\Collection\\\\CollectionIterator\\:\\:ksort\\(\\) should be compatible with return type \\(bool\\) of method ArrayIterator\\<\\(int\\|string\\),mixed\\>\\:\\:ksort\\(\\)$#" + count: 1 + path: src/Propel/Runtime/Collection/CollectionIterator.php + + - + message: "#^Return type \\(void\\) of method Propel\\\\Runtime\\\\Collection\\\\CollectionIterator\\:\\:natcasesort\\(\\) should be compatible with return type \\(bool\\) of method ArrayIterator\\<\\(int\\|string\\),mixed\\>\\:\\:natcasesort\\(\\)$#" + count: 1 + path: src/Propel/Runtime/Collection/CollectionIterator.php + + - + message: "#^Return type \\(void\\) of method Propel\\\\Runtime\\\\Collection\\\\CollectionIterator\\:\\:natsort\\(\\) should be compatible with return type \\(bool\\) of method ArrayIterator\\<\\(int\\|string\\),mixed\\>\\:\\:natsort\\(\\)$#" + count: 1 + path: src/Propel/Runtime/Collection/CollectionIterator.php + - message: "#^Call to an undefined method Propel\\\\Runtime\\\\ActiveRecord\\\\ActiveRecordInterface\\:\\:delete\\(\\)\\.$#" count: 1 @@ -580,11 +600,6 @@ parameters: count: 1 path: src/Propel/Runtime/Collection/OnDemandCollection.php - - - message: "#^Method Propel\\\\Runtime\\\\Collection\\\\OnDemandCollection\\:\\:getIterator\\(\\) should return Propel\\\\Runtime\\\\Collection\\\\OnDemandIterator but returns Iterator\\.$#" - count: 1 - path: src/Propel/Runtime/Collection/OnDemandCollection.php - - message: "#^Return type \\(Propel\\\\Runtime\\\\Collection\\\\OnDemandIterator\\) of method Propel\\\\Runtime\\\\Collection\\\\OnDemandCollection\\:\\:getIterator\\(\\) should be compatible with return type \\(Propel\\\\Runtime\\\\Collection\\\\CollectionIterator\\) of method Propel\\\\Runtime\\\\Collection\\\\Collection\\:\\:getIterator\\(\\)$#" count: 1