aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2025-05-01 11:50:12 +0200
committerGravatar GitHub <noreply@github.com> 2025-05-01 11:50:12 +0200
commit0cd23cca7cdf8c8607a7046767924196dd693f9a (patch)
tree91b8f12781c933f4b8a13e9c0406ea299f8e5daa
parent3ac5a60bed2ca28a7e3a43d4a55c7b638e7600b2 (diff)
Bump phpstan/phpstan from 2.1.11 to 2.1.13 (#7534)
* Bump phpstan/phpstan from 2.1.11 to 2.1.13 Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.11 to 2.1.13. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/2.1.11...2.1.13) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-version: 2.1.13 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump phpstan/phpstan from 2.1.11 to 2.1.13 Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.11 to 2.1.13. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/2.1.11...2.1.13) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-version: 2.1.13 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix PHPStan --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
-rw-r--r--app/Models/Context.php2
-rw-r--r--composer.lock10
-rw-r--r--lib/Minz/Dispatcher.php3
3 files changed, 5 insertions, 10 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index d20d8ed17..749e7e6ff 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -56,12 +56,10 @@ final class FreshRSS_Context {
/**
* @deprecated Will be made `private`; use `FreshRSS_Context::systemConf()` instead.
- * @internal
*/
public static ?FreshRSS_SystemConfiguration $system_conf = null;
/**
* @deprecated Will be made `private`; use `FreshRSS_Context::userConf()` instead.
- * @internal
*/
public static ?FreshRSS_UserConfiguration $user_conf = null;
diff --git a/composer.lock b/composer.lock
index e5383b290..ea7b2f42b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -245,16 +245,16 @@
},
{
"name": "phpstan/phpstan",
- "version": "2.1.11",
+ "version": "2.1.13",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30"
+ "reference": "e55e03e6d4ac49cd1240907e5b08e5cd378572a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30",
- "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e55e03e6d4ac49cd1240907e5b08e5cd378572a9",
+ "reference": "e55e03e6d4ac49cd1240907e5b08e5cd378572a9",
"shasum": ""
},
"require": {
@@ -299,7 +299,7 @@
"type": "github"
}
],
- "time": "2025-03-24T13:45:00+00:00"
+ "time": "2025-04-27T12:28:25+00:00"
},
{
"name": "phpstan/phpstan-phpunit",
diff --git a/lib/Minz/Dispatcher.php b/lib/Minz/Dispatcher.php
index fd1ce2fdf..61cdfa598 100644
--- a/lib/Minz/Dispatcher.php
+++ b/lib/Minz/Dispatcher.php
@@ -44,7 +44,6 @@ final class Minz_Dispatcher {
$this->createController(Minz_Request::controllerName());
$this->controller->init();
$this->controller->firstAction();
- // @phpstan-ignore booleanNot.alwaysTrue
if (!self::$needsReset) {
$this->launchAction(
Minz_Request::actionName()
@@ -53,7 +52,6 @@ final class Minz_Dispatcher {
}
$this->controller->lastAction();
- // @phpstan-ignore booleanNot.alwaysTrue
if (!self::$needsReset) {
$this->controller->declareCspHeader();
$this->controller->view()->build();
@@ -61,7 +59,6 @@ final class Minz_Dispatcher {
} catch (Minz_Exception $e) {
throw $e;
}
- // @phpstan-ignore doWhile.alwaysFalse
} while (self::$needsReset);
}