Просмотр исходного кода

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>
dependabot[bot] 11 месяцев назад
Родитель
Сommit
0cd23cca7c
3 измененных файлов с 5 добавлено и 10 удалено
  1. 0 2
      app/Models/Context.php
  2. 5 5
      composer.lock
  3. 0 3
      lib/Minz/Dispatcher.php

+ 0 - 2
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;
 

+ 5 - 5
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",

+ 0 - 3
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);
 	}