Skip to content

Commit 441750f

Browse files
committed
ci(config): Update config files
1 parent aa0b8ec commit 441750f

File tree

13 files changed

+36
-37
lines changed

13 files changed

+36
-37
lines changed

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ body:
3737
label: Validations
3838
description: Before submitting the issue, please make sure you do the following
3939
options:
40-
- label: Follow our [Code of Conduct](https://github.com/guanguans/soar-php/blob/master/.github/CODE_OF_CONDUCT.md)
40+
- label: Follow our [Code of Conduct](../blob/main/.github/CODE_OF_CONDUCT.md)
4141
required: true
42-
- label: Read the [Contributing Guide](https://github.com/guanguans/soar-php/blob/master/.github/CONTRIBUTING.md).
42+
- label: Read the [Contributing Guide](../blob/main/.github/CONTRIBUTING.md).
4343
required: true
4444
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
4545
required: true

.github/workflows/php-cs-fixer.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: '8.1'
20-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
2120
coverage: none
2221
env:
2322
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/phpstan.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: '8.1'
20-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
2120
coverage: none
2221
env:
2322
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rector.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: '8.1'
20-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
2120
coverage: none
2221
env:
2322
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.zhlintcaseignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.zhlintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.zhlintrc

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
{
22
"preset": "default",
3-
"caseIgnores": [
4-
":warning:"
5-
],
63
"rules": {
74
"spaceOutsideHalfwidthBracket": false
8-
}
5+
},
6+
"caseIgnores": [
7+
":+1:",
8+
":bangbang:",
9+
":cn:",
10+
":eyes:",
11+
":heart:",
12+
":heavy_exclamation_mark:",
13+
":mail:",
14+
":no_entry_sign:",
15+
":smile:",
16+
":tada:",
17+
":thumbsup:",
18+
":warning:",
19+
":white_check_mark:",
20+
":x:"
21+
]
922
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ guanguans ALL=(ALL) NOPASSWD: /Users/guanguans/Documents/develop/soar-php/bin/so
534534
```shell
535535
composer benchmark
536536
composer checks:required
537-
composer soar:example-run
538-
composer soar:example-serve
537+
composer soar-php:example-run
538+
composer soar-php:example-serve
539539
composer test
540540
```
541541

composer-bump

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ class ComposerBump
140140

141141
/**
142142
* @noinspection LongLine
143-
* @noinspection D
144143
*
145144
* @throws \JsonException
146145
*/

composer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@
214214
"@composer:normalize-dry-run",
215215
"@composer-dependency-analyser",
216216
"@php-cs-fixer:fix-dry-run-stop-on-violation",
217-
"@soar:check-binary",
218-
"@soar:dump-config",
219-
"@soar:example-run",
217+
"@soar-php:check-binary",
218+
"@soar-php:dump-config",
219+
"@soar-php:example-run",
220220
"@pest:bail",
221221
"@rector:process-dry-run",
222222
"@phpstan:analyse"
@@ -422,23 +422,23 @@
422422
"ls -lh builds/soar-php.phar",
423423
"ls -lr builds/soar-php.phar"
424424
],
425-
"soar:check-binary": "Guanguans\\SoarPHP\\Support\\ComposerScripts::checkSoarBinary",
426-
"soar:dump-config": [
427-
"@soar:dump-yaml-config",
428-
"@soar:dump-php-config"
425+
"soar-php:check-binary": "Guanguans\\SoarPHP\\Support\\ComposerScripts::checkSoarBinary",
426+
"soar-php:dump-config": [
427+
"@soar-php:dump-yaml-config",
428+
"@soar-php:dump-php-config"
429429
],
430-
"soar:dump-php-config": [
431-
"@soar:dump-php-config-prototype",
430+
"soar-php:dump-php-config": [
431+
"@soar-php:dump-php-config-prototype",
432432
"@rector:process-options --no-diffs",
433433
"@php-cs-fixer:fix --quiet"
434434
],
435-
"soar:dump-php-config-prototype": "Guanguans\\SoarPHP\\Support\\ComposerScripts::dumpSoarPHPConfig",
436-
"soar:dump-yaml-config": "Guanguans\\SoarPHP\\Support\\ComposerScripts::dumpSoarYamlConfig",
437-
"soar:example-run": [
435+
"soar-php:dump-php-config-prototype": "Guanguans\\SoarPHP\\Support\\ComposerScripts::dumpSoarPHPConfig",
436+
"soar-php:dump-yaml-config": "Guanguans\\SoarPHP\\Support\\ComposerScripts::dumpSoarYamlConfig",
437+
"soar-php:example-run": [
438438
"echo 'examples/example.php:\n'",
439439
"@php examples/example.php"
440440
],
441-
"soar:example-serve": [
441+
"soar-php:example-serve": [
442442
"@composer-config:disable-process-timeout",
443443
"@php -S localhost:8123 examples/example.php"
444444
],

0 commit comments

Comments
 (0)