From 28db96f3f648b23ceeec8d324f9f3aab62edff12 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Sat, 16 Jul 2022 21:25:58 +0300 Subject: [PATCH 1/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 60eb2ed..8408d82 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "A library that provides basic utilities for creating HTML documents.", "require": { "php": ">=7.0", - "webfiori/collections":"1.1.0" + "webfiori/collections":"1.1.x" }, "keywords": [ "library", From 9d7e41a9d52c80c61a92257f4e72e2d1a7517c4f Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Sat, 16 Jul 2022 21:29:09 +0300 Subject: [PATCH 2/2] Update bootstrap.php --- tests/bootstrap.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ccadb1d..39614db 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -39,12 +39,14 @@ } define('ROOT', $rootDir); //echo 'Root Directory: \''.$rootDir.'\'.'."\n"; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Node.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'AbstractCollection.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'LinkedList.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Stack.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Queue.php'; -require_once $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'src'.$DS.'Comparable.php'; +$collLibPath = $rootDir.'vendor'.$DS.'webfiori'.$DS.'collections'.$DS.'webfiori'.$DS.'collections'.$DS; + +require_once $collLibPath.'Node.php'; +require_once $collLibPath.'AbstractCollection.php'; +require_once $collLibPath.'LinkedList.php'; +require_once $collLibPath.'Stack.php'; +require_once $collLibPath.'Queue.php'; +require_once $collLibPath.'Comparable.php'; //HTML classes $libPath = $rootDir.'webfiori'.$DS.'ui'.$DS;