Function __global->run_integrity_check

Definitions

sources/upgrade_integrity_scan.php

  • Do an integrity check. This does not include an alien check in basic mode; otherwise check_alien() is called within this function.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$basic boolean No No False N/A N/A Whether to just do the minimum basic scan
$allow_merging boolean No No True N/A N/A Whether merging of CSS changes is allowed
$unix_help boolean No No False N/A N/A Whether to give some help to unix people

Returns

  • Results
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Do an integrity check. This does not include an alien check in basic mode; otherwise check_alien() is called within this function.
 *
 * @param  boolean $basic Whether to just do the minimum basic scan
 * @param  boolean $allow_merging Whether merging of CSS changes is allowed
 * @param  boolean $unix_help Whether to give some help to unix people
 * @return string Results
 */

function run_integrity_check(bool $basic = false, bool $allow_merging = true, bool $unix_help = false) : string