Skip to content

Commit 6d3f526

Browse files
authored
Merge pull request #611 from Automattic/rebecca/cleanup_wpcs_warning_cruft
Removing cruft since it is already a warning in WordPress.WP.AlternativeFunctions.file_system_read
2 parents 5d9cfb3 + 9ae891b commit 6d3f526

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

WordPress-VIP-Go/ruleset.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,9 @@
114114
-->
115115
<!-- Should fix all of them but it doesn't need a manual review -->
116116
<rule ref="WordPress.WP.AlternativeFunctions.file_system_read_fopen">
117-
<type>warning</type>
118117
<message>File system operations only work on the `/tmp/` and `wp-content/uploads/` directories. To avoid unexpected results, please use helper functions like `get_temp_dir()` or `wp_get_upload_dir()` to get the proper directory path when using functions such as %s(). For more details, please see: https://wpvip.com/documentation/vip-go/writing-files-on-vip-go/</message>
119118
</rule>
120119
<rule ref="WordPress.WP.AlternativeFunctions.file_system_read_fclose">
121-
<type>warning</type>
122120
<message>File system operations only work on the `/tmp/` and `wp-content/uploads/` directories. To avoid unexpected results, please use helper functions like `get_temp_dir()` or `wp_get_upload_dir()` to get the proper directory path when using functions such as %s(). For more details, please see: https://wpvip.com/documentation/vip-go/writing-files-on-vip-go/</message>
123121
</rule>
124122
<rule ref="WordPressVIPMinimum.Performance.FetchingRemoteData.FileGetContentsUnknown">

0 commit comments

Comments
 (0)