Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
This commit is contained in:
张城铭 2024-06-26 14:57:39 +08:00 committed by GitHub
parent 8f1556c125
commit e6323b048e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,7 @@ jobs:
composer normalize --dry-run --no-update-lock
find ./src -name composer.json -exec composer normalize --dry-run --no-update-lock {} \;
- name: Run CS Fix
run: vendor/bin/php-cs-fixer fix src --dry-run --diff
run: vendor/bin/php-cs-fixer fix $1 --dry-run --diff
tests:
needs: cs-fix
name: Test on PHP${{ matrix.php-version }} Swoole-${{ matrix.sw-version }}

View File

@ -111,6 +111,7 @@ return (new Config())
->exclude('public')
->exclude('runtime')
->exclude('vendor')
->exclude('src/nacos/src/Protobuf/GPBMetadata')
->in(__DIR__)
)
->setUsingCache(false);

View File

@ -33,7 +33,7 @@ class Any
Any
type_url ( 
value ( 
com.google.protobufBAnyProtoPZ%github.com/golang/protobuf/ptypes/any˘GPBŞGoogle.Protobuf.WellKnownTypesĘHyperf\Nacos\Protobufâ!Hyperf\Nacos\Protobuf\GPBMetadatabproto3',
com.google.protobufBAnyProtoPZ%github.com/golang/protobuf/ptypes/any˘GPBŞGoogle.Protobuf.WellKnownTypesĘHyperf\\Nacos\\Protobufâ!Hyperf\\Nacos\\Protobuf\\GPBMetadatabproto3',
true
);