Skip to content

Commit 8ccd5ce

Browse files
Update tools
1 parent c8ee553 commit 8ccd5ce

32 files changed

+296
-218
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="php-cs-fixer" version="^3.86" installed="3.93.1" location="./tools/php-cs-fixer" copy="true"/>
3+
<phar name="php-cs-fixer" version="^3.86" installed="3.94.2" location="./tools/php-cs-fixer" copy="true"/>
44
<phar name="composer" version="^2.8" installed="2.9.5" location="./tools/composer" copy="true"/>
55
</phive>

tools/.phpstan/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"require-dev": {
3-
"phpstan/phpstan": "^2.1.38",
3+
"phpstan/phpstan": "^2.1.41",
44
"phpstan/extension-installer": "^1.4.3",
5-
"phpstan/phpstan-strict-rules": "^2.0.8",
5+
"phpstan/phpstan-strict-rules": "^2.0.10",
66
"tomasvotruba/type-coverage": "^2.1.0",
77
"ergebnis/phpstan-rules": "^2.13.1"
88
},

tools/.phpstan/composer.lock

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

tools/.phpstan/vendor/composer/installed.json

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@
7878
},
7979
{
8080
"name": "nette/utils",
81-
"version": "v4.1.2",
82-
"version_normalized": "4.1.2.0",
81+
"version": "v4.1.3",
82+
"version_normalized": "4.1.3.0",
8383
"source": {
8484
"type": "git",
8585
"url": "https://github.com/nette/utils.git",
86-
"reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5"
86+
"reference": "bb3ea637e3d131d72acc033cfc2746ee893349fe"
8787
},
8888
"dist": {
8989
"type": "zip",
90-
"url": "https://api.github.com/repos/nette/utils/zipball/f76b5dc3d6c6d3043c8d937df2698515b99cbaf5",
91-
"reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5",
90+
"url": "https://api.github.com/repos/nette/utils/zipball/bb3ea637e3d131d72acc033cfc2746ee893349fe",
91+
"reference": "bb3ea637e3d131d72acc033cfc2746ee893349fe",
9292
"shasum": ""
9393
},
9494
"require": {
@@ -100,8 +100,10 @@
100100
},
101101
"require-dev": {
102102
"jetbrains/phpstorm-attributes": "^1.2",
103+
"nette/phpstan-rules": "^1.0",
103104
"nette/tester": "^2.5",
104-
"phpstan/phpstan": "^2.0@stable",
105+
"phpstan/extension-installer": "^1.4@stable",
106+
"phpstan/phpstan": "^2.1@stable",
105107
"tracy/tracy": "^2.9"
106108
},
107109
"suggest": {
@@ -112,7 +114,7 @@
112114
"ext-mbstring": "to use Strings::lower() etc...",
113115
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
114116
},
115-
"time": "2026-02-03T17:21:09+00:00",
117+
"time": "2026-02-13T03:05:33+00:00",
116118
"type": "library",
117119
"extra": {
118120
"branch-alias": {
@@ -164,7 +166,7 @@
164166
],
165167
"support": {
166168
"issues": "https://github.com/nette/utils/issues",
167-
"source": "https://github.com/nette/utils/tree/v4.1.2"
169+
"source": "https://github.com/nette/utils/tree/v4.1.3"
168170
},
169171
"install-path": "../nette/utils"
170172
},
@@ -221,12 +223,12 @@
221223
},
222224
{
223225
"name": "phpstan/phpstan",
224-
"version": "2.1.38",
225-
"version_normalized": "2.1.38.0",
226+
"version": "2.1.41",
227+
"version_normalized": "2.1.41.0",
226228
"dist": {
227229
"type": "zip",
228-
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/dfaf1f530e1663aa167bc3e52197adb221582629",
229-
"reference": "dfaf1f530e1663aa167bc3e52197adb221582629",
230+
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/a2eae8f20856b3afe74bf1f9726ce8c11438e300",
231+
"reference": "a2eae8f20856b3afe74bf1f9726ce8c11438e300",
230232
"shasum": ""
231233
},
232234
"require": {
@@ -235,7 +237,7 @@
235237
"conflict": {
236238
"phpstan/phpstan-shim": "*"
237239
},
238-
"time": "2026-01-30T17:12:46+00:00",
240+
"time": "2026-03-16T18:24:10+00:00",
239241
"bin": [
240242
"phpstan",
241243
"phpstan.phar"
@@ -277,30 +279,30 @@
277279
},
278280
{
279281
"name": "phpstan/phpstan-strict-rules",
280-
"version": "2.0.8",
281-
"version_normalized": "2.0.8.0",
282+
"version": "2.0.10",
283+
"version_normalized": "2.0.10.0",
282284
"source": {
283285
"type": "git",
284286
"url": "https://github.com/phpstan/phpstan-strict-rules.git",
285-
"reference": "1ed9e626a37f7067b594422411539aa807190573"
287+
"reference": "1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f"
286288
},
287289
"dist": {
288290
"type": "zip",
289-
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/1ed9e626a37f7067b594422411539aa807190573",
290-
"reference": "1ed9e626a37f7067b594422411539aa807190573",
291+
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f",
292+
"reference": "1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f",
291293
"shasum": ""
292294
},
293295
"require": {
294296
"php": "^7.4 || ^8.0",
295-
"phpstan/phpstan": "^2.1.29"
297+
"phpstan/phpstan": "^2.1.39"
296298
},
297299
"require-dev": {
298300
"php-parallel-lint/php-parallel-lint": "^1.2",
299301
"phpstan/phpstan-deprecation-rules": "^2.0",
300302
"phpstan/phpstan-phpunit": "^2.0",
301303
"phpunit/phpunit": "^9.6"
302304
},
303-
"time": "2026-01-27T08:10:25+00:00",
305+
"time": "2026-02-11T14:17:32+00:00",
304306
"type": "phpstan-extension",
305307
"extra": {
306308
"phpstan": {
@@ -320,9 +322,12 @@
320322
"MIT"
321323
],
322324
"description": "Extra strict and opinionated rules for PHPStan",
325+
"keywords": [
326+
"static analysis"
327+
],
323328
"support": {
324329
"issues": "https://github.com/phpstan/phpstan-strict-rules/issues",
325-
"source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.8"
330+
"source": "https://github.com/phpstan/phpstan-strict-rules/tree/2.0.10"
326331
},
327332
"install-path": "../phpstan/phpstan-strict-rules"
328333
},

tools/.phpstan/vendor/composer/installed.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => '__root__',
44
'pretty_version' => '12.5.x-dev',
55
'version' => '12.5.9999999.9999999-dev',
6-
'reference' => 'cbc3baf923944dbb6d3debcdca12149c10d7eb40',
6+
'reference' => 'c8ee553f8994551c4e253be442b1c6081bce44c5',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,7 +13,7 @@
1313
'__root__' => array(
1414
'pretty_version' => '12.5.x-dev',
1515
'version' => '12.5.9999999.9999999-dev',
16-
'reference' => 'cbc3baf923944dbb6d3debcdca12149c10d7eb40',
16+
'reference' => 'c8ee553f8994551c4e253be442b1c6081bce44c5',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
@@ -29,9 +29,9 @@
2929
'dev_requirement' => true,
3030
),
3131
'nette/utils' => array(
32-
'pretty_version' => 'v4.1.2',
33-
'version' => '4.1.2.0',
34-
'reference' => 'f76b5dc3d6c6d3043c8d937df2698515b99cbaf5',
32+
'pretty_version' => 'v4.1.3',
33+
'version' => '4.1.3.0',
34+
'reference' => 'bb3ea637e3d131d72acc033cfc2746ee893349fe',
3535
'type' => 'library',
3636
'install_path' => __DIR__ . '/../nette/utils',
3737
'aliases' => array(),
@@ -47,18 +47,18 @@
4747
'dev_requirement' => true,
4848
),
4949
'phpstan/phpstan' => array(
50-
'pretty_version' => '2.1.38',
51-
'version' => '2.1.38.0',
52-
'reference' => 'dfaf1f530e1663aa167bc3e52197adb221582629',
50+
'pretty_version' => '2.1.41',
51+
'version' => '2.1.41.0',
52+
'reference' => 'a2eae8f20856b3afe74bf1f9726ce8c11438e300',
5353
'type' => 'library',
5454
'install_path' => __DIR__ . '/../phpstan/phpstan',
5555
'aliases' => array(),
5656
'dev_requirement' => true,
5757
),
5858
'phpstan/phpstan-strict-rules' => array(
59-
'pretty_version' => '2.0.8',
60-
'version' => '2.0.8.0',
61-
'reference' => '1ed9e626a37f7067b594422411539aa807190573',
59+
'pretty_version' => '2.0.10',
60+
'version' => '2.0.10.0',
61+
'reference' => '1aba28b697c1e3b6bbec8a1725f8b11b6d3e5a5f',
6262
'type' => 'phpstan-extension',
6363
'install_path' => __DIR__ . '/../phpstan/phpstan-strict-rules',
6464
'aliases' => array(),

tools/.phpstan/vendor/nette/utils/composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"require-dev": {
2121
"nette/tester": "^2.5",
2222
"tracy/tracy": "^2.9",
23-
"phpstan/phpstan": "^2.0@stable",
23+
"phpstan/phpstan": "^2.1@stable",
24+
"phpstan/extension-installer": "^1.4@stable",
25+
"nette/phpstan-rules": "^1.0",
2426
"jetbrains/phpstorm-attributes": "^1.2"
2527
},
2628
"conflict": {
@@ -50,5 +52,10 @@
5052
"branch-alias": {
5153
"dev-master": "4.1-dev"
5254
}
55+
},
56+
"config": {
57+
"allow-plugins": {
58+
"phpstan/extension-installer": true
59+
}
5360
}
5461
}

tools/.phpstan/vendor/nette/utils/src/Iterators/CachingIterator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* @property-read bool $odd
2525
* @property-read bool $even
2626
* @property-read int $counter
27-
* @property-read mixed $nextKey
28-
* @property-read mixed $nextValue
27+
* @property-read TKey $nextKey
28+
* @property-read TValue $nextValue
2929
*/
3030
class CachingIterator extends \CachingIterator implements \Countable
3131
{
@@ -34,9 +34,7 @@ class CachingIterator extends \CachingIterator implements \Countable
3434
private int $counter = 0;
3535

3636

37-
/**
38-
* @param iterable<TKey, TValue>|\stdClass $iterable
39-
*/
37+
/** @param iterable<TKey, TValue>|\stdClass $iterable */
4038
public function __construct(iterable|\stdClass $iterable)
4139
{
4240
$iterable = $iterable instanceof \stdClass
@@ -122,12 +120,14 @@ public function rewind(): void
122120
}
123121

124122

123+
/** @return TKey */
125124
public function getNextKey(): mixed
126125
{
127126
return $this->getInnerIterator()->key();
128127
}
129128

130129

130+
/** @return TValue */
131131
public function getNextValue(): mixed
132132
{
133133
return $this->getInnerIterator()->current();

tools/.phpstan/vendor/nette/utils/src/SmartObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
trait SmartObject
2323
{
2424
/**
25-
* @param list<mixed> $args
25+
* @param mixed[] $args
2626
* @return mixed
2727
* @throws MemberAccessException
2828
*/
@@ -48,7 +48,7 @@ public function __call(string $name, array $args)
4848

4949

5050
/**
51-
* @param list<mixed> $args
51+
* @param mixed[] $args
5252
* @return never
5353
* @throws MemberAccessException
5454
*/

0 commit comments

Comments
 (0)