Commit Graph

45 Commits

Author SHA1 Message Date
rookiexxk
a37af75d6e
Use anonymous classes to avoid the duplicated class name for database migrations. (#6839)
Co-authored-by: 10470 <xiexuekun@addcn.com>
Co-authored-by: zds <49744633+zds-s@users.noreply.github.com>
2024-08-16 15:52:37 +08:00
zds
ee547bee24
Added multiplex connections test case for database (#6824) 2024-06-03 09:56:10 +08:00
云知易客
7e3185c438
Support to set headers for websocket-client.
Co-authored-by: 李铭昕 <715557344@qq.com>
2024-03-28 20:55:29 +08:00
李铭昕
2fb1b13c66
Added return type for model ast visitors. (#6544) 2024-02-20 18:54:33 +08:00
Deeka Wong
09ea540cc8
[3.1] Bumps swoole version and support PHP 8.3 for test-components (#6330) 2023-11-28 09:14:26 +08:00
李铭昕
9fd7752de6
Added component hyperf/migration-generator which used to generate migrations from databases. (#5967) 2023-07-23 20:01:33 +08:00
Deeka Wong
56a81d6f01
Improve Testing (#5885)
* Improve Test

* feat: Add container to InteractsWithContainer trait

This commit adds a property `container` of type `ContainerInterface` to the `InteractsWithContainer` trait. It also removes a redundant annotation and an unnecessary `PHPStan` ignore statement. The `instance()` method now sets instances using the container object.

Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-28 10:18:18 +08:00
Deeka Wong
9e850b336c
Split cs fix from tests (#5821)
* Split cs fix from tests

* Optimize CI name

* Optimize

---------

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
2023-06-09 14:42:30 +08:00
Deeka Wong
7bbc0ae02d
Removed support for swoole 4.x (#5813)
Co-authored-by: 李铭昕 <715557344@qq.com>
2023-06-08 16:48:41 +08:00
Deeka Wong
d3ab30ca4b
[3.1] Support pest (#5805) 2023-06-07 13:05:40 +08:00
李铭昕
eba329e1c2
Fixed test cases for phar. (#5732) 2023-05-17 11:02:43 +08:00
李铭昕
e1b50351b9
Added server.options.send_channel_capacity to control whether to use safe socket. (#5606) 2023-04-07 14:21:41 +08:00
李铭昕
4e3662aef4
Use Hyperf\Collection\Arr instead of Hyperf\Utils\Arr. (#5594) 2023-04-02 21:17:26 +08:00
李铭昕
786e3e8aa4
Don't run cs when php version < 8.1 (#5589) 2023-03-30 20:12:52 +08:00
李铭昕
fcd4661ee9
Removed the requirement consul from service-governance. (#5585) 2023-03-30 13:49:34 +08:00
李铭昕
9aa7ab4aef Fixed test cases. 2023-03-17 17:03:52 +08:00
李铭昕
33c5eeb096 Added test cases. 2023-03-17 17:03:52 +08:00
Deeka Wong
c07162dc5b
Support PHP 8.2 (#5087)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-12-10 21:24:37 +08:00
李铭昕
afe17c45b2
Fixed bug that proxy class will be generated failed when using parameters who allow null in constructor. 2022-11-28 18:55:55 +08:00
Deeka Wong
b22fcd1ccc
Optimize the order of github actions (#5184)
Co-authored-by: 李铭昕 <715557344@qq.com>
2022-11-09 10:01:40 +08:00
李铭昕
195fe8e362
Optimized test.yml. (#5181) 2022-11-07 12:27:22 +08:00
她和她的猫
677c9da9bc
Add error checking for PostgreSQLStatement::execute method. (#5121) 2022-10-11 10:37:54 +08:00
李铭昕
7887c13578
Support Swow for json-rpc. (#4991) 2022-08-06 18:11:53 +08:00
李铭昕
0575f13a91
Support Swow for nsq. (#4990) 2022-08-06 15:09:08 +08:00
李铭昕
299d67b952 Merge branch 'master' into 3.0
# Conflicts:
#	src/http-server/src/Request.php
#	src/model-cache/tests/Stub/ManagerStub.php
2022-03-14 11:43:17 +08:00
李铭昕
7d8dd34366 Added document about how to use bit in ORM. 2022-03-10 15:58:49 +08:00
李铭昕
f727897e39 Fixed bug that database does not support bit. 2022-03-10 15:58:49 +08:00
李铭昕
81649702ad Fixed bug that install hyperf/engine failed. 2022-01-17 15:22:27 +08:00
李铭昕
dee852c950
Upgrade the minimum php version to 8.0 for http-server. (#4306) 2021-12-01 16:19:47 +08:00
李铭昕
11391280ba
Support test cases in container v2.0 (#4031) 2021-09-08 13:14:39 +08:00
李铭昕
c5234cb6b9 Added filesystem into test-components.yml 2021-07-07 13:27:38 +08:00
李铭昕
4b78aeaaaf
Don't retry, when recv timeout for json-rpc client. (#3195)
* Don't retry, when recv timeout for json-rpc client.
2021-01-25 11:48:00 +08:00
李铭昕
44b8a342d2
Added usage for trait snowflake. (#2838) 2020-11-20 14:13:56 +08:00
李铭昕
06fe2ac429 Added workflows to test. 2020-10-27 23:42:29 +08:00
李铭昕
34ed6f37e4
v2.0.13 (#2586)
* Update CHANGELOG-2.0.md

* Update awesome-components.md

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-09-28 10:47:04 +08:00
梁桂锋
3cad705e00
Fixed the bug that the morph association is empty and cannot be queried. (#1734)
* Fix the bug that the morph association is empty and cannot be queried

* Added testing.

* Update CHANGELOG.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-16 10:49:33 +08:00
神秘人xcy
f07abc641b
Added ORM methods morphWith and whereHasMorph. (#1616)
* Add MorphWith ORM Function

* Add WhereHasMorph ORM Function

* Added test cases.

* Added document.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-05-03 13:29:33 +08:00
李铭昕
3cf6653d2c
Fixed attributes are not right, when the model has property hidden. (#1405) 2020-03-11 20:16:03 +08:00
Donjan
71bf223bb8 Fixed default operator does not works for Hyperf\Utils\Collection::operatorForWhere. (#1189) 2019-12-26 10:54:01 +08:00
黄朝晖
0f5dfb4387
Update hyperf.sql 2019-08-09 15:48:24 +08:00
李铭昕
ab684f87b0 Update hyperf.sql 2019-08-09 14:40:29 +08:00
李铭昕
64727de9fe Deleted useless code. 2019-08-09 14:33:53 +08:00
李铭昕
2267e6b0eb Added generate support for Model. 2019-08-08 11:47:50 +08:00
李铭昕
f21f8c54ee Fixed priority. 2019-06-24 16:15:18 +08:00
李铭昕
5a1b7145bf Added travis support. 2019-06-24 13:10:41 +08:00