{
    "name": "webilia/daytidy",
    "description": "Universal Offering Booking Engine",
    "license": "GPL-2.0-or-later",
    "minimum-stability": "stable",
    "authors": [
        {
            "name": "Hossein Rafiei",
            "email": "hoseinrafiei@gmail.com"
        }
    ],
    "config": {
        "platform": {
            "php": "7.4.0"
        },
        "platform-check": false
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/webilia/webilia-ui"
        },
        {
            "type": "vcs",
            "url": "https://github.com/webilia/wp"
        },
        {
            "type": "vcs",
            "url": "https://github.com/webilia/webilia-connect"
        }
    ],
    "require": {
        "php": ">=7.4.0",
        "webilia/wp": "^1.1.0",
        "rlanvin/php-rrule": "^2.6",
        "webilia/ui": "^1.4.1",
        "webilia/connect": "^1.2.0"
    },
    "require-dev": {
        "phpstan/phpstan": "^2.1",
        "szepeviktor/phpstan-wordpress": "^2.0.3",
        "squizlabs/php_codesniffer": "^4.0.2"
    },
    "autoload": {
        "psr-4": {
            "DayTidy\\": "core"
        },
        "exclude-from-classmap": [
            "/vendor/webilia/connect/"
        ]
    },
    "scripts": {
        "phpstan": [
            "vendor/bin/phpstan analyse -c phpstan.neon --memory-limit=2G"
        ],
        "phpcs": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' vendor/bin/phpcs"
        ],
        "phpcs:warnings": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' vendor/bin/phpcs -w --runtime-set ignore_warnings_on_exit 1"
        ],
        "phpcbf": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' vendor/bin/phpcbf"
        ],
        "test:regression": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/sql-hardening.php",
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/lifecycle-options.php",
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/vertical-presets.php",
            "wp eval-file tests/regression/admin-header.php --path=../../..",
            "wp eval-file tests/regression/state-service-records.php --path=../../..",
            "wp eval-file tests/regression/admin-bookings-calendar.php --path=../../..",
            "wp eval-file tests/regression/admin-rescheduling.php --path=../../..",
            "wp eval-file tests/regression/calendar-feed.php --path=../../..",
            "wp eval-file tests/regression/booking-state.php --path=../../..",
            "wp eval-file tests/regression/customer-portal.php --path=../../..",
            "wp eval-file tests/regression/notifications-delivery.php --path=../../..",
            "wp eval-file tests/regression/booking-partial-refund-status.php --path=../../..",
            "wp eval-file tests/regression/reports-exports.php --path=../../..",
            "wp eval-file tests/regression/resource-booking.php --path=../../..",
            "wp eval-file tests/regression/public-booking-security.php --path=../../..",
            "wp eval-file tests/regression/timezone-dst.php --path=../../.."
        ],
        "test:lifecycle-options": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/lifecycle-options.php"
        ],
        "test:vertical-presets": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/vertical-presets.php"
        ],
        "test:onboarding": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/onboarding.php",
            "wp eval-file tests/regression/onboarding.php --path=../../.."
        ],
        "test:state-service-records": [
            "wp eval-file tests/regression/state-service-records.php --path=../../.."
        ],
        "test:admin-bookings-calendar": [
            "wp eval-file tests/regression/admin-bookings-calendar.php --path=../../.."
        ],
        "test:admin-rescheduling": [
            "wp eval-file tests/regression/admin-rescheduling.php --path=../../.."
        ],
        "test:calendar-feed": [
            "wp eval-file tests/regression/calendar-feed.php --path=../../.."
        ],
        "test:booking-state": [
            "wp eval-file tests/regression/booking-state.php --path=../../.."
        ],
        "test:customer-portal": [
            "wp eval-file tests/regression/customer-portal.php --path=../../.."
        ],
        "test:notifications-delivery": [
            "wp eval-file tests/regression/notifications-delivery.php --path=../../.."
        ],
        "test:booking-partial-refund-status": [
            "wp eval-file tests/regression/booking-partial-refund-status.php --path=../../.."
        ],
        "test:reports-exports": [
            "wp eval-file tests/regression/reports-exports.php --path=../../.."
        ],
        "test:public-booking-security": [
            "wp eval-file tests/regression/public-booking-security.php --path=../../.."
        ],
        "test:timezone-dst": [
            "wp eval-file tests/regression/timezone-dst.php --path=../../.."
        ],
        "test:uninstall-retention": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/uninstall-retention.php"
        ],
        "test:schema": [
            "wp eval-file tests/regression/database-schema.php --path=../../.."
        ],
        "test:capabilities": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/capabilities.php"
        ],
        "test:sql-hardening": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/sql-hardening.php"
        ],
        "test:help-support": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/help-support.php"
        ],
        "test:automated": [
            "@test:bar-feedback",
            "@test:engagement-lifecycle",
            "@test:assets-icons",
            "@test:single-offering-template",
            "@test:daytidy-pro-shell",
            "@test:privacy-export",
            "@test:booking-request",
            "@test:url-current",
            "@test:calendar-feed-input",
            "@test:calendar-admin-input",
            "@test:customization-settings",
            "@test:review-input",
            "@test:review-followup",
            "@test:agenda-sanitization",
            "@test:resource-description",
            "@test:resource-management-defaults",
            "@test:pro-licensing"
        ],
        "test:bar-feedback": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/bar-feedback.php"
        ],
        "test:engagement-lifecycle": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/engagement-lifecycle.php free",
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/engagement-lifecycle.php free-first",
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/engagement-lifecycle.php pro-first",
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/engagement-lifecycle.php incompatible"
        ],
        "test:assets-icons": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/assets-icons.php"
        ],
        "test:single-offering-template": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/single-offering-template.php"
        ],
        "test:daytidy-pro-shell": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/daytidy-pro-shell.php"
        ],
        "test:privacy-export": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/privacy-export.php"
        ],
        "test:booking-request": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/booking-request.php"
        ],
        "test:url-current": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/url-current.php"
        ],
        "test:calendar-feed-input": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/calendar-feed-input.php"
        ],
        "test:calendar-admin-input": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/calendar-admin-input.php"
        ],
        "test:customization-settings": [
            "php tests/customization-settings.php"
        ],
        "test:review-input": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/review-input.php"
        ],
        "test:review-followup": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/review-followup.php"
        ],
        "test:agenda-sanitization": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/agenda-sanitization.php"
        ],
        "test:resource-description": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/resource-description.php"
        ],
        "test:resource-management-defaults": [
            "php -d 'error_reporting=E_ALL & ~E_DEPRECATED' tests/resource-management-defaults.php"
        ],
        "test:pro-licensing": [
            "composer --working-dir=../daytidy-pro test:licensing"
        ]
    }
}
