File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11on :
2- pull_request :
2+ pull_request_target :
33 paths-ignore :
44 - ' docs/**'
55 - ' README.md'
1717 secrets :
1818 token : ${{ secrets.YIISOFT_GITHUB_TOKEN }}
1919 with :
20+ repository : ${{ github.event.pull_request.head.repo.full_name }}
2021 os : >-
2122 ['ubuntu-latest']
2223 php : >-
Original file line number Diff line number Diff line change 4040 "require-dev" : {
4141 "maglnet/composer-require-checker" : " ^4.7" ,
4242 "phpunit/phpunit" : " ^10.5" ,
43- "rector/rector" : " ^1 .0.3" ,
43+ "rector/rector" : " ^2 .0.3" ,
4444 "roave/infection-static-analysis-plugin" : " ^1.34" ,
4545 "spatie/phpunit-watcher" : " ^1.23" ,
4646 "vimeo/psalm" : " ^5.20"
Original file line number Diff line number Diff line change 44
55use Rector \CodeQuality \Rector \Class_ \InlineConstructorDefaultToPropertyRector ;
66use Rector \Config \RectorConfig ;
7- use Rector \Php73 \Rector \FuncCall \JsonThrowOnErrorRector ;
87use Rector \Php74 \Rector \Closure \ClosureToArrowFunctionRector ;
98use Rector \Php81 \Rector \Property \ReadOnlyPropertyRector ;
109use Rector \Php81 \Rector \FuncCall \NullToStrictStringFuncCallArgRector ;
2625
2726 $ rectorConfig ->skip ([
2827 ClosureToArrowFunctionRector::class,
29- JsonThrowOnErrorRector::class,
3028 ReadOnlyPropertyRector::class,
3129 NullToStrictStringFuncCallArgRector::class,
3230 ]);
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function __construct(
4343 private MutexFactoryInterface $ mutexFactory ,
4444 private string $ channel = QueueFactory::DEFAULT_CHANNEL_NAME ,
4545 ) {
46- $ this ->mutex = $ this ->mutexFactory ->create (__CLASS__ . $ this ->channel );
46+ $ this ->mutex = $ this ->mutexFactory ->create (self ::class . $ this ->channel );
4747 }
4848
4949 public function runExisting (callable $ handlerCallback ): void
@@ -109,7 +109,7 @@ public function withChannel(string $channel): self
109109
110110 $ new = clone $ this ;
111111 $ new ->channel = $ channel ;
112- $ new ->mutex = $ this ->mutexFactory ->create (__CLASS__ . $ this ->channel );
112+ $ new ->mutex = $ this ->mutexFactory ->create (self ::class . $ this ->channel );
113113
114114 return $ new ;
115115 }
You can’t perform that action at this time.
0 commit comments