Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize PHP file operation code for different versions #5260

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Synchronize PHP file operation code for different versions #5260

merged 3 commits into from
Feb 27, 2024

Conversation

NathanFreeman
Copy link
Member

No description provided.

Copy link

codecov bot commented Feb 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.59%. Comparing base (88b8486) to head (2c7ca0e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5260      +/-   ##
==========================================
+ Coverage   71.54%   71.59%   +0.04%     
==========================================
  Files         105      105              
  Lines       16084    16084              
  Branches     2972     2972              
==========================================
+ Hits        11508    11516       +8     
+ Misses       4522     4513       -9     
- Partials       54       55       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


static php_stream_ops sw_php_stream_stdio_ops = {
sw_php_stdiop_write,
sw_php_stdiop_read,
sw_php_stdiop_close,
sw_php_stdiop_flush,
"STDIO/coroutine",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个修改会引起 BC,建议下个版本再修改

#include "thirdparty/php/streams/php_streams_int.h"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处的换行符是有意义的,头文件包含分成了 4 个 section,分别是 标准库、Swoole 头文件、PHP 头文件、第三方头文件。换行区别显示

@matyhtf matyhtf merged commit dbe3baf into swoole:master Feb 27, 2024
37 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants