diff --git a/app/contao/composer.json b/app/contao/composer.json old mode 100755 new mode 100644 index a1e4c90..4cfba0a --- a/app/contao/composer.json +++ b/app/contao/composer.json @@ -1,40 +1,320 @@ { - "name": "contao/managed-edition", - "description": "Contao Managed Edition", - "license": "LGPL-3.0-or-later", - "type": "project", - "require": { - "contao/calendar-bundle": "^5.0", - "contao/comments-bundle": "^5.0", - "contao/conflicts": "@dev", - "contao/faq-bundle": "^5.0", - "contao/listing-bundle": "^5.0", - "contao/manager-bundle": "5.0.*", - "contao/news-bundle": "^5.0", - "contao/newsletter-bundle": "^5.0" - }, - "conflict": { - "contao-components/installer": "<1.3" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "allow-plugins": { - "composer/package-versions-deprecated": true, - "contao-community-alliance/composer-plugin": true, - "contao-components/installer": true, - "contao/manager-plugin": true - } - }, - "extra": { - "contao-component-dir": "assets" - }, - "scripts": { - "post-install-cmd": [ - "@php vendor/bin/contao-setup" + "name": "contao/contao", + "description": "Contao Open Source CMS development package", + "license": "LGPL-3.0-or-later", + "type": "symfony-bundle", + "authors": [ + { + "name": "Leo Feyer", + "homepage": "https://github.com/leofeyer" + }, + { + "name": "Contao Community", + "homepage": "https://contao.org/contributors" + } + ], + "homepage": "https://contao.org", + "support": { + "issues": "https://github.com/contao/contao/issues", + "forum": "https://community.contao.org", + "source": "https://github.com/contao/contao", + "docs": "https://docs.contao.org" + }, + "require": { + "php": "^7.4 || ^8.0", + "ext-dom": "*", + "ext-filter": "*", + "ext-gd": "*", + "ext-hash": "*", + "ext-intl": "*", + "ext-json": "*", + "ext-pcre": "*", + "ext-pdo": "*", + "ext-session": "*", + "ext-zlib": "*", + "composer-runtime-api": "^2.0.14", + "ausi/slug-generator": "^1.1", + "bacon/bacon-qr-code": "^2.0", + "contao-components/ace": "^1.2", + "contao-components/chosen": "^1.2", + "contao-components/colorbox": "^1.6", + "contao-components/colorpicker": "^1.5", + "contao-components/contao": "^9.1", + "contao-components/datepicker": "^2.3", + "contao-components/dropzone": "^5.0.1", + "contao-components/jquery": "^3.5", + "contao-components/jquery-ui": "^1.11.4", + "contao-components/mediabox": "^1.5", + "contao-components/mootools": "^1.6.0.1", + "contao-components/simplemodal": "^2.1", + "contao-components/swipe": "^2.0.3", + "contao-components/tablesort": "^4.0", + "contao-components/tablesorter": "^2.1", + "contao-components/tinymce4": "^4.7 || ^5.0", + "contao/image": "^1.0", + "contao/imagine-svg": "^1.0", + "contao/manager-plugin": "^2.6.2", + "doctrine/collections": "^1.5", + "doctrine/dbal": "^3.3", + "doctrine/doctrine-bundle": "^2.4", + "doctrine/orm": "^2.10", + "doctrine/persistence": "^2.0", + "dragonmantank/cron-expression": "^2.3", + "friendsofsymfony/http-cache": "^2.6", + "friendsofsymfony/http-cache-bundle": "^2.6", + "imagine/imagine": "^1.0", + "knplabs/knp-menu": "^3.1", + "knplabs/knp-menu-bundle": "^3.0", + "knplabs/knp-time-bundle": "^1.11", + "lcobucci/jwt": "^4.0", + "league/commonmark": "^2.2", + "league/flysystem": "^2.4 || ^3.0", + "league/flysystem-bundle": "^2.0", + "matthiasmullie/minify": "^1.3", + "monolog/monolog": "^2.0", + "nelmio/cors-bundle": "^2.0.1", + "nelmio/security-bundle": "^2.2", + "nikic/php-parser": "^4.9", + "nyholm/psr7": "^1.2", + "paragonie/constant_time_encoding": "^2.2", + "phpspec/php-diff": "^1.0", + "phpunit/phpunit": "^9.3", + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "psr/container": "^1.0", + "psr/http-message": "^1.0", + "psr/log": "^1.0", + "scheb/2fa-backup-code": "^5.8", + "scheb/2fa-bundle": "^5.8", + "scheb/2fa-trusted-device": "^5.8", + "scrivo/highlight.php": "^9.18", + "scssphp/scssphp": "^1.5", + "sensiolabs/ansi-to-html": "^1.1", + "simplepie/simplepie": "^1.3", + "spatie/schema-org": "^3.4", + "spomky-labs/otphp": "^10.0", + "symfony-cmf/routing": "^2.3", + "symfony-cmf/routing-bundle": "^2.4", + "symfony/asset": "^5.4", + "symfony/cache": "^5.4", + "symfony/config": "^5.4", + "symfony/console": "^5.4", + "symfony/debug-bundle": "^5.4", + "symfony/dependency-injection": "^5.4", + "symfony/deprecation-contracts": "^2.1 || ^3.0", + "symfony/doctrine-bridge": "^5.4", + "symfony/dom-crawler": "^5.4", + "symfony/dotenv": "^5.4", + "symfony/error-handler": "^5.4", + "symfony/event-dispatcher": "^5.4", + "symfony/event-dispatcher-contracts": "^2.0 || ^3.0", + "symfony/expression-language": "^5.4", + "symfony/filesystem": "^5.4", + "symfony/finder": "^5.4", + "symfony/framework-bundle": "^5.4", + "symfony/http-client": "^5.4", + "symfony/http-client-contracts": "^2.4", + "symfony/http-foundation": "^5.4", + "symfony/http-kernel": "^5.4", + "symfony/intl": "^5.4", + "symfony/lock": "^5.4", + "symfony/mailer": "^5.4", + "symfony/maker-bundle": "^1.1", + "symfony/mime": "^5.4", + "symfony/monolog-bridge": "^5.4", + "symfony/monolog-bundle": "^3.1", + "symfony/options-resolver": "^5.4", + "symfony/password-hasher": "^5.4", + "symfony/polyfill-intl-idn": "^1.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/process": "^5.4", + "symfony/property-access": "^5.4", + "symfony/proxy-manager-bridge": "^5.4", + "symfony/routing": "^5.4", + "symfony/security-bundle": "^5.4", + "symfony/security-core": "^5.4", + "symfony/security-csrf": "^5.4", + "symfony/security-http": "^5.4", + "symfony/service-contracts": "^1.1 || ^2.0", + "symfony/stopwatch": "^5.4", + "symfony/string": "^5.4", + "symfony/translation": "^5.4", + "symfony/translation-contracts": "^2.3", + "symfony/twig-bridge": "^5.4", + "symfony/twig-bundle": "^5.4", + "symfony/uid": "^5.4", + "symfony/var-dumper": "^5.4", + "symfony/web-profiler-bundle": "^5.4", + "symfony/yaml": "^5.4", + "terminal42/escargot": "^1.4.1", + "terminal42/service-annotation-bundle": "^1.1", + "toflar/psr6-symfony-http-cache-store": "^3.0", + "twig/extra-bundle": "^3.0", + "twig/twig": "^3.0", + "ua-parser/uap-php": "^3.9", + "webignition/robots-txt-file": "^3.0", + "wikimedia/less.php": "^1.7" + }, + "require-dev": { + "ext-fileinfo": "*", + "bamarni/composer-bin-plugin": "^1.4", + "composer/composer": "^2.0", + "league/flysystem-memory": "^2.0 || ^3.0", + "roave/better-reflection": "^4.12.2 || ^5.0", + "symfony/browser-kit": "^5.4", + "symfony/phpunit-bridge": "^5.4" + }, + "replace": { + "contao/calendar-bundle": "self.version", + "contao/comments-bundle": "self.version", + "contao/core-bundle": "self.version", + "contao/faq-bundle": "self.version", + "contao/installation-bundle": "self.version", + "contao/listing-bundle": "self.version", + "contao/maker-bundle": "self.version", + "contao/manager-bundle": "self.version", + "contao/news-bundle": "self.version", + "contao/newsletter-bundle": "self.version", + "contao/test-case": "self.version" + }, + "conflict": { + "contao-community-alliance/composer-plugin": "<3.0", + "contao/core": "*", + "contao/manager-plugin": "<2.0 || >=3.0", + "doctrine/annotations": "<1.9", + "doctrine/cache": "<1.10", + "doctrine/dbal": "3.3.0", + "nikic/php-parser": "4.7.0", + "phpunit/phpunit": "<8.0", + "roave/better-reflection": "<4.12.2 || >=6.0", + "terminal42/contao-ce-access": "<3.0", + "thecodingmachine/safe": "<1.2", + "zendframework/zend-code": "<3.3.1" + }, + "autoload": { + "psr-4": { + "Contao\\CalendarBundle\\": "calendar-bundle/src/", + "Contao\\CommentsBundle\\": "comments-bundle/src/", + "Contao\\CoreBundle\\": "core-bundle/src/", + "Contao\\FaqBundle\\": "faq-bundle/src/", + "Contao\\InstallationBundle\\": "installation-bundle/src/", + "Contao\\ListingBundle\\": "listing-bundle/src/", + "Contao\\MakerBundle\\": "maker-bundle/src/", + "Contao\\ManagerBundle\\": "manager-bundle/src/", + "Contao\\NewsBundle\\": "news-bundle/src/", + "Contao\\NewsletterBundle\\": "newsletter-bundle/src/", + "Contao\\TestCase\\": "test-case/src/" + }, + "classmap": [ + "calendar-bundle/src/Resources/contao/", + "comments-bundle/src/Resources/contao/", + "core-bundle/src/Resources/contao/", + "faq-bundle/src/Resources/contao/", + "listing-bundle/src/Resources/contao/", + "news-bundle/src/Resources/contao/", + "newsletter-bundle/src/Resources/contao/" + ], + "exclude-from-classmap": [ + "calendar-bundle/src/Resources/contao/config/", + "calendar-bundle/src/Resources/contao/dca/", + "calendar-bundle/src/Resources/contao/languages/", + "calendar-bundle/src/Resources/contao/templates/", + "comments-bundle/src/Resources/contao/config/", + "comments-bundle/src/Resources/contao/dca/", + "comments-bundle/src/Resources/contao/languages/", + "comments-bundle/src/Resources/contao/templates/", + "core-bundle/src/Resources/contao/config/", + "core-bundle/src/Resources/contao/dca/", + "core-bundle/src/Resources/contao/helper/functions.php", + "core-bundle/src/Resources/contao/languages/", + "core-bundle/src/Resources/contao/templates/", + "core-bundle/src/Resources/contao/themes/", + "faq-bundle/src/Resources/contao/config/", + "faq-bundle/src/Resources/contao/dca/", + "faq-bundle/src/Resources/contao/languages/", + "faq-bundle/src/Resources/contao/templates/", + "listing-bundle/src/Resources/contao/config/", + "listing-bundle/src/Resources/contao/dca/", + "listing-bundle/src/Resources/contao/languages/", + "listing-bundle/src/Resources/contao/templates/", + "news-bundle/src/Resources/contao/config/", + "news-bundle/src/Resources/contao/dca/", + "news-bundle/src/Resources/contao/languages/", + "news-bundle/src/Resources/contao/templates/", + "newsletter-bundle/src/Resources/contao/config/", + "newsletter-bundle/src/Resources/contao/dca/", + "newsletter-bundle/src/Resources/contao/languages/", + "newsletter-bundle/src/Resources/contao/templates/" + ] + }, + "autoload-dev": { + "psr-4": { + "Contao\\CalendarBundle\\Tests\\": "calendar-bundle/tests/", + "Contao\\CoreBundle\\Fixtures\\": "core-bundle/tests/Fixtures/src/", + "Contao\\CoreBundle\\Tests\\": "core-bundle/tests/", + "Contao\\FaqBundle\\Tests\\": "faq-bundle/tests/", + "Contao\\InstallationBundle\\Tests\\": "installation-bundle/tests/", + "Contao\\MakerBundle\\Fixtures\\": "maker-bundle/tests/Fixtures/src/", + "Contao\\MakerBundle\\Tests\\": "maker-bundle/tests/", + "Contao\\ManagerBundle\\Tests\\": "manager-bundle/tests/", + "Contao\\NewBundle\\": "core-bundle/tests/Fixtures/vendor/contao/new-bundle/src/", + "Contao\\NewsBundle\\Tests\\": "news-bundle/tests/", + "Contao\\NewsletterBundle\\Tests\\": "newsletter-bundle/tests/", + "Contao\\TestBundle\\": "core-bundle/tests/Fixtures/vendor/contao/test-bundle/" + } + }, + "bin": [ + "manager-bundle/bin/contao-console", + "manager-bundle/bin/contao-setup" ], - "post-update-cmd": [ - "@php vendor/bin/contao-setup" - ] - } -} \ No newline at end of file + "config": { + "allow-plugins": { + "bamarni/composer-bin-plugin": true, + "composer/package-versions-deprecated": true, + "contao-components/installer": true, + "contao/manager-plugin": true + } + }, + "extra": { + "bamarni-bin": { + "bin-links": false, + "target-directory": "tools" + }, + "contao-manager-plugin": { + "contao/calendar-bundle": "Contao\\CalendarBundle\\ContaoManager\\Plugin", + "contao/comments-bundle": "Contao\\CommentsBundle\\ContaoManager\\Plugin", + "contao/core-bundle": "Contao\\CoreBundle\\ContaoManager\\Plugin", + "contao/faq-bundle": "Contao\\FaqBundle\\ContaoManager\\Plugin", + "contao/installation-bundle": "Contao\\InstallationBundle\\ContaoManager\\Plugin", + "contao/listing-bundle": "Contao\\ListingBundle\\ContaoManager\\Plugin", + "contao/maker-bundle": "Contao\\MakerBundle\\ContaoManager\\Plugin", + "contao/manager-bundle": "Contao\\ManagerBundle\\ContaoManager\\Plugin", + "contao/news-bundle": "Contao\\NewsBundle\\ContaoManager\\Plugin", + "contao/newsletter-bundle": "Contao\\NewsletterBundle\\ContaoManager\\Plugin" + } + }, + "scripts": { + "all": [ + "@unit-tests", + "@functional-tests", + "@cs-fixer", + "@service-linter", + "@phpstan", + "@require-checker", + "@monorepo-tools" + ], + "cs-fixer": [ + "@ecs", + "@ecs-legacy", + "@ecs-templates" + ], + "ecs": "@php tools/ecs/vendor/bin/ecs check *-bundle/bin *-bundle/src *-bundle/tests test-case/src tools/*/src --config tools/ecs/config/default.php --fix --ansi", + "ecs-legacy": "@php tools/ecs/vendor/bin/ecs check *-bundle/src/Resources/contao --config tools/ecs/config/legacy.php --fix --ansi", + "ecs-templates": "@php tools/ecs/vendor/bin/ecs check *-bundle/src/Resources/contao/templates --config tools/ecs/config/template.php --fix --ansi", + "functional-tests": "@php vendor/bin/phpunit --testsuite=functional --colors=always", + "monorepo-tools": "@php tools/monorepo/vendor/bin/monorepo-tools composer-json --validate --ansi", + "phpstan": "@php tools/phpstan/vendor/bin/phpstan analyze --ansi", + "require-checker": "@php tools/require-checker/vendor/bin/composer-require-checker check --config-file=tools/require-checker/config.json composer.json", + "service-linter": "@php tools/service-linter/bin/lint-service-ids --ansi", + "unit-tests": "@php vendor/bin/phpunit --colors=always" + } +}