Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
tool_phpunit

Namespaces

namespace  tool_phpunit\privacy
  
 

Classes

class  tool_phpunit\privacy\provider
 Privacy Subsystem for tool_phpunit implementing null_provider. More...
 

Variables

 $buildcomponentconfigs = $options['buildcomponentconfigs']
 
 $buildconfig = $options['buildconfig']
 
if($unrecognized) $diag = $options['diag']
 
 $drop = $options['drop']
 
 $help
 
 $install = $options['install']
 
 $output = null
 
 $plugin = 2024041600
 
$plugin component = 'tool_phpunit'
 
 if (!empty( $options[ 'help']))
 
const IGNORE_COMPONENT_CACHE (function_exists('opcache_reset')) true
 
const IGNORE_COMPONENT_CACHE (isset($_SERVER['REMOTE_ADDR'])) true
 
const PHPUNIT_UTIL ($options['run']) true
 
$plugin version = 2024042200
 

Detailed Description

Variable Documentation

◆ $help

$help
Initial value:
= "
Utilities to initialise the PHPUnit test site.
Usage:
php init.php [--no-composer-self-update] [--no-composer-upgrade]
[--help]
--no-composer-self-update
Prevent upgrade of the composer utility using its self-update command
--no-composer-upgrade
Prevent update development dependencies using composer
--disable-composer
A shortcut to disable composer self-update and dependency update
Note: Installation of composer and/or dependencies will still happen as required
-h, --help Print out this help
Example from Moodle root directory:
$ php admin/tool/phpunit/cli/init.php
"