From 43a5d2ba384fbbd8dfabdeba5abb4ea46281d749 Mon Sep 17 00:00:00 2001 From: Brian Wozeniak Date: Sun, 17 May 2020 07:00:12 -0700 Subject: [PATCH] Fixed composer autoloading deprecation notice; Support symfony 5 (#115) * Allow version 5 of symfony packages * Fixed deprecation notice for class autoloading Co-authored-by: Brian Wozeniak --- composer.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 2b0fa85..9159b28 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,9 @@ ], "require": { "php": ">=7.0.0", - "symfony/config": "^2.3|^3.0|^4", - "symfony/translation": "^2.3|^3.0|^4", - "symfony/yaml": "^2.3|^3.0|^4" + "symfony/config": "^2.3|^3.0|^4|^5", + "symfony/translation": "^2.3|^3.0|^4|^5", + "symfony/yaml": "^2.3|^3.0|^4|^5" }, "require-dev": { "thunderer/shortcode": "^0.7", @@ -31,7 +31,11 @@ }, "autoload": { "psr-4": { - "": "src", + "": "src/" + } + }, + "autoload-dev": { + "psr-4": { "Coduo\\PHPHumanizer\\Tests\\": "tests/" } },