Commit Graph

23 Commits

Author SHA1 Message Date
李铭昕
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
李铭昕
e96d722075
Adapt database component to support php8. (#3670) 2021-06-05 12:03:34 +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
李铭昕
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
李铭昕
e6650112a0
Removed roave/better-reflection from other components. (#3654) 2021-06-02 13:18:33 +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
张城铭
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
李铭昕
1daa06fd04 Fixed test cases for amqp 2021-05-30 10:17:07 +08:00
李铭昕
7af798f8fa
Hyperf\Utils\Resource will be deprecated in v2.3. (#3636)
* `Hyperf\Utils\Resource` will be deprecated in v2.3, please use `Hyperf\Utils\ResourceGenerator` instead.

* Update composer.json
2021-05-29 23:26:08 +08:00
李铭昕
90623860ab
Added Hyperf\Utils\CodeGen\PhpParser which used to generate AST for reflection. (#3635) 2021-05-29 23:14:55 +08:00
李铭昕
f1825a9f33
Added Hyperf\Utils\Channel\ChannelManager which used to manage channels. 2021-05-28 11:57:20 +08:00
李铭昕
1af932a66c
Added DAG component. (#3589) 2021-05-15 17:46:42 +08:00
李铭昕
669fa75738
Changed the consumer tag of amqp to empty string. (#3582) 2021-05-13 16:07:31 +08:00
李铭昕
80c1c818fe
Changed the default priority of aspect to 0. (#3580) 2021-05-13 15:35:09 +08:00
李铭昕
42bf89639b
domnikl/statsd is no longer maintained, using the slickdeals/statsd package instead. 2021-05-13 09:58:05 +08:00
李铭昕
42b9a78860
Upgraded egulias/email-validator to ^3.0 (#3576) 2021-05-13 09:37:44 +08:00
李铭昕
62f7c49352
Upgraded psr/container to ^1.0|^2.0 (#3337)
* Support psr/container ^2.0

* Update composer.json

* Update CHANGELOG-2.2.md
2021-05-11 13:27:43 +08:00
李铭昕
3b097dc70a
Upgrade friendsofphp/php-cs-fixer to ^3.0 (#3566)
* Upgrade friendsofphp/php-cs-fixer to ^3.0 and format code

* Rename barnch  to 2.2

* Create CHANGELOG-2.2.md
2021-05-11 12:18:49 +08:00