classes/phing/tasks/ext/JslLintTask.php
\JslLintTask
A Javascript lint task. Checks syntax of Javascript files.
Javascript lint (http://www.javascriptlint.com) must be in the system path. This class is based on Knut Urdalen's PhpLintTask.
- Extends from
- \Task
- author
- Stefan Priebsch
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.ext
- version
- $Id: JslLintTask.php 1273 2011-08-17 09:49:54Z mrook $
Properties
Methods

createFileSet(
)
:
\FileSetNested creator, creates a FileSet for this task
| Type | Description |
|---|---|
| \FileSet |

lint(
string $file
)
:
voidPerforms the actual syntax check
| Name | Type | Description |
|---|---|---|
| $file | string |

setCacheFile(
\PhingFile $file
)
:
Whether to store last-modified times in cache
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile |

setFile(
\PhingFile $file
)
:
File to be performed syntax check on
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile |

setHaltOnFailure(
boolean $aValue
)
:
The haltonfailure property
| Name | Type | Description |
|---|---|---|
| $aValue | boolean |

setShowWarnings(
boolean $show
)
:
Sets the flag if warnings should be shown
| Name | Type | Description |
|---|---|---|
| $show | boolean |