lib/pre-commit/checks.rb in pre-commit-0.1.16 vs lib/pre-commit/checks.rb in pre-commit-0.1.17

- old
+ new

@@ -6,10 +6,11 @@ require 'pre-commit/checks/debugger_check' require 'pre-commit/checks/jslint_check' require 'pre-commit/checks/jshint_check' require 'pre-commit/checks/migration_check' require 'pre-commit/checks/ci_check' +require 'pre-commit/checks/php_check' class PreCommit WhiteSpace = lambda { WhiteSpaceChecker.check @@ -34,10 +35,11 @@ :debugger => DebuggerCheck, :tabs => Tabs, :closure_syntax_check => ClosureSyntaxCheck, :merge_conflict => MergeConflict, :migrations => MigrationCheck.new, - :ci => CiCheck.new + :ci => CiCheck.new, + :php => PhpCheck.new } # Can not delete this method with out a deprecation strategy. # It is refered to in the generated pre-commit hook in versions 0.0-0.1.1 #