From 4bf7f84612be2bc76bd3420f0c2605857eced26c Mon Sep 17 00:00:00 2001 From: Riculum Date: Sat, 21 May 2022 17:05:26 +0200 Subject: [PATCH] Changed Autoload PSR-4 --- composer.json | 5 ++++- docs/example.php | 4 +++- {core => src}/Datatable.php | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) rename {core => src}/Datatable.php (97%) diff --git a/composer.json b/composer.json index 4955d04..32d7d12 100644 --- a/composer.json +++ b/composer.json @@ -11,12 +11,15 @@ ], "autoload": { "psr-4": { - "Datatables\\" : "./" + "Riculum\\Datatables\\" : "src/" } }, "require": { "vlucas/phpdotenv": "^5.3", "riculum/php-pdo": "^1.0", "ext-pdo": "*" + }, + "require-dev": { + "phpunit/phpunit": "^9" } } \ No newline at end of file diff --git a/docs/example.php b/docs/example.php index 59e5ea2..41bcfab 100644 --- a/docs/example.php +++ b/docs/example.php @@ -1,7 +1,9 @@