summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-07-19 13:46:18 +0200
committerRemi Collet <remi@php.net>2023-07-19 13:46:18 +0200
commit0b11efdd74ba1bd7d3eeee0c9df280eb45ddf6ea (patch)
treeabde7e8ded6c8dde8fc7917c5ded819792dcb057 /composer.json
parent96a646e55a1ff9078d5e41cc193730fefb03f309 (diff)
update to 1.6.3
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json74
1 files changed, 42 insertions, 32 deletions
diff --git a/composer.json b/composer.json
index bc6b77b..5870ef6 100644
--- a/composer.json
+++ b/composer.json
@@ -2,6 +2,7 @@
"name": "mockery/mockery",
"description": "Mockery is a simple yet flexible PHP mock object framework",
"license": "BSD-3-Clause",
+ "type": "library",
"keywords": [
"bdd",
"library",
@@ -18,39 +19,55 @@
{
"name": "Pádraic Brady",
"email": "padraic.brady@gmail.com",
- "homepage": "http://blog.astrumfutura.com"
+ "homepage": "https://github.com/padraic",
+ "role": "Author"
},
{
"name": "Dave Marshall",
"email": "dave.marshall@atstsolutions.co.uk",
- "homepage": "http://davedevelopment.co.uk"
+ "homepage": "https://davedevelopment.co.uk",
+ "role": "Developer"
+ },
+ {
+ "name": "Nathanael Esayeas",
+ "email": "nathanael.esayeas@protonmail.com",
+ "homepage": "https://github.com/ghostwriter",
+ "role": "Lead Developer"
}
],
"homepage": "https://github.com/mockery/mockery",
+ "support": {
+ "issues": "https://github.com/mockery/mockery/issues",
+ "source": "https://github.com/mockery/mockery",
+ "docs": "https://docs.mockery.io/",
+ "rss": "https://github.com/mockery/mockery/releases.atom",
+ "security": "https://github.com/mockery/mockery/security/advisories"
+ },
"require": {
- "php": "^7.4 || ^8.0",
+ "php": ">=7.4,<8.3",
"lib-pcre": ">=7.0",
"hamcrest/hamcrest-php": "^2.0.1"
},
"require-dev": {
"phpunit/phpunit": "^8.5 || ^9.3",
- "psalm/plugin-phpunit": "^0.18",
- "vimeo/psalm": "^5.9"
+ "psalm/plugin-phpunit": "^0.18.4",
+ "vimeo/psalm": "^5.13.1"
},
"conflict": {
"phpunit/phpunit": "<8.0"
},
"autoload": {
"psr-4": {
- "Mockery\\": "library/Mockery"
+ "Mockery\\": "src/Mockery"
},
"files": [
- "library/helpers.php",
- "library/Mockery.php"
+ "src/helpers.php",
+ "src/Mockery.php"
]
},
"autoload-dev": {
"psr-4": {
+ "Fixture\\": "tests/Fixture/",
"test\\": "tests/"
},
"files": [
@@ -58,40 +75,33 @@
]
},
"config": {
- "preferred-install": "dist"
- },
- "extra": {
- "branch-alias": {
- "dev-main": "1.6.x-dev"
- }
+ "optimize-autoloader": true,
+ "platform": {
+ "php": "7.4.999"
+ },
+ "preferred-install": "dist",
+ "sort-packages": true
},
"scripts": {
"check": [
"@composer validate",
- "@test",
- "@psalm:security",
- "@psalm:dry-run"
- ],
- "docs": "phpdoc -d library -t docs/api",
- "phpunit": [
- "@xdebug",
- "vendor/bin/phpunit --colors=always --testdox --stop-on-failure"
+ "@test"
],
+ "docs": "vendor/bin/phpdoc -d src -t docs/api",
+ "phpunit": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure",
+ "phpunit:coverage": "vendor/bin/phpunit --colors=always --testdox --stop-on-failure --coverage-clover=coverage.xml",
"psalm": [
- "@xdebug",
- "@psalm:shepherd"
+ "@psalm:shepherd",
+ "@psalm:security",
+ "@psalm:dry-run"
],
- "psalm:baseline": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
- "psalm:dry-run": "vendor/bin/psalm --alter --issues=all --dry-run",
- "psalm:missing": "vendor/bin/psalm --alter --issues=MissingReturnType",
- "psalm:security": "vendor/bin/psalm --taint-analysis",
- "psalm:shepherd": "vendor/bin/psalm --shepherd --show-info=false --stats --no-diff --no-cache",
+ "psalm:baseline": "vendor/bin/psalm --no-diff --no-cache --set-baseline=psalm-baseline.xml",
+ "psalm:dry-run": "vendor/bin/psalm --no-cache --alter --issues=all --dry-run",
+ "psalm:security": "vendor/bin/psalm --no-diff --no-cache --taint-analysis",
+ "psalm:shepherd": "vendor/bin/psalm --no-diff --no-cache --shepherd --stats --output-format=github",
"test": [
"@phpunit",
"@psalm"
- ],
- "xdebug": [
- "@putenv XDEBUG_MODE=coverage"
]
}
}