Skip to content

Commit a102a16

Browse files
committed
Update PHP documentation (8.5)
1 parent c72ee1a commit a102a16

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/docs/filters/php/clean_html.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Php
44
class CleanHtmlFilter < Filter
55

66
def call
7+
@doc = at_css('#layout-content')
78
root_page? ? root : other
89
doc
910
end

lib/docs/scrapers/php.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Php < FileScraper
55

66
self.name = 'PHP'
77
self.type = 'php'
8-
self.release = '8.4'
8+
self.release = '8.5'
99
self.base_url = 'https://www.php.net/manual/en/'
1010
self.root_path = 'index.html'
1111
self.initial_paths = %w(
@@ -62,7 +62,7 @@ class Php < FileScraper
6262
options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]
6363

6464
options[:attribution] = <<-HTML
65-
&copy; 1997&ndash;2024 The PHP Documentation Group<br>
65+
&copy; 1997&ndash;2025 The PHP Documentation Group<br>
6666
Licensed under the Creative Commons Attribution License v3.0 or later.
6767
HTML
6868

0 commit comments

Comments
 (0)