Skip to content

Commit

Permalink
Merge pull request #57 from laminas/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
Lock file maintenance
Xerkus authored Jan 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 8b64e61 + c8df3fa commit ea5294c
Showing 6 changed files with 395 additions and 475 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.phpunit.result.cache
/.psalm-cache
/docs/html/
/laminas-mkdoc-theme.tgz
/laminas-mkdoc-theme/
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
"license": "BSD-3-Clause",
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"laminas/laminas-cache": "^3.0"
"laminas/laminas-cache": "^3.10"
},
"provide": {
"laminas/laminas-cache-storage-implementation": "1.0"
@@ -20,7 +20,7 @@
"laminas/laminas-cache-storage-adapter-test": "^2.4",
"laminas/laminas-coding-standard": "~2.5.0",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.2"
"vimeo/psalm": "^5.18"
},
"config": {
"sort-packages": true,
@@ -53,6 +53,7 @@
"scripts": {
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"static-analysis": "psalm --shepherd --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
832 changes: 366 additions & 466 deletions composer.lock

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.18.0@b113f3ed0259fd6e212d87c3df80eec95a6abf19">
<file src="src/BlackHole.php">
<MoreSpecificImplementedParamType>
<code>$options</code>
</MoreSpecificImplementedParamType>
</file>
<file src="src/BlackHole/AdapterPluginManagerDelegatorFactory.php">
<UnusedParam>
<code>$container</code>
<code>$name</code>
</UnusedParam>
</file>
</files>
14 changes: 9 additions & 5 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<?xml version="1.0"?>
<psalm
errorLevel="1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedPsalmSuppress="true"
cacheDirectory="./.psalm-cache"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorLevel="1"
findUnusedPsalmSuppress="true"
findUnusedCode="true"
findUnusedBaselineEntry="true"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src"/>
4 changes: 2 additions & 2 deletions src/BlackHole.php
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ final class BlackHole implements
/**
* Constructor
*
* @param null|array|Traversable|AdapterOptions $options
* @param null|array<string, mixed>|Traversable<string, mixed>|AdapterOptions $options
*/
public function __construct($options = null)
{
@@ -72,7 +72,7 @@ public function __construct($options = null)
/**
* Set options.
*
* @param array|Traversable|AdapterOptions $options
* @param array<string, mixed>|Traversable<string, mixed>|AdapterOptions $options
* @return BlackHole Provides a fluent interface
*/
public function setOptions($options)

0 comments on commit ea5294c

Please sign in to comment.