{ "name": "sabberworm/php-css-parser", "description": "Parser for CSS Files written in PHP", "license": "MIT", "type": "library", "keywords": [ "parser", "css", "stylesheet" ], "authors": [ { "name": "Raphael Schweikert" }, { "name": "Oliver Klee", "email": "github@oliverklee.de" }, { "name": "Jake Hotson", "email": "jake.github@qzdesign.co.uk" } ], "homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", "require": { "php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0", "ext-iconv": "*", "thecodingmachine/safe": "^1.3 || ^2.5 || ^3.3" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "1.4.0", "phpstan/extension-installer": "1.4.3", "phpstan/phpstan": "1.12.28 || 2.1.25", "phpstan/phpstan-phpunit": "1.4.2 || 2.0.7", "phpstan/phpstan-strict-rules": "1.6.2 || 2.0.6", "phpunit/phpunit": "8.5.46", "rawr/phpunit-data-provider": "3.3.1", "rector/rector": "1.2.10 || 2.1.7", "rector/type-perfect": "1.0.0 || 2.1.0" }, "suggest": { "ext-mbstring": "for parsing UTF-8 CSS" }, "autoload": { "psr-4": { "Sabberworm\\CSS\\": "src/" } }, "autoload-dev": { "psr-4": { "Sabberworm\\CSS\\Tests\\": "tests/" } }, "config": { "allow-plugins": { "phpstan/extension-installer": true }, "preferred-install": { "*": "dist" }, "sort-packages": true }, "extra": { "branch-alias": { "dev-main": "9.2.x-dev" } }, "scripts": { "ci": [ "@ci:static", "@ci:dynamic" ], "ci:composer:normalize": "\"./.phive/composer-normalize\" --dry-run", "ci:dynamic": [ "@ci:tests" ], "ci:php:fixer": "\"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots --diff bin src tests config", "ci:php:lint": "parallel-lint src tests config bin", "ci:php:rector": "rector --no-progress-bar --dry-run --config=config/rector.php", "ci:php:stan": "phpstan --no-progress --configuration=config/phpstan.neon", "ci:static": [ "@ci:composer:normalize", "@ci:php:fixer", "@ci:php:lint", "@ci:php:rector", "@ci:php:stan" ], "ci:tests": [ "@ci:tests:unit" ], "ci:tests:coverage": "phpunit --do-not-cache-result --coverage-clover=coverage.xml", "ci:tests:sof": "phpunit --stop-on-failure --do-not-cache-result", "ci:tests:unit": "phpunit --do-not-cache-result", "fix": [ "@fix:php" ], "fix:composer:normalize": "\"./.phive/composer-normalize\" --no-check-lock", "fix:php": [ "@fix:composer:normalize", "@fix:php:rector", "@fix:php:fixer" ], "fix:php:fixer": "\"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix bin src tests", "fix:php:rector": "rector --config=config/rector.php", "phpstan:baseline": "phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon --allow-empty-baseline" }, "scripts-descriptions": { "ci": "Runs all dynamic and static code checks.", "ci:composer:normalize": "Checks the formatting and structure of the composer.json.", "ci:dynamic": "Runs all dynamic code checks (i.e., currently, the unit tests).", "ci:php:fixer": "Checks the code style with PHP CS Fixer.", "ci:php:lint": "Checks the syntax of the PHP code.", "ci:php:rector": "Checks the code for possible code updates and refactoring.", "ci:php:stan": "Checks the types with PHPStan.", "ci:static": "Runs all static code analysis checks for the code.", "ci:tests": "Runs all dynamic tests (i.e., currently, the unit tests).", "ci:tests:coverage": "Runs the unit tests with code coverage.", "ci:tests:sof": "Runs the unit tests and stops at the first failure.", "ci:tests:unit": "Runs all unit tests.", "fix": "Runs all fixers", "fix:composer:normalize": "Reformats and sorts the composer.json file.", "fix:php": "Autofixes all autofixable issues in the PHP code.", "fix:php:fixer": "Fixes autofixable issues found by PHP CS Fixer.", "fix:php:rector": "Fixes autofixable issues found by Rector.", "phpstan:baseline": "Updates the PHPStan baseline file to match the code." } }