N°2060 [WIP] Initialisation of the portal application: Fix composer.json file

- Reupgrade Symfony/* to v3.4.* instead of v3.4.12 thanks to symfony/polyfill-php70
- Remove "replace" key that was necessary for Flex
- Add "classmap" key to auload all classes from <itop>/core (eg. \ModuleDesign)
This commit is contained in:
Molkobain
2019-06-28 15:07:12 +02:00
parent a04080a93e
commit d388086baa
2 changed files with 10 additions and 1571 deletions

View File

@@ -5,12 +5,12 @@
"php": ">=5.6.0", "php": ">=5.6.0",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"symfony/console": "3.4.12", "symfony/console": "3.4.*",
"symfony/dotenv": "3.4.12", "symfony/dotenv": "3.4.*",
"symfony/framework-bundle": "3.4.12", "symfony/framework-bundle": "3.4.*",
"symfony/twig-bundle": "3.4.12", "symfony/twig-bundle": "3.4.*",
"symfony/yaml": "3.4.12", "symfony/yaml": "3.4.*",
"symfony/http-foundation": "3.4.12" "symfony/polyfill-php70": "1.*"
}, },
"config": { "config": {
"vendor-dir": "../../../../lib/composer-vendor", "vendor-dir": "../../../../lib/composer-vendor",
@@ -25,20 +25,16 @@
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Combodo\\iTop\\Portal\\": "src/" "Combodo\\iTop\\Portal\\": "src/"
} },
"classmap": [
"../../../../core"
]
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {
"Combodo\\iTop\\Portal\\Tests\\": "tests/" "Combodo\\iTop\\Portal\\Tests\\": "tests/"
} }
}, },
"replace": {
"paragonie/random_compat": "2.*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"conflict": { "conflict": {
"symfony/symfony": "*" "symfony/symfony": "*"
}, },

File diff suppressed because it is too large Load Diff