{ "name": "php-java/php-java", "description": "JVM emulator by PHP", "type": "library", "license": "MIT", "version": "0.0.7.3-dev", "authors": [ { "name": "memory" } ], "bin": [ "PHPJava" ], "require": { "php": ">=7.2", "ext-zip": "*", "monolog/monolog": "^1.24", "gabrielelana/byte-units": "^0.5.0", "symfony/console": "^4.2", "phpdocumentor/reflection-docblock": "^4.3" }, "autoload": { "psr-4": { "PHPJava\\": "src/", "PHPJava\\Console\\": "console/" } }, "autoload-dev": { "psr-4": { "PHPJava\\Tests\\": "tests/" } }, "require-dev": { "phpunit/phpunit": "^8.0", "squizlabs/php_codesniffer": "^3.4", "friendsofphp/php-cs-fixer": "^2.14", "brainmaestro/composer-git-hooks": "^2.6" }, "scripts": { "test": "phpunit tests --stop-on-failure", "cs": "phpcs -n --standard=phpcs.xml src", "fix": "php-cs-fixer fix", "tests": [ "@test", "@cs", "@fix" ], "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" ] } } }