Prefer is_dir/is_file to file_exists
commit891b51b258db91626e4f21b3790ec011bf8f56f9
authorKosta Harlan <kharlan@wikimedia.org>
Tue, 4 Jan 2022 10:03:09 +0000 (4 11:03 +0100)
committerKosta Harlan <kharlan@wikimedia.org>
Tue, 4 Jan 2022 10:03:09 +0000 (4 11:03 +0100)
treed28d5dfb1b98c6741a702096d46185016cf9529e
parent0c2cc804e1ebcb4d3f531a09fb549beb37634989
Prefer is_dir/is_file to file_exists

Mirco-optimisation for performance, part II.

Change-Id: Ie8d5332a510bd18456ebc4a851f4d47f6a010dcb
includes/AutoLoader.php
includes/OutputPage.php
includes/cache/FileCacheBase.php
includes/cache/localisation/LCStoreCDB.php
includes/cache/localisation/LCStoreStaticArray.php
includes/cache/localisation/LocalisationCache.php
includes/resourceloader/ResourceLoaderFileModule.php