Commit Graph

6871 Commits

Author SHA1 Message Date
assert
934058c479 optimization code 2021-06-15 23:48:30 +08:00
assert
a3f4d0c0e6 optimization code 2021-06-15 23:48:30 +08:00
assert
26a7c5975d optimization code 2021-06-15 23:48:30 +08:00
assert
99b3eefa81 php8 attribute annotation 2021-06-15 23:48:30 +08:00
黄朝晖
f4b6e0a548
Merge pull request #3696 from Mine-MuYan/patch-1
Validation 文档自定义验证器监听器的示例代码增加缺失 Listener 注解
2021-06-14 01:32:03 +08:00
huangzhhui
ed9a473eab Fixed multi-language docs 2021-06-14 01:30:52 +08:00
黄朝晖
06cac333e1
Remove useless content 2021-06-14 01:26:02 +08:00
沐沫
ba619fec06
增加listener的注解。 2021-06-12 15:59:19 +08:00
李铭昕
08f9a78db8
Adapt circuit-breaker component to support php8. (#3694) 2021-06-11 11:01:20 +08:00
李铭昕
2a7f69fd8d
Fixed bug that class proxies couldn't be included when building phar (#3692) 2021-06-10 21:07:12 +08:00
李铭昕
a6618f0ff2 Merge branch 'master' into 2.2-merge 2021-06-10 20:54:57 +08:00
李铭昕
38ebf7d000
Update test-components.yml (#3693) 2021-06-10 20:53:30 +08:00
李铭昕
a2041956bf
Fixed bug that rpc client does not work for amqp. (#3681) 2021-06-07 21:42:09 +08:00
fangjianwei
f00a0c659e
Fixed the wrong judgment of counter or duration for circuit breaker. (#3684) 2021-06-07 20:00:41 +08:00
李铭昕
36af374ff5 Merge branch 'master' into 2.2-merge 2021-06-07 09:50:48 +08:00
Nash Gao
69ff4eb6cc
Fixed bug that property $workerId does not works in annotation @Task. (#3674) 2021-06-06 15:53:55 +08:00
pandaLIU
5eb2dbfe5c
Added Nacos SDK component (#3679)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-06 14:19:18 +08:00
李铭昕
17048c0128
Use promphp instead of endclothing for prometheus_client_php. (#3676) 2021-06-05 22:39:01 +08:00
李铭昕
ee52457062
Adapt other components to support php8. (#3673) 2021-06-05 13:42:37 +08:00
李铭昕
3be446e13c
Make tests compatible with phpunit 10. (#3672) 2021-06-05 12:30:59 +08:00
李铭昕
e96d722075
Adapt database component to support php8. (#3670) 2021-06-05 12:03:34 +08:00
李铭昕
085f1cd671
Fixed bug that the crontab rule without backslash like 10-12 does not works. (#3669) 2021-06-05 09:55:37 +08:00
Demin Yin
c6e7addf26 fix the implementation for PHP 7.3 2021-06-05 09:03:06 +08:00
Demin Yin
f2c7327828 fix AWS API calls to fetch credentials from the instance metadata service from inside an ECS container 2021-06-05 09:03:06 +08:00
GanymedeNil
c0baa40704
Changed the return value of LengthAwarePaginator::toArray() to be consistent with that of Paginator::toArray(). (#3334)
Co-authored-by: jinhongyang <jinhongyang@tal.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-05 00:17:11 +08:00
pandaLIU
0e5d09e0d6
Fixed rule like 10-12/1,14-15/1 does not works for crontab. (#3667)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-04 23:40:31 +08:00
李铭昕
67948a0455
Added document for using enable in @Crontab. (#3666) 2021-06-04 21:33:16 +08:00
fangjianwei
f846d25424
Fixed undefined index: Port for AbstractServiceClient::getNodesFromConsul(). (#3663)
Co-authored-by: fangjw <fangjw@wecut.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-04 14:49:56 +08:00
戒尺
1a2c954bd0
Fixed typo 2021-06-04 14:34:53 +08:00
李铭昕
337eccfd96
Optimized code which be used to close connection friendly. (#3659) 2021-06-03 09:50:25 +08:00
李铭昕
f56fac8aa6
Fixed memory exhausted for rabbitmq caused by confirm channel. (#3657) 2021-06-02 22:22:41 +08:00
李铭昕
1e0d3cc822
Fixed bug that call to a member function close() on null(0) when rabbitmq server down. (#3656) 2021-06-02 17:09:33 +08:00
张城铭
6f50aa26b6
fixed Deprecated in PHP 8.0: Required parameter (#3655) 2021-06-02 17:05:03 +08:00
李铭昕
e6650112a0
Removed roave/better-reflection from other components. (#3654) 2021-06-02 13:18:33 +08:00
张城铭
219f9c25e2
fixed test
Co-authored-by: assert <zhangchengming@kkguan.com>
2021-06-02 12:37:17 +08:00
张城铭
250b06e2ea
Removed roave/better-reflection from LazyLoader. (#3651)
* Removed `roave/better-reflection` from LazyLoader.
* Renamed `Hyperf\Utils\CodeGen\PhpParser::getAstFromReflectionParameter()`

Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-02 10:52:56 +08:00
李铭昕
f09ab017a4
Fixed bug that ReflectionParameter::getClass() will be deprecated in php8. (#3650) 2021-06-01 22:01:53 +08:00
李铭昕
6bc61103af
Removed roave/better-reflection from hyperf/database. (#3649) 2021-06-01 21:14:32 +08:00
李铭昕
4bbea8d4f4
Added PhpDocReaderManager to manage php doc reader. (#3648)
- Optimized code for using PhpParser
- Optimized code for using PhpDocReader
2021-06-01 19:10:45 +08:00
李铭昕
231c98fdd5
Optimized Github Actions for MySQL 8.0 2021-06-01 11:01:56 +08:00
张城铭
ae9d1e3268
Use Fork Process strategy to replace BetterReflection strategy (#3634)
* 2.2

* Format code

* optimization

* ast parser

* temp data of scan process

* replace BetterReflection strategy

* Optimized code

* Update Scanner.php

* Fixed phpunit

* Fixed phpunit

* replace BetterReflection strategy

* Update AsyncQueueAspectTest.php

* optimization

* Update InjectTest.php

* Update CHANGELOG-2.2.md

Co-authored-by: assert <zhangchengming@kkguan.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-01 00:56:09 +08:00
李铭昕
d562a019ce
Optimized log level for SwooleIO. (#3640) 2021-05-31 13:47:06 +08:00
李铭昕
9aecca3cb0
close push channel and socket when worker exited. (#3639) 2021-05-31 13:00:29 +08:00
李铭昕
665a47f2aa
close channel when it broken. (#3638) 2021-05-31 12:29:10 +08:00
李铭昕
04be901023 Merge branch 'master' into 2.2-merge 2021-05-31 11:37:01 +08:00
李铭昕
a0146e53d0
Release v2.1.19 (#3637) 2021-05-31 09:44:47 +08:00
黄朝晖
2c40ec01b7
Added Hyperf\Rpc\PathGenerator\DotPathGenerator. (#3626)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-30 12:51:48 +08:00
李铭昕
31a61e8f09 Fixed bug that connection will be broken caused by second channel.open seen. 2021-05-30 10:17:07 +08:00
李铭昕
1daa06fd04 Fixed test cases for amqp 2021-05-30 10:17:07 +08:00
李铭昕
333eb00e1d Removed useless code 2021-05-30 10:17:07 +08:00