From 8a6acb1bd9dd7466f23416c16c1db0789b457870 Mon Sep 17 00:00:00 2001 From: Killian Blais Date: Wed, 9 Sep 2020 11:15:33 +0200 Subject: [PATCH] Update dependencies for Laravel 8 --- composer.json | 4 ++-- phpstan.neon | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 61d8260..77c64b7 100644 --- a/composer.json +++ b/composer.json @@ -2,10 +2,10 @@ "name": "kblais/laravel-helpers", "description": "A collection of helpers for your Laravel application.", "require": { - "illuminate/database": "^5.8|^6.0|^7.0" + "illuminate/database": "^5.8|^6.0|^7.0|^8.0" }, "require-dev": { - "orchestra/testbench": "^3.8.0|^4.0|^5.0", + "orchestra/testbench": "^3.8.0|^4.0|^5.0|^6.0", "friendsofphp/php-cs-fixer": "^2.15", "phpstan/phpstan": "^0.12" }, diff --git a/phpstan.neon b/phpstan.neon index 9d3e5de..d0f46bc 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,9 +4,3 @@ parameters: - './tests' level: 5 ignoreErrors: - - - message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::orderBy\(\).#' - path: %currentWorkingDirectory%/src/Eloquent/Scopes/OrderByScope.php - - - message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::toSql\(\).#' - path: %currentWorkingDirectory%/tests/OrderByDefaultTest.php