ComposerLintTask
extends Task
in package
Table of Contents
- $composer : mixed
- $dir : mixed
- $file : mixed
- $passthru : mixed
- init() : mixed
- The init method: do init steps
- main() : mixed
- The main entry point
- setComposer() : mixed
- Composer to execute. If unset, will attempt composer.phar in project basedir, and if that fails, will attempt global composer installation.
- setDir() : mixed
- The setter for the dir
- setFile() : mixed
- The setter for the file
- setPassthru() : mixed
- Whether to use PHP's passthru() function instead of exec()
- findComposer() : mixed
- Find composer installation
- findFiles() : array<string|int, mixed>
- Find the composer.json files using Phing's directory scanner
Properties
$composer
protected
mixed
$composer
=
ull
$dir
protected
mixed
$dir
=
ull
$file
protected
mixed
$file
=
ull
$passthru
protected
mixed
$passthru
= alse
Methods
init()
The init method: do init steps
public
init() : mixed
Return values
mixed —main()
The main entry point
public
main() : mixed
Return values
mixed —setComposer()
Composer to execute. If unset, will attempt composer.phar in project basedir, and if that fails, will attempt global composer installation.
public
setComposer(string $str) : mixed
Parameters
- $str : string
-
Individual file to validate
Return values
mixed —setDir()
The setter for the dir
public
setDir(string $str) : mixed
Parameters
- $str : string
-
Directory to crawl recursively for composer files
Return values
mixed —setFile()
The setter for the file
public
setFile(string $str) : mixed
Parameters
- $str : string
-
Individual file to validate
Return values
mixed —setPassthru()
Whether to use PHP's passthru() function instead of exec()
public
setPassthru(bool $passthru) : mixed
Parameters
- $passthru : bool
-
If passthru shall be used
Return values
mixed —findComposer()
Find composer installation
protected
findComposer() : mixed
Return values
mixed —findFiles()
Find the composer.json files using Phing's directory scanner
protected
findFiles() : array<string|int, mixed>