Skip to content

Commit 104f4be

Browse files
committed
Update PHPUnit documentation (13.2)
1 parent 8cfaf86 commit 104f4be

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

lib/docs/scrapers/phpunit.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,22 @@ class Phpunit < UrlScraper
1717
options[:title] = false
1818

1919
options[:attribution] = <<-HTML
20-
&copy; 2005&ndash;2025 Sebastian Bergmann<br>
20+
&copy; 2005&ndash;2026 Sebastian Bergmann<br>
2121
Licensed under the Creative Commons Attribution 3.0 Unported License.
2222
HTML
2323

2424
FILTERS = %w(phpunit/clean_html phpunit/entries title)
2525

2626
version do
27+
self.release = '13.2'
28+
self.base_url = "https://docs.phpunit.de/en/#{release}/"
29+
30+
html_filters.push FILTERS
31+
32+
options[:container] = '.document'
33+
end
34+
35+
version '12' do
2736
self.release = '12.5'
2837
self.base_url = "https://docs.phpunit.de/en/#{release}/"
2938

0 commit comments

Comments
 (0)