markuspoerschke/guestbook

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "eluceo/guestbook",
    "description": "A sample application for testing different CI services.",
    "license": "MIT",
    "type": "application",
    "authors": [
        {
            "name": "Markus Poerschke",
            "email": "markus@eluceo.de"
        }
    ],
    "require": {
        "php": "8.1.*",
        "ext-pdo": "*"
    },
    "require-dev": {
        "ergebnis/composer-normalize": "^2.29",
        "friendsofphp/php-cs-fixer": "^3",
        "phpunit/phpunit": "^10",
        "vimeo/psalm": "^5"
    },
    "minimum-stability": "stable",
    "autoload": {
        "psr-4": {
            "Eluceo\\Guestbook\\": "src/"
        }
    },
    "config": {
        "allow-plugins": {
            "ergebnis/composer-normalize": true
        }
    },
    "scripts": {
        "fix": [
            "@fix:composer",
            "@fix:code-style"
        ],
        "fix:code-style": "php-cs-fixer fix src",
        "fix:composer": "@composer normalize",
        "test": [
            "@composer normalize --dry-run",
            "@test:code-style",
            "@test:psalm",
            "@test:phpunit"
        ],
        "test:code-style": "php-cs-fixer fix --dry-run src",
        "test:phpunit": "phpunit",
        "test:psalm": "psalm"
    }
}