Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Variables
tool_phpunit

Files

file  init.php
 All in one init script - PHP version.
 
file  provider.php
 Privacy Subsystem implementation for tool_phpunit.
 
file  settings.php
 PHPunit integration.
 
file  util.php
 PHPUnit related utilities.
 
file  version.php
 Plugin version info.
 

Namespaces

 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']
 
 $install = $options['install']
 
 $output = null
 
$plugin component = 'tool_phpunit'
 
if($code==0) else if($code==PHPUNIT_EXITCODE_INSTALL) else if($code==PHPUNIT_EXITCODE_REINSTALL) else
 
if(file_exists(__DIR__.'/../../../../vendor/phpunit/phpunit/composer.json')) else
 
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 requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Variable Documentation

◆ else [1/2]

if ( $code==0) else if ( $code==PHPUNIT_EXITCODE_INSTALL) else if ( $code==PHPUNIT_EXITCODE_REINSTALL) else
Initial value:
{
echo implode("\n", $output)."\n"

◆ else [2/2]

if (file_exists(__DIR__.'/../../../../vendor/phpunit/phpunit/composer.json')) else
Initial value:
{
phpunit_bootstrap_error(PHPUNIT_EXITCODE_PHPUNITMISSING)
phpunit_bootstrap_error
phpunit_bootstrap_error($errorcode, $text='')
Print error and stop execution.
Definition: bootstraplib.php:44