\ComposerLintTask

Summary

Methods
Properties
Constants
setDir()
setFile()
setPassthru()
setComposer()
init()
main()
No public properties found
No constants found
findFiles()
findComposer()
$dir
$file
$passthru
$composer
N/A
No private methods found
No private properties found
N/A

Properties

$dir

$dir : 

Type

$file

$file : 

Type

$passthru

$passthru : 

Type

$composer

$composer : 

Type

Methods

setDir()

setDir(string  $str) 

The setter for the dir

Parameters

string $str

Directory to crawl recursively for composer files

setFile()

setFile(string  $str) 

The setter for the file

Parameters

string $str

Individual file to validate

setPassthru()

setPassthru(boolean  $passthru) 

Whether to use PHP's passthru() function instead of exec()

Parameters

boolean $passthru

If passthru shall be used

setComposer()

setComposer(string  $str) 

Composer to execute. If unset, will attempt composer.phar in project basedir, and if that fails, will attempt global composer installation.

Parameters

string $str

Individual file to validate

init()

init() 

The init method: do init steps

main()

main() 

The main entry point

findFiles()

findFiles() : array

Find the composer.json files using Phing's directory scanner

Returns

array

findComposer()

findComposer() 

Find composer installation