|
214 | 214 | "@php-cs-fixer:fix-dry-run-stop-on-violation", |
215 | 215 | "@soar:check-binary", |
216 | 216 | "@soar:dump-config", |
| 217 | + "@soar:usage-example-run", |
217 | 218 | "@pest:bail", |
218 | 219 | "@rector:process-dry-run", |
219 | 220 | "@phpstan:analyse" |
|
394 | 395 | "rule-doc-generator:rector-validate": "@rule-doc-generator validate src/Support/Rectors/", |
395 | 396 | "sk": "@php vendor/bin/swiss-knife --ansi -vv", |
396 | 397 | "sk:alice-yaml-fixtures-to-php": "@sk alice-yaml-fixtures-to-php --help", |
397 | | - "sk:check-commented-code": "@sk check-commented-code examples/ src/ --line-limit=5 --skip-file=src/Soar.php", |
| 398 | + "sk:check-commented-code": "@sk check-commented-code examples/ src/ --line-limit=6 --skip-file=src/Soar.php", |
398 | 399 | "sk:check-conflicts": "@sk check-conflicts examples/ src/", |
399 | 400 | "sk:dump-editorconfig": "@sk dump-editorconfig", |
400 | 401 | "sk:finalize-classes": "@sk finalize-classes examples/ src/", |
|
428 | 429 | ], |
429 | 430 | "soar:dump-php-config-prototype": "Guanguans\\SoarPHP\\Support\\ComposerScripts::dumpSoarPHPConfig", |
430 | 431 | "soar:dump-yaml-config": "Guanguans\\SoarPHP\\Support\\ComposerScripts::dumpSoarYamlConfig", |
431 | | - "soar:example-run": [ |
| 432 | + "soar:usage-example-run": [ |
432 | 433 | "echo 'examples/example.php:\n'", |
433 | | - "@php examples/example.php" |
| 434 | + "@php examples/usage-example.php" |
434 | 435 | ], |
435 | | - "soar:example-serve": [ |
| 436 | + "soar:usage-example-serve": [ |
436 | 437 | "@composer-config:disable-process-timeout", |
437 | | - "@php -S localhost:8123 examples/example.php" |
| 438 | + "@php -S localhost:8123 examples/usage-example.php" |
438 | 439 | ], |
439 | 440 | "testbench": "@php vendor/bin/testbench --ansi", |
440 | 441 | "testbench:build": "@testbench workbench:build", |
|
0 commit comments