Skip to content

Commit 5d8e8a2

Browse files
committed
Restores development Composer manifest
1 parent 9cb0982 commit 5d8e8a2

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

‎composer.json‎

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,75 @@
3737
"Stolt\\LeanPackage\\": "src/"
3838
}
3939
},
40+
"autoload-dev": {
41+
"psr-4": {
42+
"Stolt\\LeanPackage\\Tests\\": "tests/"
43+
}
44+
},
4045
"type": "library",
4146
"minimum-stability": "stable",
4247
"bin": [
4348
"bin/lean-package-validator"
4449
],
50+
"scripts-descriptions": {
51+
"lpv:test": "Runs all tests.",
52+
"lpv:test-with-coverage": "Runs all tests and measures code coverage.",
53+
"lpv:cs-fix": "Fixes coding standard violations.",
54+
"lpv:cs-lint": "Checks for coding standard violations.",
55+
"lpv:configure-commit-template": "Configures a local commit message template.",
56+
"lpv:application-version-guard": "Checks that the application version matches the given Git tag.",
57+
"lpv:application-phar-version-guard": "Checks that the PHAR version matches the given Git tag.",
58+
"lpv:static-analyse": "Runs a static code analysis via PHPStan.",
59+
"lpv:dependency-analyse": "Runs a dependency analysis to find shadowed dependencies.",
60+
"lpv:validate-gitattributes": "Checks the leanness of this package.",
61+
"lpv:pre-commit-check": "Does a final (aggregated) check before committing."
62+
},
63+
"scripts": {
64+
"lpv:test": "phpunit",
65+
"lpv:test-with-coverage": "export XDEBUG_MODE=coverage && phpunit --coverage-html coverage-reports",
66+
"lpv:cs-fix-classic": "php-cs-fixer --allow-risky=yes fix . -vv || true",
67+
"lpv:cs-fix": "mago lint --fix",
68+
"lpv:cs-lint": "mago lint",
69+
"lpv:configure-commit-template": "git config --add commit.template .gitmessage",
70+
"lpv:application-version-guard": "php bin/application-version --verify-tag-match=bin",
71+
"lpv:application-phar-version-guard": "php bin/application-version --verify-tag-match=phar",
72+
"lpv:static-analyse": "phpstan analyse --configuration phpstan.neon.dist --memory-limit=512M",
73+
"lpv:validate-gitattributes": "bin/lean-package-validator validate",
74+
"lpv:version-check": "version-aligner check",
75+
"lpv:spell-check": "./vendor/bin/peck",
76+
"lpv:dependency-analyse": "./vendor/bin/composer-dependency-analyser",
77+
"lpv:pre-commit-check": [
78+
"@lpv:test",
79+
"@lpv:cs-lint",
80+
"@lpv:static-analyse",
81+
"@lpv:dependency-analyse",
82+
"@lpv:spell-check",
83+
"@lpv:version-check"
84+
]
85+
},
4586
"config": {
4687
"preferred-install": "dist",
4788
"sort-packages": true,
4889
"optimize-autoloader": true,
4990
"allow-plugins": {
5091
"carthage-software/mago": true
5192
}
93+
},
94+
"require-dev": {
95+
"carthage-software/mago": "^1.18.0",
96+
"dg/bypass-finals": "^1.9",
97+
"friendsofphp/php-cs-fixer": "^3.95",
98+
"laravel/pao": "^1.0",
99+
"mockery/mockery": "^1.0",
100+
"peckphp/peck": "^0.3",
101+
"phlak/semver": "^4.1 || ^6.0",
102+
"php-mock/php-mock": "^2.6",
103+
"php-mock/php-mock-phpunit": "^2.7||^1.1",
104+
"phpstan/phpstan": "^2.1",
105+
"phpunit/phpunit": "^13.0||^12.0||^11.4.4||^10.5.25",
106+
"shipmonk/composer-dependency-analyser": "^1.8",
107+
"stolt/composer-peel": "^4.1",
108+
"stolt/version-aligner": "^1.1",
109+
"zenstruck/console-test": "^1.7"
52110
}
53111
}

0 commit comments

Comments
 (0)