Update stdlib to 3.10 and remove unnecessary annotation
MODIFY
composer.json
composer.json
"require": {
"php": "^7.3 || ~8.0.0 || ~8.1.0",
"container-interop/container-interop": "^1.1",
- "laminas/laminas-stdlib": "^3.6"
+ "laminas/laminas-stdlib": "^3.10"
},
"require-dev": {
"laminas/laminas-cache": "^2.6.1",

MODIFY
composer.lock
composer.lock
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "0ab16e4f22b3ddb83ac4802a1f9b03ea",
+ "content-hash": "9cfab05d9913bbc9e4ac25184c989da7",
"packages": [
{
"name": "container-interop/container-interop",
},
{
"name": "laminas/laminas-stdlib",
- "version": "3.9.1",
+ "version": "3.10.0",
"source": {
"type": "git",
"url": "https://github.com/laminas/laminas-stdlib.git",
- "reference": "1df1cc0b9c2b8c7d1e322da1669a576386b5da46"
+ "reference": "449c0405e182bfe77702604a474668fbb63e9907"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/1df1cc0b9c2b8c7d1e322da1669a576386b5da46",
- "reference": "1df1cc0b9c2b8c7d1e322da1669a576386b5da46",
+ "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/449c0405e182bfe77702604a474668fbb63e9907",
+ "reference": "449c0405e182bfe77702604a474668fbb63e9907",
"shasum": ""
},
"require": {
"type": "community_bridge"
}
],
- "time": "2022-06-08T11:33:13+00:00"
+ "time": "2022-06-09T08:43:49+00:00"
},
{
"name": "psr/container",

MODIFY
psalm-baseline.xml
psalm-baseline.xml
<MixedReturnStatement occurrences="1">
<code>$this-&gt;options['inclusive']</code>
</MixedReturnStatement>
- <PossiblyInvalidArgument occurrences="1">
- <code>$options</code>
- </PossiblyInvalidArgument>
</file>
<file src="src/Bitwise.php">
<DocblockTypeContradiction occurrences="4">

MODIFY
src/AbstractValidator.php
src/AbstractValidator.php
@@ -96,7 +96,6 @@ abstract class AbstractValidator implements
{
// The abstract constructor allows no scalar values
if ($options instanceof Traversable) {
- /** @psalm-var array<string, mixed> $options */
$options = ArrayUtils::iteratorToArray($options);
}

Update stdlib to 3.10 and remove unnecessary annotation

Signed-off-by: George Steel <george@net-glue.co.uk>