SystemCheck: add ability to efficiently run only specified checks
authorColeman Watts <coleman@civicrm.org>
Tue, 14 Jul 2020 00:29:06 +0000 (20:29 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 28 Jul 2020 01:06:58 +0000 (21:06 -0400)
commit675e2573392ea986c5c407937738d3fcff337ecb
tree7d7d2021b6b0edfa0fe1821c23180aa30387c7b7
parent6010fe35306be8f1a3f6546cc2244636d6f7322d
SystemCheck: add ability to efficiently run only specified checks

This changes the hook_civicrm_check() signature in a backward-compat fashion,
adding 2 params that can be used by the hook subscriber to filter by name if specified.
CRM/Upgrade/Incremental/sql/5.29.alpha1.mysql.tpl
CRM/Utils/Check.php
CRM/Utils/Check/Component.php
CRM/Utils/Check/Component/Env.php
CRM/Utils/Hook.php
Civi/Api4/Action/System/Check.php
Civi/Api4/Generic/AbstractGetAction.php
tests/phpunit/api/v4/Entity/SystemTest.php [new file with mode: 0644]