Skip to content

Commit 533b8b0

Browse files
authored
Update dev deps + Fix deprecation notice in test (#299)
1 parent a18e639 commit 533b8b0

4 files changed

Lines changed: 13 additions & 12 deletions

File tree

composer.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
"bamarni/composer-bin-plugin": "^1.8.3",
3939
"maglnet/composer-require-checker": "^4.7.1",
4040
"phpbench/phpbench": "^1.4.3",
41-
"phpunit/phpunit": "^10.5.48",
42-
"rector/rector": "^2.1.2",
43-
"spatie/phpunit-watcher": "^1.24",
44-
"yiisoft/aliases": "^3.0",
45-
"yiisoft/di": "^1.4",
41+
"phpunit/phpunit": "^10.5.60",
42+
"rector/rector": "^2.3.4",
43+
"spatie/phpunit-watcher": "^1.24.4",
44+
"yiisoft/aliases": "^3.1.1",
45+
"yiisoft/di": "^1.4.1",
4646
"yiisoft/psr-dummy-provider": "^1.0.2",
47-
"yiisoft/test-support": "^3.0.2"
47+
"yiisoft/test-support": "^3.1.0"
4848
},
4949
"extra": {
5050
"config-plugin-options": {
@@ -82,8 +82,9 @@
8282
}
8383
},
8484
"scripts": {
85-
"test": "phpunit --testdox --no-interaction",
86-
"test-watch": "phpunit-watcher watch",
87-
"bench": "phpbench run"
85+
"bench": "phpbench run",
86+
"infection": "infection --threads=max",
87+
"test": "phpunit --testdox",
88+
"test-watch": "phpunit-watcher watch"
8889
}
8990
}

tests/WebViewTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ public static function dataFailAddJsVars(): array
923923
['Do not set JS variable name.', [[]]],
924924
['JS variable name should be string. Got int.', [[42]]],
925925
['Do not set JS variable value.', [['var']]],
926-
['Do not set JS variable value.', [['var', null => 'test']]],
926+
['Do not set JS variable value.', [['var', '' => 'test']]],
927927
['Invalid position of JS variable.', [['title', 'hello', 99]]],
928928
];
929929
}

tools/infection/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require-dev": {
3-
"infection/infection": "^0.26 || ^0.31.9"
3+
"infection/infection": "^0.26.21 || ^0.32.3"
44
},
55
"config": {
66
"allow-plugins": {

tools/psalm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require-dev": {
3-
"vimeo/psalm": "^5.26.1 || ^6.8.9"
3+
"vimeo/psalm": "^6.14.3"
44
}
55
}

0 commit comments

Comments
 (0)