Skip to content

Simple Wrapper around the php linting functionality for use within code

Notifications You must be signed in to change notification settings

theseer/phplint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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());<?php }

Usage with string

$linter = new TheSeer\Tools\PHPLint(); $x = $linter->lintString('<?php dddd');

var_dump($x, $linter->getError());

About

Simple Wrapper around the php linting functionality for use within code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages