From 4cd3362dfdddc0446133b4437c8a7d854f9764f8 Mon Sep 17 00:00:00 2001 From: feek <5747667+mr-feek@users.noreply.github.com> Date: Mon, 22 Jun 2020 21:59:04 -0700 Subject: [PATCH] [Chore] Composer 2 support (#963) * chore: update grumphp * chore: allow composer 2 packages --- composer.json | 4 ++-- grumphp.yml | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index d198d2d..361ffbb 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": ">=7.2", "barryvdh/reflection-docblock": "^2.0.6", - "composer/composer": "^1.6", + "composer/composer": "^1.6 || ^2.0@dev", "doctrine/dbal": "~2.3", "illuminate/console": "^5.5 || ^6 || ^7", "illuminate/filesystem": "^5.5 || ^6 || ^7", @@ -34,7 +34,7 @@ "illuminate/view": "^5.5 || ^6 || ^7", "mockery/mockery": "^1.3", "orchestra/testbench": "^3 || ^4 || ^5", - "phpro/grumphp": "^0.17.1", + "phpro/grumphp": "^0.19.0", "squizlabs/php_codesniffer": "^3.5", "vimeo/psalm": "^3.12" }, diff --git a/grumphp.yml b/grumphp.yml index cb67b1d..5ee753f 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -1,6 +1,4 @@ -parameters: - git_dir: . - bin_dir: vendor/bin +grumphp: tasks: phpunit: config_file: ~