From e0aa619f8c2bfaed2a25ec0f4e4860e3949ba9b6 Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Mon, 12 Feb 2024 21:42:13 +0100 Subject: [PATCH 1/2] Update transitive deps (nette/schema, nette/utils) (#213) --- composer.lock | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/composer.lock b/composer.lock index ee1b9ca..19f95bb 100644 --- a/composer.lock +++ b/composer.lock @@ -994,31 +994,31 @@ }, { "name": "nette/schema", - "version": "v1.2.5", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a" + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a", - "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a", + "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", "shasum": "" }, "require": { - "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": "7.1 - 8.3" + "nette/utils": "^4.0", + "php": "8.1 - 8.3" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", + "nette/tester": "^2.4", "phpstan/phpstan-nette": "^1.0", - "tracy/tracy": "^2.7" + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -1050,22 +1050,22 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.5" + "source": "https://github.com/nette/schema/tree/v1.3.0" }, - "time": "2023-10-05T20:37:59+00:00" + "time": "2023-12-11T11:54:22+00:00" }, { "name": "nette/utils", - "version": "v4.0.3", + "version": "v4.0.4", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015" + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/a9d127dd6a203ce6d255b2e2db49759f7506e015", - "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015", + "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", "shasum": "" }, "require": { @@ -1136,9 +1136,9 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.3" + "source": "https://github.com/nette/utils/tree/v4.0.4" }, - "time": "2023-10-29T21:02:13+00:00" + "time": "2024-01-17T16:50:36+00:00" }, { "name": "phar-io/manifest", From 3158b5e6f57f378caeccfbbea8f18e0d03ea498b Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Tue, 13 Feb 2024 08:57:01 +0100 Subject: [PATCH 2/2] immediatelyCalledCallables: add call_user_func to defaults (#212) --- README.md | 4 ++++ rules.neon | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 1c51d17..03bf58d 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,10 @@ parameters: array_map: 0 array_walk_recursive: 1 array_walk: 1 + call_user_func: 0 + call_user_func_array: 0 + forward_static_call: 0 + forward_static_call_array: 0 uasort: 1 uksort: 1 usort: 1 diff --git a/rules.neon b/rules.neon index dd2b97e..6534840 100644 --- a/rules.neon +++ b/rules.neon @@ -49,6 +49,10 @@ parameters: array_map: 0 array_walk_recursive: 1 array_walk: 1 + call_user_func: 0 + call_user_func_array: 0 + forward_static_call: 0 + forward_static_call_array: 0 uasort: 1 uksort: 1 usort: 1