diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee
index 58a56225..0a3deaaf 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -316,7 +316,7 @@ credits = [
'https://creativecommons.org/licenses/by/3.0/'
], [
'PHPUnit',
- '2005-2015 Sebastian Bergmann',
+ '2005-2016 Sebastian Bergmann',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
], [
diff --git a/assets/stylesheets/pages/_phpunit.scss b/assets/stylesheets/pages/_phpunit.scss
index 47130f61..21784413 100644
--- a/assets/stylesheets/pages/_phpunit.scss
+++ b/assets/stylesheets/pages/_phpunit.scss
@@ -1,9 +1,5 @@
._phpunit {
- > h2 { @extend %block-heading; }
- > h3 { @extend %block-label, %label-blue; }
- > h4 { font-size: 1em; }
-
- > p > code { @extend %label; }
+ @extend %simple;
.warning, .alert {
@extend %note;
diff --git a/lib/docs/scrapers/phpunit.rb b/lib/docs/scrapers/phpunit.rb
index 4f7b27d2..f8623e5f 100644
--- a/lib/docs/scrapers/phpunit.rb
+++ b/lib/docs/scrapers/phpunit.rb
@@ -2,8 +2,6 @@ module Docs
class Phpunit < UrlScraper
self.name = 'PHPUnit'
self.type = 'phpunit'
- self.release = '5.1'
- self.base_url = "https://phpunit.de/manual/#{release}/en/"
self.root_path = 'index.html'
self.links = {
home: 'https://phpunit.de/',
@@ -21,8 +19,18 @@ module Docs
appendixes.copyright.html)
options[:attribution] = <<-HTML
- © 2005–2015 Sebastian Bergmann
+ © 2005–2016 Sebastian Bergmann
Licensed under the Creative Commons Attribution 3.0 Unported License.
HTML
+
+ version '5' do
+ self.release = '5.2'
+ self.base_url = "https://phpunit.de/manual/#{release}/en/"
+ end
+
+ version '4' do
+ self.release = '4.8'
+ self.base_url = "https://phpunit.de/manual/#{release}/en/"
+ end
end
end