History

Update PHPUnit documentation (5.4, 4.8)

Thibaut Courouble committed 10 years ago

Commit 38503c01 parent 6a1d6c94 files · +6 −7Browse files

Unified · Split

4 files
  1. assets/javascripts/views/pages/phpunit.coffee +0 −6
  2. assets/javascripts/views/pages/simple.coffee +1 −0
  3. lib/docs/filters/phpunit/clean_html.rb +4 −0
  4. lib/docs/scrapers/phpunit.rb +1 −1
assets/javascripts/views/pages/phpunit.coffee+0−6
@@ -1,6 +0,0 @@
1#= require views/pages/base
2
3class app.views.PhpunitPage extends app.views.BasePage
4 prepare: ->
5 @highlightCode @findAll('pre.programlisting'), 'php'
6 return
assets/javascripts/views/pages/simple.coffee+1−0
@@ -32,6 +32,7 @@ app.views.PerlPage = · 31 unmodified lines
32app.views.PhalconPage =32app.views.PhalconPage =
33app.views.PhaserPage =33app.views.PhaserPage =
34app.views.PhpPage =34app.views.PhpPage =
35app.views.PhpunitPage =
35app.views.PostgresPage =36app.views.PostgresPage =
36app.views.RamdaPage =37app.views.RamdaPage =
37app.views.ReactPage =38app.views.ReactPage =
lib/docs/filters/phpunit/clean_html.rb+4−0
@@ -53,6 +53,10 @@ module Docs · 52 unmodified lines
53 node.content = node.content53 node.content = node.content
54 end54 end
55 55
56 css('pre.programlisting').each do |node|
57 node['data-language'] = 'php'
58 end
59
56 doc60 doc
57 end61 end
58 end62 end
lib/docs/scrapers/phpunit.rb+1−1
@@ -24,7 +24,7 @@ module Docs · 23 unmodified lines
24 HTML24 HTML
25 25
26 version '5' do26 version '5' do
27 self.release = '5.2'27 self.release = '5.4'
28 self.base_url = "https://phpunit.de/manual/#{release}/en/"28 self.base_url = "https://phpunit.de/manual/#{release}/en/"
29 end29 end
30 30