{
    "name": "openmage/magento-lts",
    "description": "A fork of Magento-1 that is accepting bug fixes (backward compatible, drop in replacement for official Magento)",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "type": "magento-source",
    "require": {
        "php": ">=8.1 <8.5",
        "ext-ctype": "*",
        "ext-curl": "*",
        "ext-dom": "*",
        "ext-ftp": "*",
        "ext-gd": "*",
        "ext-hash": "*",
        "ext-iconv": "*",
        "ext-intl": "*",
        "ext-json": "*",
        "ext-libxml": "*",
        "ext-mbstring": "*",
        "ext-openssl": "*",
        "ext-pdo": "*",
        "ext-pdo_mysql": "*",
        "ext-simplexml": "*",
        "ext-soap": "*",
        "ext-zlib": "*",
        "colinmollenhour/cache-backend-redis": "^1.17",
        "colinmollenhour/magento-redis-session": "^3.2.0",
        "cweagans/composer-patches": "^1.7",
        "ezyang/htmlpurifier": "^4.17",
        "magento-hackathon/magento-composer-installer": "^3.1 || ^2.1 || ^4.0",
        "mklkj/tinymce-i18n": "^24.11",
        "openmage/composer-plugin": "^1.1.1",
        "pelago/emogrifier": "^7.0",
        "phpseclib/mcrypt_compat": "^2.0.3",
        "phpseclib/phpseclib": "^3.0.14",
        "shardj/zf1-future": "^1.24.1",
        "symfony/polyfill-php74": "^1.31",
        "symfony/polyfill-php80": "^1.31",
        "symfony/polyfill-php81": "^1.31",
        "symfony/polyfill-php82": "^1.31",
        "symfony/polyfill-php83": "^1.31",
        "symfony/polyfill-php84": "^1.31",
        "symfony/string": "^5.4",
        "symfony/translation-contracts": "^2.5",
        "tinymce/tinymce": "^7.5"
    },
    "require-dev": {
        "ext-xmlreader": "*",
        "composer/composer": "^2.7",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
        "friendsofphp/php-cs-fixer": "^3.4",
        "macopedia/phpstan-magento1": "^1.0.5",
        "magento-ecg/coding-standard": "^4.5",
        "openmage/dev-meta-package": "^1.0.5",
        "perftools/php-profiler": "^1.1",
        "phpcompatibility/php-compatibility": "^9.3",
        "phpmd/phpmd": "^2.13",
        "phpstan/phpstan": "^1.12.1",
        "phpunit/phpunit": "^9.5",
        "rector/rector": "^1.2",
        "squizlabs/php_codesniffer": "^3.7",
        "symplify/vendor-patches": "^11.1"
    },
    "conflict": {
        "n98/n98_layouthelper": "*"
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "authors": [
        {
            "name": "Lee Saferite",
            "email": "lee.saferite@openmage.org",
            "role": "Maintainer"
        },
        {
            "name": "Daniel Fahlke aka Flyingmana",
            "email": "flyingmana@googlemail.com",
            "role": "Maintainer"
        },
        {
            "name": "David Robinson",
            "email": "david.robinson@aoe.com",
            "role": "Maintainer"
        },
        {
            "name": "Tymoteusz Motylewski",
            "role": "Maintainer"
        },
        {
            "name": "Sven Reichel",
            "email": "github-sr@hotmail.com",
            "role": "Maintainer"
        }
    ],
    "funding": [
        {
            "type": "open_collective",
            "url": "https://opencollective.com/openmage"
        }
    ],
    "autoload-dev": {
        "psr-4": {
            "OpenMage\\Tests\\Unit\\": "tests/unit"
        }
    },
    "extra": {
        "patches": {
            "magento-ecg/coding-standard": {
                "PR-72 - Fix LoopSniff": "https://patch-diff.githubusercontent.com/raw/magento-ecg/coding-standard/pull/72.patch"
            },
            "shardj/zf1-future": {
                "MAG-1.1.1": "https://raw.githubusercontent.com/OpenMage/composer-patches/2ebdd7e4d2f70b11f91bd7a1bb3c5cf995a7bf93/patches/MAG-1.1.1.patch",
                "MAG-1.9.3.0": "https://raw.githubusercontent.com/OpenMage/composer-patches/0cc46b2487b2913d16fe308adbb1b0c2a336cdb4/patches/MAG-1.9.3.0.patch",
                "MAG-1.9.3.7 - SUPEE-10415": "https://raw.githubusercontent.com/OpenMage/composer-patches/74862e7a9fa29dd62c5c02d585d931ce9e3c5815/patches/MAG-1.9.3.7.patch",
                "OM-918 - Add runtime cache to Zend_Locale_Data": "https://raw.githubusercontent.com/OpenMage/composer-patches/74862e7a9fa29dd62c5c02d585d931ce9e3c5815/patches/OM-918.patch",
                "OM-1081 - Not detecting HTTPS behind a proxy": "https://raw.githubusercontent.com/OpenMage/composer-patches/74862e7a9fa29dd62c5c02d585d931ce9e3c5815/patches/OM-1081.patch",
                "OM-2047 - Pass delimiter char to preg_quote": "https://raw.githubusercontent.com/OpenMage/composer-patches/74862e7a9fa29dd62c5c02d585d931ce9e3c5815/patches/OM-2047.patch",
                "OM-2050 - Prevent checking known date codes": "https://raw.githubusercontent.com/OpenMage/composer-patches/74862e7a9fa29dd62c5c02d585d931ce9e3c5815/patches/OM-2050.patch"
            }
        },
        "magento-root-dir": ".",
        "magento-deploystrategy": "copy",
        "magento-deploystrategy-dev": "symlink",
        "magento-deploystrategy-overwrite": {
            "openmage/dev-copyright": "copy",
            "openmage/dev-translations": "copy",
            "openmage/legacy-frontend-themes": "copy"
        },
        "magento-force": true
    },
    "config": {
        "allow-plugins": {
            "cweagans/composer-patches": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "magento-hackathon/magento-composer-installer": true,
            "openmage/composer-plugin": true
        },
        "platform": {
            "php": "8.3"
        },
        "sort-packages": true
    },
    "scripts": {
        "php-cs-fixer:test": "vendor/bin/php-cs-fixer fix --dry-run --diff",
        "php-cs-fixer:fix": "vendor/bin/php-cs-fixer fix",
        "phpmd": "vendor/bin/phpmd app/code/core/Mage text .phpmd.dist.xml --color --cache --baseline-file .phpmd.dist.baseline.xml",
        "phpstan": "XDEBUG_MODE=off php vendor/bin/phpstan analyze",
        "phpstan:baseline": "XDEBUG_MODE=off php vendor/bin/phpstan analyze -b .phpstan.dist.baseline.neon",
        "phpunit:test": "XDEBUG_MODE=off php vendor/bin/phpunit --configuration .phpunit.dist.xml --no-coverage --testdox",
        "phpunit:coverage": "XDEBUG_MODE=coverage php vendor/bin/phpunit --configuration .phpunit.dist.xml --testdox",
        "phpunit:coverage-local": "XDEBUG_MODE=coverage php vendor/bin/phpunit --configuration .phpunit.dist.xml --coverage-html build/coverage --testdox",
        "rector:test": "vendor/bin/rector process --config .rector.php --dry-run",
        "rector:fix": "vendor/bin/rector --config .rector.php process"
    },
    "scripts-descriptions": {
        "php-cs-fixer:test": "Run php-cs-fixer",
        "php-cs-fixer:fix": "Run php-cs-fixer and fix issues",
        "phpmd": "Run phpmd",
        "phpstan": "Run phpstan",
        "phpstan:baseline": "Run phpstan and update baseline",
        "phpunit:test": "Run PHPUnit",
        "phpunit:coverage": "Run PHPUnit with code coverage (requires XDEBUG enabled)",
        "phpunit:coverage-local": "Run PHPUnit with local HTML code coverage (requires XDEBUG enabled)",
        "rector:test": "Run rector",
        "rector:fix": "Run rector and fix issues"
    }
}
