Skip to content

Commit 233e987

Browse files
Bump the dev-dependencies group with 2 updates
* Bump the dev-dependencies group with 2 updates Bumps the dev-dependencies group with 2 updates: [phpstan/phpstan](https://github.com/phpstan/phpstan) and [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit). Updates `phpstan/phpstan` from 2.1.17 to 2.1.21 - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md) - [Commits](phpstan/phpstan@2.1.17...2.1.21) Updates `phpunit/phpunit` from 9.6.22 to 9.6.23 - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.23/ChangeLog-9.6.md) - [Commits](sebastianbergmann/phpunit@9.6.22...9.6.23) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-version: 2.1.21 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: phpunit/phpunit dependency-version: 9.6.23 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Fix PHPStan baseline --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cédric Anne <[email protected]>
1 parent 97858df commit 233e987

File tree

2 files changed

+29
-21
lines changed

2 files changed

+29
-21
lines changed

.phpstan-baseline.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@
12621262
'path' => __DIR__ . '/src/Agent.php',
12631263
];
12641264
$ignoreErrors[] = [
1265-
'message' => '#^Parameter \\#1 \\$parent of method Glpi\\\\Agent\\\\Communication\\\\AbstractRequest\\:\\:addNode\\(\\) expects DOMElement, DOMNode given\\.$#',
1265+
'message' => '#^Parameter \\#1 \\$parent of method Glpi\\\\Agent\\\\Communication\\\\AbstractRequest\\:\\:addNode\\(\\) expects DOMElement, \\(DOMNode\\|false\\) given\\.$#',
12661266
'identifier' => 'argument.type',
12671267
'count' => 1,
12681268
'path' => __DIR__ . '/src/Agent/Communication/AbstractRequest.php',
@@ -1892,7 +1892,7 @@
18921892
'path' => __DIR__ . '/src/Calendar_Holiday.php',
18931893
];
18941894
$ignoreErrors[] = [
1895-
'message' => '#^Comparison operation "\\>" between int\\<1, max\\> and 0 is always true\\.$#',
1895+
'message' => '#^Comparison operation "\\>" between int\\<min, \\-1\\>\\|int\\<1, max\\> and 0 is always true\\.$#',
18961896
'identifier' => 'greater.alwaysTrue',
18971897
'count' => 1,
18981898
'path' => __DIR__ . '/src/Cartridge.php',
@@ -6746,7 +6746,7 @@
67466746
'path' => __DIR__ . '/src/Stat.php',
67476747
];
67486748
$ignoreErrors[] = [
6749-
'message' => '#^Comparison operation "\\>" between int\\<1, max\\> and 0 is always true\\.$#',
6749+
'message' => '#^Comparison operation "\\>" between int and 0 is always true\\.$#',
67506750
'identifier' => 'greater.alwaysTrue',
67516751
'count' => 1,
67526752
'path' => __DIR__ . '/src/Supplier.php',

composer.lock

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

0 commit comments

Comments
 (0)