From 48261a3049366dc87b09ecb8eceb3e8108797595 Mon Sep 17 00:00:00 2001 From: IgorIlyaguev Date: Wed, 23 Apr 2025 00:19:33 +0300 Subject: [PATCH] fix composer.json to move phpstan to dev section --- composer.json | 6 +-- composer.lock | 122 +++++++++++++++++++++++++------------------------- 2 files changed, 64 insertions(+), 64 deletions(-) diff --git a/composer.json b/composer.json index 96ac898..e53683d 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,7 @@ "require": { "illuminate/collections": "^12.0", "nesbot/carbon": "^3.9", - "symfony/string": "^7.2", - "phpstan/phpstan": "^2.1" + "symfony/string": "^7.2" }, "require-dev": { "psy/psysh": "@stable", @@ -38,7 +37,8 @@ "phpstan/extension-installer": "^1.3", "symfony/var-dumper": "^7.2", "phpunit/phpunit": "^11.5", - "squizlabs/php_codesniffer": "*" + "squizlabs/php_codesniffer": "*", + "phpstan/phpstan": "^2.1" }, "config": { "allow-plugins": { diff --git a/composer.lock b/composer.lock index e8f1e84..4bf8025 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9e8283bbf5f3d3dc34a300ae8e697997", + "content-hash": "b8c987c91e487da96c0a474f6ab45e9f", "packages": [ { "name": "carbonphp/carbon-doctrine-types", @@ -377,64 +377,6 @@ ], "time": "2025-03-27T12:57:33+00:00" }, - { - "name": "phpstan/phpstan", - "version": "2.1.11", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30", - "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30", - "shasum": "" - }, - "require": { - "php": "^7.4|^8.0" - }, - "conflict": { - "phpstan/phpstan-shim": "*" - }, - "bin": [ - "phpstan", - "phpstan.phar" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPStan - PHP Static Analysis Tool", - "keywords": [ - "dev", - "static analysis" - ], - "support": { - "docs": "https://phpstan.org/user-guide/getting-started", - "forum": "https://github.com/phpstan/phpstan/discussions", - "issues": "https://github.com/phpstan/phpstan/issues", - "security": "https://github.com/phpstan/phpstan/security/policy", - "source": "https://github.com/phpstan/phpstan-src" - }, - "funding": [ - { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - } - ], - "time": "2025-03-24T13:45:00+00:00" - }, { "name": "psr/clock", "version": "1.0.0", @@ -1668,6 +1610,64 @@ }, "time": "2024-09-04T20:21:43+00:00" }, + { + "name": "phpstan/phpstan", + "version": "2.1.12", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "96dde49e967c0c22812bcfa7bda4ff82c09f3b0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/96dde49e967c0c22812bcfa7bda4ff82c09f3b0c", + "reference": "96dde49e967c0c22812bcfa7bda4ff82c09f3b0c", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + } + ], + "time": "2025-04-16T13:19:18+00:00" + }, { "name": "phpstan/phpstan-phpunit", "version": "2.0.6", @@ -3603,7 +3603,7 @@ }, "prefer-stable": false, "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, + "platform": [], + "platform-dev": [], "plugin-api-version": "2.6.0" }