PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Rodolfo Berrios Arce   Parameter   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Parameter
Validate function parameters with PHP attributes
Author: By
Last change:
Date: 18 days ago
Size: 3,029 bytes
 

Contents

Class file image Download
{ "name": "chevere/parameter", "description": "Library around parameter-argument", "homepage": "https://chevere.org", "type": "library", "license": "Apache-2.0", "authors": [ { "name": "Rodolfo Berrios", "email": "[email protected]", "homepage": "https://chevere.org" } ], "require": { "php": "^8.1", "chevere/data-structure": "^1.0.1", "chevere/message": "^1.0.0", "chevere/regex": "^1.0.1" }, "require-dev": { "chevere/var-dump": "^2.0", "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^10.5", "symplify/easy-coding-standard": "^12.3" }, "autoload": { "files": [ "src/Attributes/functions.php", "src/functions-array.php", "src/functions-bool.php", "src/functions-numeric.php", "src/functions-string.php", "src/functions.php" ], "psr-4": { "Chevere\\Parameter\\": "src/" } }, "autoload-dev": { "files": [ "tests/src/functions.php" ], "psr-4": { "Chevere\\Tests\\": "tests/" } }, "config": { "optimize-autoloader": true, "sort-packages": true }, "scripts": { "all": [ "composer phpstan", "composer test", "composer test-coverage", "composer infection -- --skip-initial-tests --coverage=build/logs" ], "infection": [ "Composer\\Config::disableProcessTimeout", "infection --only-covered -j10" ], "infection-filter": "sh -c 'sh -c \"composer infection -- --filter=$0 --test-framework-options=--filter=$0\"' $1", "phpstan": "vendor/bin/phpstan analyze src/ --memory-limit 512M --level 9", "test": [ "Composer\\Config::disableProcessTimeout", "vendor/bin/phpunit -c phpunit.xml --no-coverage" ], "test-coverage": [ "Composer\\Config::disableProcessTimeout", "vendor/bin/phpunit -c phpunit.xml" ], "cs-update": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php", "cs-fix": "vendor/bin/ecs --config='.ecs/ecs.php' check src --fix", "open-coverage": "open build/logs/html/index.html", "open-infection": "open build/logs/html/infection.html" }, "scripts-descriptions": { "all": "Runs all checks", "infection": "Runs infection", "infection-filter": "Runs infection (filtered)", "phpstan": "Runs phpstan", "test": "Run test suite", "test-coverage": "Run test suite (coverage)", "cs-update": "Update Chevere code style definition", "cs-fix": "Update Chevere code style definition", "open-coverage": "Open code coverage report", "open-infection": "Open infection report" } }