wiki.techinc.nl/includes/debug
Tim Starling 54c735354f Stop using is_resource() where possible
* Enforce the ban on is_resource in phpcs
* In OrderedStreamingForkController, the comment was incorrect. I
  confirmed using a small test script that if the child closes one end
  of a socket pair, the other end will still be open, and is_resource()
  will still return true, and fclose() will not fail. The issue was
  introduced in c82d30d19c, it was not present in the
  CirrusSearch copy of the class.
* Allow is_resource() for debug logging.
* Allow is_resource() for parameter validation where a stream may be
  passed to a function, since there is no alternative.

Bug: T260735
Change-Id: I59a752f7bb4b043ddfb2434b52a02f9221bf54db
2022-01-26 10:03:23 +11:00
..
logger Stop using is_resource() where possible 2022-01-26 10:03:23 +11:00
DeprecatablePropertyArray.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DeprecationHelper.php DeprecationHelper: avoid closures 2021-12-10 17:15:13 +00:00
MWDebug.php Use WrappedString to build strings in MWDebug 2021-11-05 18:33:15 +00:00