rspec/rules/S5445/comments-and-links.adoc

15 lines
477 B
Plaintext
Raw Normal View History

=== Deprecate: RSPEC-2976
=== Related: RSPEC-5443
=== On 2020-11-16T09:51:32.497Z Pierre-Loup Tristant Wrote:
PHP offers two built-in function to create temporary files:
* \https://www.php.net/manual/en/function.tmpfile.php
* \https://www.php.net/manual/en/function.tempnam.php
Both function create a file with a unique filename, with access permission set to 0600.
This rule doesn't make sens for PHP because built-in functions protect against insecure temporary file.