editorconfig-checker/editorconfig-checker.php

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "editorconfig-checker/editorconfig-checker",
    "description": "A tool to verify that your files follow the rules of your .editorconfig",
    "license": "MIT",
    "authors": [
        {
            "name": "Max StrĂ¼bing",
            "email": "mxstrbng@gmail.com",
            "homepage": "https://github.com/mstruebing",
            "role": "Maintainer"
        }
    ],
    "support": {
        "issues": "https://github.com/editorconfig-checker/editorconfig-checker.php/issues",
        "source": "https://github.com/editorconfig-checker/editorconfig-checker.php"
    },
    "config": {
        "platform": {
            "php": "7.2"
        }
    },
    "require": {
        "php": "^7.2 || ^8.0"
    },
    "require-dev": {
        "squizlabs/php_codesniffer": "^3.6",
        "phpstan/phpstan": "^1.4",
        "phpunit/phpunit": "^8.5.23",
        "php-coveralls/php-coveralls": "^2.1"
    },
    "scripts": {
        "lint": [
            "@lint:psr2",
            "@lint:self"
        ],
        "lint:psr2": "phpcs --standard=PSR2 src/**",
        "lint:self": "./bin/ec",
        "test": "phpunit tests/ --bootstrap vendor/autoload.php --colors=always",
        "test:coverage": "phpunit -c ./phpunit.xml.dist",
        "check": "phpstan analyse -vvv"
    },
    "bin": [
        "bin/editorconfig-checker",
        "bin/ec"
    ],
    "autoload": {
        "psr-4": {
            "EditorconfigChecker\\": "src/EditorconfigChecker"
        }
    }
}