From cd1372a9f9a089e0fccf7e2af97b0002e72ed7db Mon Sep 17 00:00:00 2001 From: tomjas1997 Date: Fri, 8 Sep 2023 15:25:04 +0300 Subject: [PATCH] Adding support for PHP 8 --- composer.json | 8 +++++++- src/Factory/Factory.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6a0ba7a..1ca2388 100755 --- a/composer.json +++ b/composer.json @@ -9,11 +9,17 @@ "email": "tomas.jasulaitis@invertus.eu" } ], + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/Invertus/Knapsack.git" + } + ], "minimum-stability": "stable", "require": { "php": ">=5.6.0", "fakerphp/faker": "1.9.2", - "dusank/knapsack": "^10.0", + "invertus/knapsack": "^10.0", "ext-json": "*", "symfony/console": "3.4.47" }, diff --git a/src/Factory/Factory.php b/src/Factory/Factory.php index 3e0a162..e17522c 100755 --- a/src/Factory/Factory.php +++ b/src/Factory/Factory.php @@ -2,7 +2,7 @@ namespace Invertus\Prestashop\Models\Factory; -use DusanKasan\Knapsack\Collection; +use Invertus\Knapsack\Collection; abstract class Factory {