From dc93d33d725e57bbef431f6fd1ba8f7c60702731 Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Thu, 30 Aug 2018 16:13:12 -0300 Subject: [PATCH] Use proper autload configuration --- composer.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 9e5cd8d3c..c6a782cea 100644 --- a/composer.json +++ b/composer.json @@ -5,10 +5,16 @@ "license": "Apache-2.0", "minimum-stability": "stable", "autoload": { - "psr-4": { "": [ "src/", "gen/" ] } + "psr-4": { + "Microsoft\\Rest\\": "src/Microsoft/Rest/", + "Microsoft\\Azure\\": "gen/Microsoft/Azure/" + } }, "autoload-dev": { - "psr-4": { "": "tests" } + "psr-4": { + "Microsoft\\Azure\\": "tests/Microsoft/Azure/", + "Microsoft\\Rest\\": "tests/Microsoft/Rest/" + } }, "require": { "php": ">=5.6",