Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Commit 92274a9

Browse files
Update tools
1 parent c79b0d9 commit 92274a9

File tree

27 files changed

+4028
-1314
lines changed

27 files changed

+4028
-1314
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpunit" version="^12.1" installed="12.1.6" location="./tools/phpunit" copy="true"/>
3+
<phar name="phpunit" version="^12.2" installed="12.2.0" location="./tools/phpunit" copy="true"/>
44
<phar name="php-cs-fixer" version="^3.75" installed="3.75.0" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="infection" version="^0.29" installed="0.29.14" location="./tools/infection" copy="true"/>
66
<phar name="composer" version="^2.8" installed="2.8.9" location="./tools/composer" copy="true"/>

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.1/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.2/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
cacheDirectory=".phpunit.cache"
66
executionOrder="depends,defects"

tools/.phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"phpstan/extension-installer": "^1.4.3",
55
"phpstan/phpstan-strict-rules": "^2.0.4",
66
"tomasvotruba/type-coverage": "^2.0.2",
7-
"ergebnis/phpstan-rules": "^2.8.0"
7+
"ergebnis/phpstan-rules": "^2.10.3"
88
},
99
"config": {
1010
"allow-plugins": {

tools/.phpstan/composer.lock

Lines changed: 21 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: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,43 @@
22
"packages": [
33
{
44
"name": "ergebnis/phpstan-rules",
5-
"version": "2.8.0",
6-
"version_normalized": "2.8.0.0",
5+
"version": "2.10.3",
6+
"version_normalized": "2.10.3.0",
77
"source": {
88
"type": "git",
99
"url": "https://github.com/ergebnis/phpstan-rules.git",
10-
"reference": "30e790621fbad05573ef9cd355279fff5122e080"
10+
"reference": "a69bfa59f5b5faeca844054595a0d4ffcf5a8d23"
1111
},
1212
"dist": {
1313
"type": "zip",
14-
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/30e790621fbad05573ef9cd355279fff5122e080",
15-
"reference": "30e790621fbad05573ef9cd355279fff5122e080",
14+
"url": "https://api.github.com/repos/ergebnis/phpstan-rules/zipball/a69bfa59f5b5faeca844054595a0d4ffcf5a8d23",
15+
"reference": "a69bfa59f5b5faeca844054595a0d4ffcf5a8d23",
1616
"shasum": ""
1717
},
1818
"require": {
1919
"ext-mbstring": "*",
2020
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
21-
"phpstan/phpstan": "^2.0.0"
21+
"phpstan/phpstan": "^2.1.8"
2222
},
2323
"require-dev": {
24+
"codeception/codeception": "^4.0.0 || ^5.0.0",
2425
"doctrine/orm": "^2.20.0 || ^3.3.0",
25-
"ergebnis/composer-normalize": "^2.45.0",
26+
"ergebnis/composer-normalize": "^2.47.0",
2627
"ergebnis/license": "^2.6.0",
27-
"ergebnis/php-cs-fixer-config": "^6.43.0",
28-
"ergebnis/phpunit-slow-test-detector": "^2.18.0",
28+
"ergebnis/php-cs-fixer-config": "^6.46.0",
29+
"ergebnis/phpunit-slow-test-detector": "^2.19.1",
30+
"fakerphp/faker": "^1.24.1",
2931
"nette/di": "^3.1.10",
3032
"phpstan/extension-installer": "^1.4.3",
31-
"phpstan/phpstan-deprecation-rules": "^2.0.1",
32-
"phpstan/phpstan-phpunit": "^2.0.4",
33-
"phpstan/phpstan-strict-rules": "^2.0.3",
33+
"phpstan/phpstan-deprecation-rules": "^2.0.3",
34+
"phpstan/phpstan-phpunit": "^2.0.6",
35+
"phpstan/phpstan-strict-rules": "^2.0.4",
3436
"phpunit/phpunit": "^9.6.21",
3537
"psr/container": "^2.0.2",
3638
"symfony/finder": "^5.4.45",
3739
"symfony/process": "^5.4.47"
3840
},
39-
"time": "2025-02-18T11:20:05+00:00",
41+
"time": "2025-06-03T09:06:44+00:00",
4042
"type": "phpstan-extension",
4143
"extra": {
4244
"phpstan": {
@@ -77,17 +79,17 @@
7779
},
7880
{
7981
"name": "nette/utils",
80-
"version": "v4.0.6",
81-
"version_normalized": "4.0.6.0",
82+
"version": "v4.0.7",
83+
"version_normalized": "4.0.7.0",
8284
"source": {
8385
"type": "git",
8486
"url": "https://github.com/nette/utils.git",
85-
"reference": "ce708655043c7050eb050df361c5e313cf708309"
87+
"reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2"
8688
},
8789
"dist": {
8890
"type": "zip",
89-
"url": "https://api.github.com/repos/nette/utils/zipball/ce708655043c7050eb050df361c5e313cf708309",
90-
"reference": "ce708655043c7050eb050df361c5e313cf708309",
91+
"url": "https://api.github.com/repos/nette/utils/zipball/e67c4061eb40b9c113b218214e42cb5a0dda28f2",
92+
"reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2",
9193
"shasum": ""
9294
},
9395
"require": {
@@ -111,7 +113,7 @@
111113
"ext-mbstring": "to use Strings::lower() etc...",
112114
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
113115
},
114-
"time": "2025-03-30T21:06:30+00:00",
116+
"time": "2025-06-03T04:55:08+00:00",
115117
"type": "library",
116118
"extra": {
117119
"branch-alias": {
@@ -160,7 +162,7 @@
160162
],
161163
"support": {
162164
"issues": "https://github.com/nette/utils/issues",
163-
"source": "https://github.com/nette/utils/tree/v4.0.6"
165+
"source": "https://github.com/nette/utils/tree/v4.0.7"
164166
},
165167
"install-path": "../nette/utils"
166168
},

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => '__root__',
44
'pretty_version' => 'dev-main',
55
'version' => 'dev-main',
6-
'reference' => 'e9a1d29eb76e83aa732bfafb81133a1420984110',
6+
'reference' => 'c79b0d96cb51f075392f06f15c423c1eb87de7d1',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,25 +13,25 @@
1313
'__root__' => array(
1414
'pretty_version' => 'dev-main',
1515
'version' => 'dev-main',
16-
'reference' => 'e9a1d29eb76e83aa732bfafb81133a1420984110',
16+
'reference' => 'c79b0d96cb51f075392f06f15c423c1eb87de7d1',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
2020
'dev_requirement' => false,
2121
),
2222
'ergebnis/phpstan-rules' => array(
23-
'pretty_version' => '2.8.0',
24-
'version' => '2.8.0.0',
25-
'reference' => '30e790621fbad05573ef9cd355279fff5122e080',
23+
'pretty_version' => '2.10.3',
24+
'version' => '2.10.3.0',
25+
'reference' => 'a69bfa59f5b5faeca844054595a0d4ffcf5a8d23',
2626
'type' => 'phpstan-extension',
2727
'install_path' => __DIR__ . '/../ergebnis/phpstan-rules',
2828
'aliases' => array(),
2929
'dev_requirement' => true,
3030
),
3131
'nette/utils' => array(
32-
'pretty_version' => 'v4.0.6',
33-
'version' => '4.0.6.0',
34-
'reference' => 'ce708655043c7050eb050df361c5e313cf708309',
32+
'pretty_version' => 'v4.0.7',
33+
'version' => '4.0.7.0',
34+
'reference' => 'e67c4061eb40b9c113b218214e42cb5a0dda28f2',
3535
'type' => 'library',
3636
'install_path' => __DIR__ . '/../nette/utils',
3737
'aliases' => array(),

tools/.phpstan/vendor/ergebnis/phpstan-rules/CHANGELOG.md

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,59 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## Unreleased
88

9-
For a full diff see [`2.8.0...main`][2.8.0...main].
9+
For a full diff see [`2.10.3...main`][2.10.3...main].
10+
11+
## [`2.10.3`][2.10.3]
12+
13+
For a full diff see [`2.10.2...2.10.3`][2.10.2...2.10.3].
14+
15+
### Fixed
16+
17+
- Adjusted `Methods\InvokeParentHookMethodRule` to ignore comments ([#944]), by [@localheinz]
18+
19+
## [`2.10.2`][2.10.2]
20+
21+
For a full diff see [`2.10.1...2.10.2`][2.10.1...2.10.2].
22+
23+
### Fixed
24+
25+
- Renamed error identifier for `Methods\InvokeParentHookMethodRule` ([#943]), by [@localheinz]
26+
27+
## [`2.10.1`][2.10.1]
28+
29+
For a full diff see [`2.10.0...2.10.1`][2.10.0...2.10.1].
30+
31+
### Fixed
32+
33+
- Fixed schema for configuration of `Methods\InvokeParentHookMethodRule` ([#940]), by [@localheinz]
34+
35+
## [`2.10.0`][2.10.0]
36+
37+
For a full diff see [`2.9.0...2.10.0`][2.9.0...2.10.0].
38+
39+
### Added
40+
41+
- Added `Methods\InvokeParentHookMethodRule`, which reports an error when a hook method that overrides a hook method in a parent class does not invoke the overridden hook method in the expected order ([#939]), by [@localheinz]
42+
43+
## [`2.9.0`][2.9.0]
44+
45+
For a full diff see [`2.8.0...2.9.0`][2.8.0...2.9.0].
46+
47+
### Added
48+
49+
- Added `CallLikes\NoNamedArgumentRule`, which reports an error when an anonymous function, a function, or a method is invoked using a named argument ([#914]), by [@localheinz]
50+
51+
### Changed
52+
53+
- Required `phpstan/phpstan:^2.1.8` ([#938]), by [@localheinz]
1054

1155
## [`2.8.0`][2.8.0]
1256

1357
For a full diff see [`2.7.0...2.8.0`][2.7.0...2.8.0].
1458

1559
### Added
1660

17-
- Added `allRules` parameter to allow disabling and enabling all rules ([#913]), by [@localheinz]
61+
- Added `allRules` parameter to allow disabling and enabling all rules ([#913]), by [@localheinz]
1862
- Added `Expressions\NoAssignByReferenceRule`, which reports an error when a variable is assigned by reference ([#914]), by [@localheinz]
1963

2064
## [`2.7.0`][2.7.0]
@@ -499,6 +543,11 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
499543
[2.6.1]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.6.1
500544
[2.7.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.7.0
501545
[2.8.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.8.0
546+
[2.9.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.9.0
547+
[2.10.0]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.0
548+
[2.10.1]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.1
549+
[2.10.2]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.2
550+
[2.10.3]: https://github.com/ergebnis/phpstan-rules/releases/tag/2.10.3
502551

503552
[362c7ea...0.1.0]: https://github.com/ergebnis/phpstan-rules/compare/362c7ea...0.1.0
504553
[0.1.0...0.2.0]: https://github.com/ergebnis/phpstan-rules/compare/0.1.0...0.2.0
@@ -540,7 +589,12 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
540589
[2.6.0...2.6.1]: https://github.com/ergebnis/phpstan-rules/compare/2.6.0...2.6.1
541590
[2.6.1...2.7.0]: https://github.com/ergebnis/phpstan-rules/compare/2.6.1...2.7.0
542591
[2.7.0...2.8.0]: https://github.com/ergebnis/phpstan-rules/compare/2.7.0...2.8.0
543-
[2.8.0...main]: https://github.com/ergebnis/phpstan-rules/compare/2.8.0...main
592+
[2.8.0...2.9.0]: https://github.com/ergebnis/phpstan-rules/compare/2.8.0...2.9.0
593+
[2.9.0...2.10.0]: https://github.com/ergebnis/phpstan-rules/compare/2.9.0...2.10.0
594+
[2.10.0...2.10.1]: https://github.com/ergebnis/phpstan-rules/compare/2.10.0...2.10.1
595+
[2.10.1...2.10.2]: https://github.com/ergebnis/phpstan-rules/compare/2.10.1...2.10.2
596+
[2.10.2...2.10.3]: https://github.com/ergebnis/phpstan-rules/compare/2.10.2...2.10.3
597+
[2.10.3...main]: https://github.com/ergebnis/phpstan-rules/compare/2.10.3...main
544598

545599
[#1]: https://github.com/ergebnis/phpstan-rules/pull/1
546600
[#4]: https://github.com/ergebnis/phpstan-rules/pull/4
@@ -625,6 +679,11 @@ For a full diff see [`362c7ea...0.1.0`][362c7ea...0.1.0].
625679
[#912]: https://github.com/ergebnis/phpstan-rules/pull/912
626680
[#913]: https://github.com/ergebnis/phpstan-rules/pull/913
627681
[#914]: https://github.com/ergebnis/phpstan-rules/pull/914
682+
[#938]: https://github.com/ergebnis/phpstan-rules/pull/938
683+
[#939]: https://github.com/ergebnis/phpstan-rules/pull/939
684+
[#940]: https://github.com/ergebnis/phpstan-rules/pull/940
685+
[#943]: https://github.com/ergebnis/phpstan-rules/pull/943
686+
[#944]: https://github.com/ergebnis/phpstan-rules/pull/944
628687

629688
[@cosmastech]: https://github.com/cosmastech
630689
[@enumag]: https://github.com/enumag

0 commit comments

Comments
 (0)