• internal This class is not covered by the backward compatibility promise for PHPUnit
CloneableFinalInstantiable
Methods
public static checkAndLoad(string $filename) : string
 
Checks if a PHP sourcecode file is readable. The sourcecode file is loaded through the load() method.

As a fallback, PHP looks in the directory of the file executing the stream_resolve_include_path function. We do not want to load the Test.php file here, so skip it if it found that. PHP prioritizes the include_path setting, so if the current directory is in there, it will first look in the current working directory.

public static load(string $filename) : void
 
Loads a PHP sourcefile.

Methods
private static isReadable(string $filename) : bool
 


  • see https://github.com/sebastianbergmann/phpunit/pull/2751
Methods
public static checkAndLoad(string $filename) : string
 
Checks if a PHP sourcecode file is readable. The sourcecode file is loaded through the load() method.

As a fallback, PHP looks in the directory of the file executing the stream_resolve_include_path function. We do not want to load the Test.php file here, so skip it if it found that. PHP prioritizes the include_path setting, so if the current directory is in there, it will first look in the current working directory.

private static isReadable(string $filename) : bool
 


  • see https://github.com/sebastianbergmann/phpunit/pull/2751
public static load(string $filename) : void
 
Loads a PHP sourcefile.

© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only