From b6ad6b538a14661589c1cadb0f13b88c715541b4 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 23 Jul 2023 10:38:14 +0200 Subject: [PATCH] allow composer to run at scrutinizer, explicitly telling it about our minimum supported PHP version --- composer.json | 8 +++++++- composer.lock | 31 +++++++++++++++++-------------- vendor/composer/installed.php | 4 ++-- 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 212795b2..51409917 100644 --- a/composer.json +++ b/composer.json @@ -42,6 +42,12 @@ } }, "config" : { - "autoloader-suffix" : "DontChange" + "autoloader-suffix" : "DontChange", + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true, + "platform": { + "php": "7.3" + } } } diff --git a/composer.lock b/composer.lock index fa380e95..9ef854e6 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": "ba377db0e8e0370e6772796c57b15875", + "content-hash": "96f9b3968855bf9f45813d12568f1cac", "packages": [ { "name": "jdenticon/jdenticon", @@ -187,30 +187,30 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "2.0.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11", + "doctrine/coding-standard": "^9 || ^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", "autoload": { @@ -237,7 +237,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" }, "funding": [ { @@ -253,7 +253,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:23:10+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { "name": "myclabs/deep-copy", @@ -1926,5 +1926,8 @@ "php": "^7.3 || ^8.0" }, "platform-dev": [], + "platform-overrides": { + "php": "7.3" + }, "plugin-api-version": "2.3.0" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index ae59528c..7b5b519f 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'privatebin/privatebin', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'ecf100551d603f21ebaa7c601cbd4e8e07f8432c', + 'reference' => 'c1b3bffe8c5214f69f663b6fb59736a6f5fafa86', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -31,7 +31,7 @@ 'privatebin/privatebin' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'ecf100551d603f21ebaa7c601cbd4e8e07f8432c', + 'reference' => 'c1b3bffe8c5214f69f663b6fb59736a6f5fafa86', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(),