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
4 class CleanHtmlFilter < Filter4 class CleanHtmlFilter < Filter
5 5
6 def call6 def call
7 @doc = at_css('#layout-content')
7 root_page? ? root : other8 root_page? ? root : other
8 doc9 doc
9 end10 end
lib/docs/scrapers/php.rb+2−2
@@ -5,7 +5,7 @@ module Docs · 4 unmodified lines
5 5
6 self.name = 'PHP'6 self.name = 'PHP'
7 self.type = 'php'7 self.type = 'php'
8 self.release = '8.4'8 self.release = '8.5'
9 self.base_url = 'https://www.php.net/manual/en/'9 self.base_url = 'https://www.php.net/manual/en/'
10 self.root_path = 'index.html'10 self.root_path = 'index.html'
11 self.initial_paths = %w(11 self.initial_paths = %w(
@@ -62,7 +62,7 @@ module Docs · 50 unmodified lines
62 options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]62 options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]
63 63
64 options[:attribution] = <<-HTML64 options[:attribution] = <<-HTML
65 &copy; 1997&ndash;2024 The PHP Documentation Group<br>65 &copy; 1997&ndash;2025 The PHP Documentation Group<br>
66 Licensed under the Creative Commons Attribution License v3.0 or later.66 Licensed under the Creative Commons Attribution License v3.0 or later.
67 HTML67 HTML
68 68

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