|
77 | 77 | } |
78 | 78 | ], |
79 | 79 | "require": { |
80 | | - "php": ">=8.1", |
| 80 | + "php": ">=8.2", |
81 | 81 | "ext-simplexml": "*", |
82 | 82 | "guzzlehttp/guzzle": "^7.10", |
83 | 83 | "guzzlehttp/uri-template": "^1.0", |
84 | 84 | "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", |
85 | | - "symfony/options-resolver": "^6.4 || ^7.0 || ^8.0" |
| 85 | + "symfony/options-resolver": "^7.4 || ^8.0" |
86 | 86 | }, |
87 | 87 | "require-dev": { |
88 | 88 | "adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0", |
89 | 89 | "bamarni/composer-bin-plugin": "^1.9", |
90 | 90 | "brainmaestro/composer-git-hooks": "^3.0", |
| 91 | + "composer/composer": "^2.9", |
91 | 92 | "ergebnis/composer-normalize": "^2.50", |
92 | 93 | "ergebnis/license": "^2.7", |
93 | 94 | "ergebnis/php-cs-fixer-config": "^6.60", |
94 | 95 | "ergebnis/phpstan-rules": "^2.13", |
95 | | - "ergebnis/rector-rules": "^1.14", |
| 96 | + "ergebnis/rector-rules": "^1.15", |
96 | 97 | "fakerphp/faker": "^1.24", |
| 98 | + "guanguans/monorepo-builder-worker": "^3.1", |
97 | 99 | "guanguans/php-cs-fixer-custom-fixers": "^1.2", |
98 | 100 | "guanguans/phpstan-rules": "^1.1", |
99 | 101 | "guanguans/rector-rules": "^1.7", |
100 | | - "illuminate/support": "^10.49 || ^11.0 || ^12.0 || ^13.0", |
| 102 | + "illuminate/support": "^12.56 || ^13.0", |
101 | 103 | "jbelien/phpstan-sarif-formatter": "^1.2", |
102 | 104 | "mockery/mockery": "^1.6", |
103 | | - "nette/utils": "^4.0", |
| 105 | + "mrpunyapal/peststan": "^0.1", |
| 106 | + "mrpunyapal/rector-pest": "^0.2", |
| 107 | + "nette/utils": "^4.1", |
104 | 108 | "nicksdot/phpstan-phpstorm-error-identifiers": "^0.3", |
105 | | - "pestphp/pest": "^2.36 || ^3.0 || ^4.0", |
106 | | - "pestphp/pest-plugin-arch": "^2.7 || ^3.0 || ^4.0", |
107 | | - "pestphp/pest-plugin-profanity": "^1.7 || ^2.0 || ^3.0 || ^4.0", |
| 109 | + "pestphp/pest": "^3.8 || ^4.0", |
| 110 | + "pestphp/pest-plugin-arch": "^3.1 || ^4.0", |
| 111 | + "pestphp/pest-plugin-profanity": "^3.23 || ^4.0", |
108 | 112 | "php-mock/php-mock-phpunit": "^2.15", |
109 | | - "phpbench/phpbench": "^1.4", |
| 113 | + "phpbench/phpbench": "^1.6", |
110 | 114 | "phpstan/extension-installer": "^1.4", |
111 | | - "phpstan/phpstan": "^2.1", |
112 | 115 | "phpstan/phpstan-deprecation-rules": "^2.0", |
113 | 116 | "phpstan/phpstan-mockery": "^2.0", |
114 | 117 | "phpstan/phpstan-strict-rules": "^2.0", |
115 | 118 | "phpstan/phpstan-webmozart-assert": "^2.0", |
116 | | - "phpunit/phpunit": "^10.5 || ^11.0 || ^12.0 || ^13.0", |
| 119 | + "phpunit/phpunit": "^11.5 || ^12.0 || ^13.0", |
117 | 120 | "povils/phpmnd": "^3.6", |
118 | 121 | "rector/argtyper": "^0.6", |
119 | 122 | "rector/jack": "^0.5", |
120 | | - "rector/rector": "^2.3", |
121 | 123 | "rector/swiss-knife": "^2.3", |
122 | 124 | "rector/type-perfect": "^2.1", |
| 125 | + "roave/backward-compatibility-check": "^8.14", |
| 126 | + "roave/no-floaters": "^1.13", |
123 | 127 | "shipmonk/composer-dependency-analyser": "^1.8", |
124 | 128 | "shipmonk/dead-code-detector": "^0.15", |
125 | 129 | "shipmonk/name-collision-detector": "^2.1", |
|
132 | 136 | "staabm/phpstan-todo-by": "^0.3", |
133 | 137 | "staabm/side-effects-detector": "^1.0", |
134 | 138 | "symfony/thanks": "^1.4", |
135 | | - "symfony/var-dumper": "^6.4 || ^7.0 || ^8.0", |
| 139 | + "symfony/var-dumper": "^7.4 || ^8.0", |
| 140 | + "symplify/coding-standard": "^13.0", |
| 141 | + "symplify/easy-coding-standard": "^13.0", |
136 | 142 | "symplify/phpstan-rules": "^14.9", |
137 | 143 | "tomasvotruba/class-leak": "^2.1", |
138 | 144 | "tomasvotruba/cognitive-complexity": "^1.0", |
|
183 | 189 | "target-directory": "vendor-bin" |
184 | 190 | }, |
185 | 191 | "branch-alias": { |
186 | | - "dev-main": "4.x-dev" |
| 192 | + "dev-main": "5.x-dev" |
187 | 193 | }, |
188 | 194 | "composer-normalize": { |
189 | 195 | "indent-size": 4, |
|
211 | 217 | "actionlint": "actionlint -ignore=SC2035 -ignore=SC2086 -color -oneline -verbose", |
212 | 218 | "argtyper": "@php vendor/bin/argtyper --ansi -vv", |
213 | 219 | "argtyper:add-types": "@argtyper add-types .", |
214 | | - "blade-formatter": "blade-formatter resources/views/*.blade.php resources/views/**/*.blade.php --ignore-path= --php-version=8.1 --progress", |
| 220 | + "blade-formatter": "blade-formatter resources/views/*.blade.php resources/views/**/*.blade.php --ignore-path= --php-version=8.2 --progress", |
215 | 221 | "blade-formatter:check-formatted": "@blade-formatter --check-formatted", |
216 | 222 | "blade-formatter:write": "@blade-formatter --write", |
217 | 223 | "cghooks": "@php vendor/bin/cghooks --ansi -vv", |
|
233 | 239 | "@jack:breakpoint", |
234 | 240 | "@jack:open-versions-dry-run", |
235 | 241 | "@jack:raise-to-installed-dry-run", |
| 242 | + "@jsonlint", |
236 | 243 | "@notify:generate-ide-json", |
237 | 244 | "@notify:platform-lint", |
238 | 245 | "@phpmnd", |
|
292 | 299 | "composer:unlink": "@php -r \"@unlink('vendor/bin/composer');\"", |
293 | 300 | "composer:validate": "@composer validate --check-lock --strict --ansi -vv", |
294 | 301 | "detect-collisions": "@php vendor/bin/detect-collisions benchmarks/ src/", |
| 302 | + "ecs": "@php vendor/bin/ecs --ansi -vv", |
| 303 | + "ecs:check": "@ecs check", |
| 304 | + "ecs:check-output-format-json": "@ecs:check --output-format=json", |
| 305 | + "ecs:fix": "@ecs:check --fix", |
| 306 | + "ecs:list-checkers": "@ecs list-checkers", |
295 | 307 | "facade:lint": "@facade:update --lint", |
296 | 308 | "facade:update": "@php -f vendor/bin/facade.php -- Guanguans\\\\Notify\\\\Facades\\\\ApiResponseFacade", |
297 | 309 | "git-chglog": "git-chglog $(git describe --tags $(git rev-list --tags --max-count=1))", |
298 | 310 | "gitleaks": "gitleaks git --report-path=.build/gitleaks-report.json -v", |
299 | 311 | "gitleaks:generate-baseline": "gitleaks git --report-path=gitleaks-baseline.json -v", |
300 | | - "grumphp": [ |
301 | | - "@putenv:php", |
302 | | - "$PHP82 vendor/bin/grumphp run --ansi -vv" |
303 | | - ], |
| 312 | + "grumphp": "@php vendor/bin/grumphp run --ansi -vv", |
304 | 313 | "jack": "@php vendor/bin/jack", |
305 | 314 | "jack:breakpoint": "@jack breakpoint --limit=8", |
306 | 315 | "jack:breakpoint-dev": "@jack:breakpoint --dev", |
|
326 | 335 | "mago:lint-dry-run": "@mago:lint --dry-run", |
327 | 336 | "mago:lint-list-rules": "@mago lint --list-rules", |
328 | 337 | "mago:lint-semantics-only": "@mago lint --semantics-only", |
329 | | - "monorepo-builder": [ |
330 | | - "@putenv:php", |
331 | | - "$PHP82 vendor/bin/monorepo-builder --ansi -vv" |
332 | | - ], |
| 338 | + "monorepo-builder": "@php vendor/bin/monorepo-builder --ansi -vv", |
333 | 339 | "monorepo-builder:release": [ |
334 | 340 | "@git-chglog", |
335 | 341 | "@monorepo-builder release" |
|
343 | 349 | "monorepo-builder:release-patch": "@monorepo-builder:release patch", |
344 | 350 | "monorepo-builder:release-patch-dry-run": "@monorepo-builder:release-patch --dry-run", |
345 | 351 | "neon-lint": "@php vendor/bin/neon-lint *.neon", |
346 | | - "notify": "@php notify --ansi -vv", |
347 | | - "notify:app-build": [ |
348 | | - "@composer install --no-dev --no-scripts --ansi -vv", |
349 | | - "@php notify app:build notify.phar --build-version=master --ansi", |
350 | | - "@php builds/notify.phar list --ansi -vv", |
351 | | - "ls -lh builds/notify.phar", |
352 | | - "ls -lr builds/notify.phar" |
353 | | - ], |
354 | 352 | "notify:generate-gitleaks-ignore": "Guanguans\\Notify\\Foundation\\Support\\ComposerScripts::generateGitleaksIgnore", |
355 | 353 | "notify:generate-ide-json": "Guanguans\\Notify\\Foundation\\Support\\ComposerScripts::generateIdeJson", |
356 | 354 | "notify:phpdoc-parse": "Guanguans\\RectorRules\\Support\\ComposerScripts::phpdocParse", |
357 | 355 | "notify:platform-lint": "Guanguans\\Notify\\Foundation\\Support\\ComposerScripts::platformLint", |
358 | | - "peck": [ |
359 | | - "@putenv:php", |
360 | | - "$PHP82 vendor/bin/peck check --path=src/ --config=../../peck.json --ansi -vv" |
361 | | - ], |
| 356 | + "peck": "@php vendor/bin/peck check --path=src/ --config=peck.json --ansi -vv", |
362 | 357 | "peck:ignore-all": "@peck --ignore-all", |
363 | 358 | "peck:init": "@peck --init", |
364 | 359 | "pest": [ |
365 | 360 | "@putenv:xdebug-on", |
366 | | - "@php vendor/bin/pest --colors=always --min=90 --coverage --profile", |
| 361 | + "@php vendor/bin/pest --colors=always --min=80 --coverage --profile", |
367 | 362 | "@putenv:xdebug-off" |
368 | 363 | ], |
369 | 364 | "pest:coverage": "@pest --coverage-html=.build/phpunit/ --coverage-clover=.build/phpunit/clover.xml", |
370 | 365 | "pest:generate-baseline": "@pest --generate-baseline=phpunit-baseline.xml", |
371 | 366 | "pest:highest": [ |
372 | 367 | "@putenv:php", |
373 | 368 | "@putenv:xdebug-on", |
374 | | - "$PHP85 vendor/bin/pest --colors=always --min=90 --coverage --profile", |
| 369 | + "$PHP85 vendor/bin/pest --colors=always --min=80 --coverage --profile", |
375 | 370 | "@putenv:xdebug-off" |
376 | 371 | ], |
377 | 372 | "pest:migrate-configuration": "@pest --migrate-configuration", |
|
399 | 394 | "php-cs-fixer:list-sets": "@php-cs-fixer list-sets --ansi -vv", |
400 | 395 | "php-lint": [ |
401 | 396 | "@putenv:php", |
402 | | - "for DIR in .; do find $DIR -maxdepth 1 -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP81 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done", |
403 | | - "for DIR in src/ tests/; do find $DIR -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP81 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done" |
| 397 | + "for DIR in .; do find $DIR -maxdepth 1 -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP82 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done", |
| 398 | + "for DIR in src/ tests/; do find $DIR -type f -name '*.php' -type f ! -name 'xxx.php' -exec $PHP82 -l {} \\; 2>&1 | (! grep -v '^No syntax errors detected'); done" |
404 | 399 | ], |
405 | 400 | "phpbench": "@php vendor/bin/phpbench run --report=aggregate --ansi -vv", |
406 | 401 | "phpmnd": "@php vendor/bin/phpmnd src/ --exclude-path=Support/helpers.phpp --ignore-numbers=-1,2,200,201,202,300,301,302,304,400,401,402,403,404,408,409,422,429,500,9999999999 --hint --progress --ansi -vv", |
|
456 | 451 | "rector:process-dry-run-output-format-github": "@rector:process-dry-run --output-format=github", |
457 | 452 | "rector:process-only": "@rector:process-clear-cache src/ --only=Guanguans\\Notify\\Foundation\\Rectors\\MessageRector", |
458 | 453 | "rector:process-only-dry-run": "@rector:process-only --dry-run", |
459 | | - "roave-backward-compatibility-check": [ |
460 | | - "@putenv:php", |
461 | | - "$PHP82 vendor/bin/roave-backward-compatibility-check --install-development-dependencies --ansi -vv" |
462 | | - ], |
| 454 | + "roave-backward-compatibility-check": "@php vendor/bin/roave-backward-compatibility-check --install-development-dependencies --ansi -vv", |
463 | 455 | "roave-backward-compatibility-check:format-github-actions": "@roave-backward-compatibility-check --format=github-actions", |
464 | | - "rule-doc-generator": [ |
465 | | - "@putenv:php", |
466 | | - "$PHP82 rule-doc-generator --ansi -vv" |
467 | | - ], |
| 456 | + "rule-doc-generator": "@php rule-doc-generator --ansi -vv", |
468 | 457 | "rule-doc-generator:generate": "@rule-doc-generator generate src/Support/Rectors/ --output-file=src/Support/Rectors/rules-overview.md", |
469 | 458 | "rule-doc-generator:validate": "@rule-doc-generator validate src/Support/Rectors/", |
470 | 459 | "sk": "@php vendor/bin/swiss-knife --ansi -vv", |
|
488 | 477 | "sk:search-regex": "@sk search-regex 'Guanguans.*ValetDrivers'", |
489 | 478 | "sk:split-config-per-package": "@sk split-config-per-package monorepo-builder.php", |
490 | 479 | "sk:spot-lazy-traits": "@sk spot-lazy-traits src/ --max-used=2", |
491 | | - "testbench": "@php vendor/bin/testbench --ansi -vv", |
492 | | - "testbench:build": "@testbench workbench:build", |
493 | | - "testbench:clear": "@testbench package:purge-skeleton", |
494 | | - "testbench:optimize:image": "@testbench optimize:image", |
495 | | - "testbench:optimize:image-dry-run": "@testbench:optimize:image --dry-run", |
496 | | - "testbench:prepare": "@testbench package:discover", |
497 | | - "testbench:serve": [ |
498 | | - "@composer-config:disable-process-timeout", |
499 | | - "@testbench:build", |
500 | | - "@testbench serve" |
501 | | - ], |
502 | | - "testbench:test": [ |
503 | | - "@testbench:clear", |
504 | | - "@pest" |
505 | | - ], |
506 | | - "testbench:workbench:install": "@testbench workbench:install", |
507 | 480 | "todo-lint": "! git --no-pager grep --extended-regexp --ignore-case 'todo|fixme' -- '*.php' ':!*.blade.php' ':(exclude)src/Foundation/Concerns/HasOptions.php'", |
508 | | - "touch:database-sqlite": "@php -r \"file_exists('vendor/orchestra/testbench-core/laravel/database/database.sqlite') || touch('vendor/orchestra/testbench-core/laravel/database/database.sqlite');\"", |
509 | 481 | "trufflehog": "trufflehog git https://github.com/guanguans/notify --only-verified", |
510 | 482 | "typos": "typos --color=always --sort --verbose", |
511 | 483 | "typos:write-changes": "@typos --write-changes", |
|
0 commit comments