Commit Graph

6528 Commits

Author SHA1 Message Date
pandaLIU
20c875bd36
Removed broker and bootstrap_server from kafka. (#3550)
please use `brokers` and `bootstrap_servers` instead

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-22 18:19:46 +08:00
李铭昕
db4c7e397f
Added a document about how to upgrade to v2.2 (#3716) 2021-06-21 10:16:11 +08:00
李铭昕
a280656acf
Added ide-helper component (#3714) 2021-06-20 10:18:28 +08:00
李铭昕
4a89d40f3b
The input parameters of InstanceProvider::update() are modified to make it more friendly. (#3712)
* change the arguments for `instance::update()`.

* Update InstanceProvider.php

* Update CHANGELOG-2.2.md
2021-06-20 08:45:33 +08:00
李铭昕
b9b921cf60
Upgraded markrogoyski/math-php to ^2.0 (#3709) 2021-06-18 18:42:01 +08:00
李铭昕
3d9afbf9a0
Added ci for php8 (#3661) 2021-06-18 18:29:57 +08:00
张城铭
0d2b45c168
Changed the style of writing for #[Middlewares(FooMiddleware::class)]. (#3706)
Changed the style of writing to `#[Middlewares(FooMiddleware::class)]` from `@Middlewares({@Middleware(FooMiddleware::class)})` in PHP8.

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-06-18 18:18:34 +08:00
李铭昕
c4977ca518
Removed useless code from AbstractAnnotation. (#3700) 2021-06-16 00:27:11 +08:00
李铭昕
699829f823 Fixed bug that get annotations from method or property don't work in php8 2021-06-15 23:48:30 +08:00
李铭昕
ee156ab50d Removed $formattedValue from AbstractAnnotation. 2021-06-15 23:48:30 +08:00
huangzhhui
70cd22cb17 Optimize code 2021-06-15 23:48:30 +08:00
huangzhhui
d3b32aac86 Fixed variable $channel might not be defined. 2021-06-15 23:48:30 +08:00
huangzhhui
fec3e1ec2a Fix the return type of AbstractAnnotation, add $formattedValue property of AbstractAnnotation to stored the return value of formatParams() method 2021-06-15 23:48:30 +08:00
assert
f20bc175ec optimization code 2021-06-15 23:48:30 +08:00
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
李铭昕
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