Skip to content

Commit a9267cb

Browse files
committed
ci: move composer-normalize to phive dependencies
1 parent 63ad06f commit a9267cb

File tree

3 files changed

+372
-1616
lines changed

3 files changed

+372
-1616
lines changed

.phive/phars.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="composer-require-checker" version="^4.10.0" installed="4.10.0" location="./.phive/composer-require-checker" copy="false"/>
3+
<phar name="composer-normalize" version="^2.42.0" installed="2.42.0" location="./.phive/composer-normalize" copy="false"/>
4+
<phar name="composer-require-checker" version="^4.11.0" installed="4.11.0" location="./.phive/composer-require-checker" copy="false"/>
45
</phive>

composer.json

Lines changed: 49 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33
"description": "🚀 Jump-start your Laravel package development with our pre-configured Composer template, designed for seamless integration. This template includes essential tools such as PHPUnit, PHPStan, GitHub Actions, and Docker to streamline your workflow and enhance productivity.",
44
"license": "MIT",
55
"type": "library",
6+
"keywords": [
7+
"php",
8+
"template",
9+
"laravel-package",
10+
"laravel-template",
11+
"php8",
12+
"laravel-package-template"
13+
],
614
"authors": [
715
{
8-
"name": "lotyp",
16+
"name": "Andrij Orlenko",
917
"email": "[email protected]"
1018
}
1119
],
@@ -21,26 +29,24 @@
2129
"illuminate/support": "^10.48 || ^11.0"
2230
},
2331
"require-dev": {
24-
"ergebnis/composer-normalize": "^2.42",
2532
"ergebnis/phpunit-slow-test-detector": "^2.14",
2633
"fakerphp/faker": "^1.23",
2734
"larastan/larastan": "^2.9",
28-
"orchestra/testbench": "^8.5 || ^9.0",
35+
"orchestra/testbench": "^8.5 || ^9.1",
2936
"pestphp/pest": "^2.34",
30-
"pestphp/pest-plugin-laravel": "^2.3",
37+
"pestphp/pest-plugin-laravel": "^2.4",
3138
"phpstan/extension-installer": "^1.3",
32-
"phpstan/phpstan": "^1.10",
33-
"phpstan/phpstan-deprecation-rules": "^1.1",
34-
"phpstan/phpstan-phpunit": "^1.3",
35-
"phpstan/phpstan-strict-rules": "^1.5",
39+
"phpstan/phpstan": "^1.11",
40+
"phpstan/phpstan-deprecation-rules": "^1.2",
41+
"phpstan/phpstan-phpunit": "^1.4",
42+
"phpstan/phpstan-strict-rules": "^1.6",
3643
"phpunit/phpunit": "^10.5 || ^11.0",
3744
"psalm/plugin-laravel": "^2.11",
38-
"psalm/plugin-phpunit": "~0.19.0",
39-
"rector/rector": "^1.0",
45+
"psalm/plugin-phpunit": "^0.19",
46+
"rector/rector": "^1.1",
4047
"roave/infection-static-analysis-plugin": "^1.35",
41-
"roave/security-advisories": "dev-latest",
42-
"vimeo/psalm": "^5.23.1",
43-
"wayofdev/cs-fixer-config": "^1.2"
48+
"vimeo/psalm": "^5.24",
49+
"wayofdev/cs-fixer-config": "^1.5"
4450
},
4551
"minimum-stability": "dev",
4652
"prefer-stable": true,
@@ -84,19 +90,35 @@
8490
}
8591
},
8692
"scripts": {
87-
"cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
88-
"cs:fix": "php vendor/bin/php-cs-fixer fix -v",
89-
"infect": "XDEBUG_MODE=coverage php vendor/bin/roave-infection-static-analysis-plugin --configuration=infection.json.dist",
90-
"infect:ci": "XDEBUG_MODE=coverage php vendor/bin/roave-infection-static-analysis-plugin --ansi --configuration=infection.json.dist --logger-github --ignore-msi-with-no-mutations --only-covered",
91-
"psalm": "php vendor/bin/psalm --show-info=true",
92-
"psalm:baseline": "php vendor/bin/psalm --set-baseline=psalm-baseline.xml",
93-
"psalm:ci": "php vendor/bin/psalm --output-format=github --shepherd --show-info=false --stats --threads=4",
94-
"refactor": "php vendor/bin/rector process --config=rector.php",
95-
"refactor:ci": "php vendor/bin/rector process --config=rector.php --dry-run --ansi",
96-
"stan": "php vendor/bin/phpstan analyse --memory-limit=2G",
97-
"stan:baseline": "php vendor/bin/phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline",
98-
"stan:ci": "php vendor/bin/phpstan analyse --memory-limit=2G --error-format=github",
99-
"test": "XDEBUG_MODE=coverage php vendor/bin/pest",
100-
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml"
93+
"cs:diff": "php-cs-fixer fix --dry-run -v --diff",
94+
"cs:fix": "php-cs-fixer fix -v",
95+
"infect": [
96+
"@putenv XDEBUG_MODE=coverage",
97+
"roave-infection-static-analysis-plugin"
98+
],
99+
"infect:ci": [
100+
"@putenv XDEBUG_MODE=coverage",
101+
"roave-infection-static-analysis-plugin --ansi --logger-github --ignore-msi-with-no-mutations --only-covered"
102+
],
103+
"psalm": "psalm --show-info=true",
104+
"psalm:baseline": "psalm --set-baseline=psalm-baseline.xml",
105+
"psalm:ci": "psalm --output-format=github --shepherd --show-info=false --stats --threads=4",
106+
"refactor": "rector process --config=rector.php",
107+
"refactor:ci": "rector process --config=rector.php --dry-run --ansi",
108+
"stan": "phpstan analyse --memory-limit=2G",
109+
"stan:baseline": "phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline",
110+
"stan:ci": "phpstan analyse --memory-limit=2G --error-format=github",
111+
"test": [
112+
"@putenv XDEBUG_MODE=coverage",
113+
"pest --color=always"
114+
],
115+
"test:arch": [
116+
"@putenv XDEBUG_MODE=coverage",
117+
"pest --color=always --configuration pest.xml.dist"
118+
],
119+
"test:cc": [
120+
"@putenv XDEBUG_MODE=coverage",
121+
"pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml"
122+
]
101123
}
102124
}

0 commit comments

Comments
 (0)