Skip to content

Commit 8fa70c9

Browse files
authored
Merge pull request #604 from netglue/dependencies
Refresh dependencies
2 parents 2d24f0d + fb8fdbf commit 8fa70c9

File tree

4 files changed

+84
-71
lines changed

4 files changed

+84
-71
lines changed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@
4343
"psr/http-client-implementation": "*",
4444
"psr/http-factory": "^1.0",
4545
"psr/http-message": "^1.0 || ^2.0",
46-
"sebastian/diff": "^5.0 || ^6.0 || ^7.0",
47-
"symfony/console": "^6.4.13 || ^7.0.0",
48-
"webmozart/assert": "^1.11"
46+
"sebastian/diff": "^6.0 || ^7.0 || ^8.0",
47+
"symfony/console": "^6.4.13 || ^7.0.0 || ^8.0.0",
48+
"webmozart/assert": "^2.1"
4949
},
5050
"require-dev": {
5151
"ext-curl": "*",
5252
"doctrine/coding-standard": "^14.0",
5353
"laminas/laminas-config-aggregator": "^1.19",
5454
"laminas/laminas-diactoros": "^3.8.0",
5555
"laminas/laminas-servicemanager": "^4.5.0",
56-
"php-http/curl-client": "^2.3.3",
57-
"phpunit/phpunit": "^11.5.44 || ^12.0.1",
56+
"php-http/curl-client": "^2.4.0",
57+
"phpunit/phpunit": "^11.5.52 || ^12.0.1 || ^13.0.1",
5858
"psalm/plugin-phpunit": "^0.19.5",
5959
"roave/security-advisories": "dev-master",
60-
"vimeo/psalm": "^6.13.1"
60+
"vimeo/psalm": "^6.15.1"
6161
},
6262
"extra": {
6363
"laminas": {

composer.lock

Lines changed: 64 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Assert.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// phpcs:ignoreFile
2+
33
declare(strict_types=1);
44

55
namespace Primo\Cli;
@@ -8,19 +8,16 @@
88
use Primo\Cli\Exception\AssertionFailed;
99
use Webmozart\Assert\Assert as WebmozartAssert;
1010

11+
/** @internal */
1112
final class Assert extends WebmozartAssert
1213
{
1314
/**
14-
* @param string $message
15-
*
16-
* @return never
17-
*
1815
* @throws AssertionFailed
1916
*
2017
* @psalm-pure this method is not supposed to perform side-effects
2118
*/
2219
#[Override]
23-
protected static function reportInvalidArgument($message)
20+
protected static function reportInvalidArgument(string $message): never
2421
{
2522
throw new AssertionFailed($message);
2623
}

0 commit comments

Comments
 (0)