From 4a3d4ef46912f90452965238c1caa1f4ce5d6c69 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 3 Aug 2022 18:38:43 +0200 Subject: [PATCH] Allow psr/log 2 & 3 --- .gitignore | 1 + composer.json | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4dbddb6..986ed1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ composer.lock .idea/ vendor/ +.phpunit.result.cache diff --git a/composer.json b/composer.json index 9795fec..dd905c2 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ ], "require": { "php": "^7.4|^8.0", - "psr/log": "^1.0", + "psr/log": "^1|^2|^3", "symfony/process": ">=4.4" }, "require-dev": { @@ -28,8 +28,8 @@ "phpspec/prophecy-phpunit": "^2.0", "squizlabs/php_codesniffer": "^3.6", "brainbits/phpcs-standard": "^5.0", - "phpstan/phpstan": "^0.12.99", - "brainbits/phpstan-rules": "^2.0" + "phpstan/phpstan": "^1.8.2", + "brainbits/phpstan-rules": "^3.0.0" }, "autoload": { "psr-4": { "Brainbits\\Transcoder\\": "src/" } @@ -37,6 +37,11 @@ "autoload-dev": { "psr-4": { "Brainbits\\Transcoder\\Tests\\": "tests/" } }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, "extra": { "branch-alias": { "dev-master": "4.0-dev"