Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theseer/phplint

Simple Wrapper around the php linting functionality for use within code
https://github.com/theseer/phplint

Last synced: 3 months ago
JSON representation

Simple Wrapper around the php linting functionality for use within code

Awesome Lists containing this project

README

        

PHPLint Wrapper Library
=======================

This library provides a simple means to run a lint (aka syntactical) check on php code
from within a php application:

Usage with file
---------------

$linter = new TheSeer\Tools\PHPLint();
$x = $linter->lintFile(__FILE__);

if (!$x) {
var_dump($x, $linter->getError());lintString('getError());