Permalink
Switch branches/tags
Nothing to show
Commits on Jun 22, 2016
  1. Merge pull request #11 from wesclemens/master

    ReekenX committed Jun 22, 2016
    Refactored code to be more functional and reusable
Commits on Jun 21, 2016
  1. Script now checks staged version of file instead of on disk version

    wesclemens committed Jun 21, 2016
    The script was checking the on disk version of the file. This version
    could have been modified since it was staged, resulting in the incorrect
    version being checked. This change pull the file out of git and lints
    that version rather then the version on disk.
  2. Added silent mode to remove verbose messages

    wesclemens committed Jun 21, 2016
    If silent mode is enabled script will only print messages when the
    linter finds an error. No news is good news.
  3. Refactored code to be more functional

    wesclemens committed Jun 21, 2016
    Broke script up into several functions to make it easier to understand
    also moved highlighting into actual error messages and check to see if
    Git has highlighting enabled. Highlighting call will be chosen from Git
    configuration now.
Commits on Jun 8, 2016
  1. Merge pull request #9 from xuwenzhi/master

    ReekenX committed Jun 8, 2016
    Style filename displayed in error messages
Commits on Jun 7, 2016
  1. Remove the single echo

    xuwenzhi committed Jun 7, 2016
Commits on May 28, 2016
  1. Add error file code.

    xuwenzhi committed May 28, 2016
Commits on May 17, 2016
  1. Add color for file name.

    xuwenzhi committed May 17, 2016
Commits on Apr 18, 2016
  1. Initial commit should check PHP syntax errors too

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Apr 18, 2016
Commits on Feb 25, 2016
  1. Merge pull request #7 from damye/master

    ReekenX committed Feb 25, 2016
    Force errors displaying when checking for PHP syntax
  2. Update pre-commit

    damye committed Feb 25, 2016
    set display_errors to prevent display_errors is not correct setting
Commits on Apr 1, 2015
  1. Usage example added

    ReekenX committed Apr 1, 2015
Commits on Jan 21, 2015
  1. Thanks to Dave Barnwell for contributing!

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Jan 21, 2015
  2. Merge pull request #4 from freshsauce/master

    ReekenX committed Jan 21, 2015
    Handle spaces in filenames/paths
Commits on Sep 17, 2014
  1. Merge pull request #3 from wesclemens/master

    ReekenX committed Sep 17, 2014
    Added check for xdebug_* functions
Commits on Sep 11, 2014
  1. Added check for xdebug_* functions

    wesclemens committed Sep 11, 2014
    Xdebug is a popular PHP debugger. The Xdebugger extension is generally not
    install on production environments and xdebug statements shouldn't be check into
    source control.
Commits on Jun 27, 2014
  1. Changed place for thanks message in readme file

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Jun 27, 2014
  2. Added thanks message to README

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Jun 27, 2014
Commits on Jun 26, 2014
  1. More helpful language

    logoscreative committed Jun 26, 2014
Commits on Feb 12, 2013
  1. Updated README page with new contributor name

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Feb 12, 2013
  2. Merge pull request #1 from hkdobrev/patch-1

    ReekenX committed Feb 12, 2013
    Better git commmand and less output
Commits on Feb 6, 2013
  1. Better git commmand and less output

    hkdobrev committed Feb 6, 2013
    Git has better methods to read the changed files than `git status`.
    
    The pre-commit hook should check only staged files and not all changed files in the working tree.
    
    This change removes some output like which file is being checked as it is not needed.
    
    Less output for successful checks comply with the rule of silence from the Unix philosophy: 
    http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id2878450
Commits on Nov 12, 2010
  1. Updated README file with more info

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Nov 12, 2010
  2. Updated all project files

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Nov 12, 2010
Commits on Jun 8, 2010
  1. Removed e-mails from readme file (to prevent spam)

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Jun 8, 2010
Commits on Apr 30, 2010
  1. Added more information to Readme file

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Apr 30, 2010
  2. Added: Readme file

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Apr 30, 2010
  3. Added: LGPL license

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Apr 30, 2010
  4. Initial commit

    Remigijus Jarmalavičius
    Remigijus Jarmalavičius committed Apr 30, 2010