History

Update PHP documentation (8.5)

Simon Legner committed 11 months ago

Commit a102a161 parent c72ee1a2 files · +3 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/php/clean_html.rb +1 −0
  2. lib/docs/scrapers/php.rb +2 −2
lib/docs/filters/php/clean_html.rb+1−0
@@ -4,6 +4,7 @@ module Docs · 3 unmodified lines
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+2−2
@@ -5,7 +5,7 @@ module Docs · 4 unmodified lines
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 @@ module Docs · 50 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t