From 0d950a82a85c9836ec7289c1e74827d8a134a0fa Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 1 Nov 2020 21:41:05 +0100 Subject: [PATCH] Set autoloader --- composer.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8fd4003..65a9fbc 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "require": { "nikic/php-parser": "^4.7", - "composer-plugin-api": "^1|^2" + "phabel/phabel-plugin": "*" }, "require-dev": { "phpunit/phpunit": "^7 | ^8 | ^9", @@ -18,6 +18,11 @@ "name": "Daniil Gentili", "email": "daniil@daniil.it" }], + "autoload": { + "psr-4": { + "Phabel\\": "src" + } + }, "scripts": { "check": [ "@cs", @@ -27,4 +32,4 @@ "cs-fix": "php-cs-fixer fix -v --diff", "test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text" } -} +} \ No newline at end of file