From a3653ecd91b9cd7b82f57f7d2147cf1be6faad55 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 29 Oct 2019 20:53:51 +0100 Subject: [PATCH] Use psr-4 --- composer.json | 7 ++++--- docs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index e76a2fb3..82134254 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,8 @@ "phpdocumentor/reflection-docblock": "^4.3", "ennexa/amp-update-cache": "dev-master", "phpunit/phpunit": "^8", - "amphp/php-cs-fixer-config": "dev-master" + "amphp/php-cs-fixer-config": "dev-master", + "haydenpierce/class-finder": "^0.4" }, "suggest": { "ext-libtgvoip": "Install the php-libtgvoip extension to make phone calls (https://github.com/danog/php-libtgvoip)" @@ -44,8 +45,8 @@ "email": "daniil@daniil.it" }], "autoload": { - "psr-0": { - "danog\\MadelineProto\\": "src/" + "psr-4": { + "danog\\MadelineProto\\": "src/danog/MadelineProto" }, "files": [ "src/BigIntegor.php", diff --git a/docs b/docs index 0fc9b14f..acdcb1ab 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 0fc9b14f85e87ca38c3ce01ba6e4a43aaa3707f4 +Subproject commit acdcb1ab5446e148c7476c36b6db9265a47e5bec