Skip to content

Commit f75fe6d

Browse files
committed
Merge pull request #180 from jish/feature/move_php_to_plugins_organization
removed php, update #176
2 parents 8d6380e + 7bcb3bc commit f75fe6d

File tree

7 files changed

+5
-65
lines changed

7 files changed

+5
-65
lines changed

lib/plugins/pre_commit/checks/php.rb

-33
This file was deleted.

test/files/bad-php.js

-2
This file was deleted.

test/files/bad.php

-2
This file was deleted.

test/files/good.php

-1
This file was deleted.

test/unit/plugins/pre_commit/checks/php_test.rb

-22
This file was deleted.

test/unit/pre-commit/cli_test.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
$stderr.string.must_equal('')
4747
$stdout.string.gsub(/\s+\n/,"\n").must_equal(<<-EXPECTED)
4848
Available providers: default(0) git(10) git_old(11) yaml(20) env(30)
49-
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space php pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
49+
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
5050
Default checks : common rails
5151
Enabled checks : common rails
5252
Evaluated checks : tabs nb_space whitespace merge_conflict debugger pry local jshint console_log migration
@@ -77,7 +77,7 @@
7777
$stderr.string.must_equal('')
7878
$stdout.string.gsub(/\s+\n/,"\n").must_equal(<<-EXPECTED)
7979
Available providers: default(0) git(10) git_old(11) yaml(20) env(30)
80-
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space php pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
80+
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
8181
Default checks : common rails
8282
Enabled checks : common rails
8383
Evaluated checks : tabs nb_space merge_conflict debugger pry local jshint console_log migration
@@ -99,7 +99,7 @@
9999
$stderr.string.must_equal('')
100100
$stdout.string.gsub(/\s+\n/,"\n").must_equal(<<-EXPECTED)
101101
Available providers: default(0) git(10) git_old(11) yaml(20) env(30)
102-
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space php pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
102+
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
103103
Default checks : common rails
104104
Enabled checks : common rails
105105
Evaluated checks : tabs nb_space merge_conflict debugger pry local jshint console_log migration
@@ -121,7 +121,7 @@
121121
$stderr.string.must_equal('')
122122
$stdout.string.gsub(/\s+\n/,"\n").must_equal(<<-EXPECTED)
123123
Available providers: default(0) git(10) git_old(11) yaml(20) env(30)
124-
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space php pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
124+
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
125125
Default checks : common rails
126126
Enabled checks : common rails
127127
Evaluated checks : tabs nb_space whitespace merge_conflict debugger pry local jshint console_log migration

test/unit/pre-commit/list_evaluator_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
it :list do
2323
subject.list.gsub(/\s+\n/,"\n").must_equal(<<-EXPECTED)
2424
Available providers: default(0)
25-
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space php pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
25+
Available checks : before_all ci closure coffeelint common console_log csslint debugger gemfile_path go jshint jslint json local merge_conflict migration nb_space pry rails rspec_focus rubocop ruby ruby_symbol_hashrockets scss_lint tabs whitespace yaml
2626
Default checks :
2727
Enabled checks :
2828
Evaluated checks :

0 commit comments

Comments
 (0)