j84reginato/my-eval

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "j84reginato/my-eval",
  "description": "PHP parser for mathematical expressions.",
  "type": "library",
  "keywords": [
    "parser",
    "mathematics"
  ],
  "homepage": "https://github.com/j84reginato/my-eval",
  "license": "LGPL-3.0",
  "authors": [
    {
      "name": "Jonatan Reginato",
      "email": "noronha_reginato@hotmail.com",
      "role": "Developer"
    }
  ],
  "minimum-stability": "stable",
  "prefer-stable": true,
  "config": {
    "bin-dir": "bin/",
    "preferred-install": "dist",
    "sort-packages": true,
    "optimize-autoloader": true
  },
  "require": {
    "php": ">=8.1",
    "phplucidframe/console-table": "^1.2"
  },
  "require-dev": {
    "phpunit/phpunit": "^9.5",
    "phpunit/php-code-coverage": "^9.2",
    "squizlabs/php_codesniffer": "^3.6"
  },
  "autoload": {
    "psr-4": {
      "MyEval\\": [
        "src/",
        "tests"
      ]
    },
    "files": [
    ]
  },
  "scripts": {
    "check": [
      "@cs-check",
      "@test"
    ],
    "cs-check": "./bin/phpcs -w -p",
    "cs-fix": "./bin/phpcbf",
    "test": "./bin/phpunit --configuration phpunit.xml",
    "test-with-coverage": "./bin/phpunit --configuration phpunit.xml --testsuite all-tests --coverage-html public/coverage --coverage-clover tests/target/coverage.xml --coverage-text='tests/target/coverage.txt' --log-junit tests/target/testresults.xml"
  }
}