Function __global->check_outdated__handle_overrides

Definitions

sources/upgrade_integrity_scan.php

  • Check for out-dated files.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$dir SHORT_TEXT No No required parameter N/A N/A The directory we are scanning relative to
$rela SHORT_TEXT No No required parameter N/A N/A The directory (relative) we are scanning
&$manifest array Yes No required parameter N/A N/A Unserialised data/files.bin
&$hook_files array Yes No required parameter N/A N/A A list of the contents of our addon registry hook files
$allow_merging boolean No No required parameter N/A N/A Whether merging of CSS changes is allowed

Returns

  • Tuple of various kinds of outdated/missing files
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Check for out-dated files.
 *
 * @param  SHORT_TEXT $dir The directory we are scanning relative to
 * @param  SHORT_TEXT $rela The directory (relative) we are scanning
 * @param  array $manifest Unserialised data/files.bin
 * @param  array $hook_files A list of the contents of our addon registry hook files
 * @param  boolean $allow_merging Whether merging of CSS changes is allowed
 * @return array Tuple of various kinds of outdated/missing files
 */

function check_outdated__handle_overrides(string $dir, string $rela, array &$manifest, array &$hook_files, bool $allow_merging) : array