File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ example/ export-ignore
1818LICENSE.md export-ignore
1919llms.txt export-ignore
2020lpv-logo.png export-ignore
21+ mago.toml export-ignore
2122peck.json export-ignore
2223phpstan.neon.dist export-ignore
2324phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 4444 "scripts" : {
4545 "lpv:test" : " phpunit" ,
4646 "lpv:test-with-coverage" : " export XDEBUG_MODE=coverage && phpunit --coverage-html coverage-reports" ,
47- "lpv:cs-fix" : " php-cs-fixer --allow-risky=yes fix . -vv || true " ,
48- "lpv:cs-lint" : " php-cs-fixer fix --diff --stop-on-violation --verbose --dry-run --allow-risky=yes " ,
47+ "lpv:cs-fix" : " mago fix" ,
48+ "lpv:cs-lint" : " mago lint " ,
4949 "lpv:configure-commit-template" : " git config --add commit.template .gitmessage" ,
5050 "lpv:application-version-guard" : " php bin/application-version --verify-tag-match=bin" ,
5151 "lpv:application-phar-version-guard" : " php bin/application-version --verify-tag-match=phar" ,
6565 "config" : {
6666 "preferred-install" : " dist" ,
6767 "sort-packages" : true ,
68- "optimize-autoloader" : true
68+ "optimize-autoloader" : true ,
69+ "allow-plugins" : {
70+ "carthage-software/mago" : true
71+ }
6972 },
7073 "require-dev" : {
74+ "carthage-software/mago" : " ^0.26.1" ,
7175 "friendsofphp/php-cs-fixer" : " ^3.70.1" ,
7276 "mockery/mockery" : " ^1.0" ,
7377 "peckphp/peck" : " ^0.1.2" ,
Original file line number Diff line number Diff line change 1+ # Mago configuration file
2+ # For more information, see https://mago.carthage.software/#/getting-started/configuration
3+ php_version = " 8.1.0"
4+
5+ [source ]
6+ paths = [" src/" , " tests/" ]
7+ includes = [" vendor" ]
8+ excludes = []
9+
10+ [format ]
11+ print_width = 120
12+ tab_width = 4
13+ use_tabs = false
14+
15+ [linter ]
16+ default_plugins = true
17+ plugins = [" symfony" , " php-unit" ]
You can’t perform that action at this time.
0 commit comments