{ "name": "php-java/php-java", "description": "Implement JVM by PHP", "type": "library", "license": "MIT", "minimum-stability": "dev", "authors": [ { "name": "memory" } ], "bin": [ "PHPJava" ], "require": { "php": ">=7.3", "ext-zip": "*", "monolog/monolog": "^2.9.2", "gabrielelana/byte-units": "^0.5.0", "symfony/console": "^5.2", "phpdocumentor/reflection-docblock": "^5.2", "brick/math": "^0.9.1", "nikic/php-parser": "^4.10" }, "autoload": { "psr-4": { "PHPJava\\": "src/", "PHPJava\\Console\\": "console/" } }, "autoload-dev": { "psr-4": { "PHPJava\\Tests\\": "tests/" } }, "require-dev": { "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3.5", "friendsofphp/php-cs-fixer": "^2.17", "brainmaestro/composer-git-hooks": "^2.8" }, "scripts": { "test": "phpunit", "cs": "phpcs -n --standard=phpcs.xml src", "fix": "php-cs-fixer fix", "tests": [ "@cs", "@test" ], "post-install-cmd": "[ \"$COMPOSER_DEV_MODE\" = 1 ] && cghooks add --ignore-lock", "post-update-cmd": "[ \"$COMPOSER_DEV_MODE\" = 1 ] && cghooks update" }, "extra": { "hooks": { "pre-commit": [ "git diff-index --cached --name-only HEAD | vendor/bin/php-cs-fixer fix", "git update-index --again" ] } } }