Open Journal Systems
3.3.0
|
Public Member Functions | |
init () | |
main () | |
setComposer ($str) | |
setDir ($str) | |
setFile ($str) | |
setPassthru ($passthru) | |
Protected Member Functions | |
findComposer () | |
findFiles () | |
Protected Attributes | |
$composer = null | |
$dir = null | |
$file = null | |
$passthru = false | |
Phing task for composer validation.
Definition at line 11 of file ComposerLintTask.php.
|
protected |
Find composer installation
Definition at line 134 of file ComposerLintTask.php.
Referenced by main().
|
protected |
Find the composer.json files using Phing's directory scanner
Definition at line 121 of file ComposerLintTask.php.
Referenced by main().
ComposerLintTask::init | ( | ) |
The init method: do init steps
Definition at line 63 of file ComposerLintTask.php.
ComposerLintTask::main | ( | ) |
The main entry point
Definition at line 71 of file ComposerLintTask.php.
References $file, findComposer(), and findFiles().
ComposerLintTask::setComposer | ( | $str | ) |
Composer to execute. If unset, will attempt composer.phar in project basedir, and if that fails, will attempt global composer installation.
string | $str | Individual file to validate |
Definition at line 55 of file ComposerLintTask.php.
ComposerLintTask::setDir | ( | $str | ) |
The setter for the dir
string | $str | Directory to crawl recursively for composer files |
Definition at line 23 of file ComposerLintTask.php.
ComposerLintTask::setFile | ( | $str | ) |
The setter for the file
string | $str | Individual file to validate |
Definition at line 33 of file ComposerLintTask.php.
ComposerLintTask::setPassthru | ( | $passthru | ) |
Whether to use PHP's passthru() function instead of exec()
boolean | $passthru | If passthru shall be used |
Definition at line 43 of file ComposerLintTask.php.
References $passthru.
|
protected |
Definition at line 16 of file ComposerLintTask.php.
|
protected |
Definition at line 13 of file ComposerLintTask.php.
|
protected |
Definition at line 14 of file ComposerLintTask.php.
Referenced by main().
|
protected |
Definition at line 15 of file ComposerLintTask.php.
Referenced by setPassthru().