Commit Graph

6494 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
李铭昕
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
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
李铭昕
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
李铭昕
77eb94bc15 Fixed bug that AMQPConnection couldn't reconnect automatically. 2021-05-30 10:17:07 +08:00
李铭昕
48deb4cdf2 Optimized code for Connection and SwooleIO 2021-05-30 10:17:07 +08:00
李铭昕
723fee369e Support multiplexing for AMQP component. 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
张城铭
b8d504c6a4
Fixed bug that class_map does not works in Hyperf\Di\Annotation\Scanner. (#3625)
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-27 19:43:27 +08:00
nonetallt
f3306fd42b
Add view and view-engine english documentation (#3624) 2021-05-27 11:27:46 +08:00
李维山
dbb2b0ed41
Fix typo: Undefined variable $count (#3622)
Co-authored-by: 李维山 <msllws@163.com>
2021-05-26 10:58:33 +08:00
yandycom
f258bfa255
Fixed nsq max idle time. (#3621)
* Fixed nsq max idle time.

* Update nsq.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-25 20:39:16 +08:00
李铭昕
5eada19fb0
Fixed routes with same path but different methods will be merged when using describe:routes. (#3618) 2021-05-25 12:14:41 +08:00
李铭昕
f067d611d4 Format code 2021-05-24 15:50:49 +08:00
李铭昕
c0c0c47a22 Merge branch 'master' into 2.2-merge
# Conflicts:
#	composer.json
#	phpunit.xml
2021-05-24 15:50:44 +08:00
沈唁
987d3087e8
Fix typo 2021-05-24 15:45:42 +08:00
李铭昕
4234f9d791
Release v2.1.18 (#3613) 2021-05-24 09:46:08 +08:00
李铭昕
d9d799b211
Removed useless @mixin (#3612) 2021-05-22 20:27:40 +08:00
SuSuSoo
de7ba7b300
Fixed bug that fromSub() and joinSub() don't work with table prefix. (#3610)
* fix #3602

* Added test cases

Co-authored-by: WeGiao <wegiao@gmail.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-05-21 23:05:07 +08:00
沈唁
4f03575e94
Fix typo (#3608) 2021-05-21 17:16:08 +08:00
李铭昕
f6e9ff2213
Fixed bug that coroutine won't destruct when using onOpen in coroutine style websocket server. (#3607) 2021-05-21 14:56:36 +08:00
李铭昕
70a78ad6d9 Added rpn.md 2021-05-20 17:05:46 +08:00
李铭昕
d621795dd5 Added RPN component 2021-05-20 17:05:46 +08:00
李铭昕
6d97e438c2
Fixed bug that increment/decrement does not works as expect when used in transaction. (#3598) 2021-05-18 21:00:26 +08:00
李铭昕
3530600a16
Optimized Hyperf\WebSocketClient\Client::push() (#3597) 2021-05-18 20:04:24 +08:00
李铭昕
6f66dbcffd
Added crontab test cases into phpunit.xml (#3594)
* Added crontab test cases into phpunit.xml

* Update ParserTest.php
2021-05-17 17:03:58 +08:00