From 36685a882408f7e2d2b909220ff7c72959a669f8 Mon Sep 17 00:00:00 2001 From: darkdef Date: Sun, 19 Jun 2022 20:03:46 +0300 Subject: [PATCH] Update code --- .scrutinizer.yml | 3 --- composer.json | 17 +++++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 4c8f4694f..616cce152 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -14,9 +14,6 @@ build: ini: xdebug.mode: coverage - variables: - COMPOSER_ROOT_VERSION: dev-dev - nodes: analysis: tests: diff --git a/composer.json b/composer.json index 7258befb6..41d49fe19 100644 --- a/composer.json +++ b/composer.json @@ -22,12 +22,13 @@ "php": "^8.0", "ext-pdo": "*", "yiisoft/arrays": "^2.0", - "yiisoft/db": "dev-dev" + "yiisoft/db": "dev-master" }, "require-dev": { - "phpunit/phpunit": "^9.4", - "roave/infection-static-analysis-plugin": "^1.6", - "vimeo/psalm": "^4.2", + "phpunit/phpunit": "^9.5", + "roave/infection-static-analysis-plugin": "^1.16", + "spatie/phpunit-watcher": "^1.23", + "vimeo/psalm": "^4.18", "yiisoft/aliases": "^1.1|^2.0", "yiisoft/cache": "^1.0", "yiisoft/log": "^1.0" @@ -50,8 +51,12 @@ "config": { "sort-packages": true, "allow-plugins": { - "composer/package-versions-deprecated": true, - "infection/extension-installer": true + "infection/extension-installer": true, + "composer/package-versions-deprecated": true } + }, + "scripts": { + "test": "phpunit --testdox --no-interaction", + "test-watch": "phpunit-watcher watch" } }