History

Update PHP documentation (7.1.3)

Closes #598.

Thibaut Courouble committed 9 years ago

Commit 30f38991 parent ad5b6db4 files · +11 −9Browse files

Unified · Split

4 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. lib/docs/filters/php/clean_html.rb +1 −1
  3. lib/docs/filters/php/entries.rb +3 −1
  4. lib/docs/scrapers/php.rb +5 −5
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -446,9 +446,9 @@ credits = [ · 445 unmodified lines
446 'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'446 'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'
447 ], [447 ], [
448 'PHP',448 'PHP',
449 '1997-2016 The PHP Documentation Group',449 '1997-2017 The PHP Documentation Group',
450 'CC BY',450 'CC BY',
451 'https://creativecommons.org/licenses/by/3.0/'451 'https://secure.php.net/manual/en/copyright.php'
452 ], [452 ], [
453 'PHPUnit',453 'PHPUnit',
454 '2005-2016 Sebastian Bergmann',454 '2005-2016 Sebastian Bergmann',
lib/docs/filters/php/clean_html.rb+1−1
@@ -43,7 +43,7 @@ module Docs · 42 unmodified lines
43 node.name = 'h1'43 node.name = 'h1'
44 end44 end
45 45
46 css('div.partintro', 'div.section').each do |node|46 css('div.partintro', 'div.section', 'h1 a').each do |node|
47 node.before(node.children).remove47 node.before(node.children).remove
48 end48 end
49 49
lib/docs/filters/php/entries.rb+3−1
@@ -10,8 +10,9 @@ module Docs · 9 unmodified lines
10 'Ds' => 'Data Structures',10 'Ds' => 'Data Structures',
11 'ErrorException' => 'Predefined Exceptions',11 'ErrorException' => 'Predefined Exceptions',
12 'Exception' => 'Predefined Exceptions',12 'Exception' => 'Predefined Exceptions',
13 'Json' => 'JSON',
14 'Http' => 'HTTP',13 'Http' => 'HTTP',
14 'Json' => 'JSON',
15 'Lua' => 'Lua',
15 'Mutex' => 'pthreads',16 'Mutex' => 'pthreads',
16 'php_user_filter' => 'Stream',17 'php_user_filter' => 'Stream',
17 'Pool' => 'pthreads',18 'Pool' => 'pthreads',
@@ -26,6 +27,7 @@ module Docs · 8 unmodified lines
26 'streamWrapper' => 'Stream',27 'streamWrapper' => 'Stream',
27 'Thread' => 'pthreads',28 'Thread' => 'pthreads',
28 'tidy' => 'Tidy',29 'tidy' => 'Tidy',
30 'V8' => 'V8Js',
29 'Weak' => 'Weakref',31 'Weak' => 'Weakref',
30 'Worker' => 'pthreads',32 'Worker' => 'pthreads',
31 'XsltProcessor' => 'XSLT',33 'XsltProcessor' => 'XSLT',
lib/docs/scrapers/php.rb+5−5
@@ -4,7 +4,7 @@ module Docs · 3 unmodified lines
4 4
5 self.name = 'PHP'5 self.name = 'PHP'
6 self.type = 'php'6 self.type = 'php'
7 self.release = 'up to 7.1.0'7 self.release = 'up to 7.1.3'
8 self.base_url = 'https://secure.php.net/manual/en/'8 self.base_url = 'https://secure.php.net/manual/en/'
9 self.root_path = 'index.html'9 self.root_path = 'index.html'
10 self.initial_paths = %w(10 self.initial_paths = %w(
@@ -46,12 +46,12 @@ module Docs · 35 unmodified lines
46 BOOKS = %w(apache apc apcu array bc bzip2 calendar csprng classobj ctype curl46 BOOKS = %w(apache apc apcu array bc bzip2 calendar csprng classobj ctype curl
47 datetime dba dir dom ds eio errorfunc ev event exec exif fileinfo filesystem filter47 datetime dba dir dom ds eio errorfunc ev event exec exif fileinfo filesystem filter
48 ftp funchand gearman geoip gettext gmagick gmp hash iconv iisfunc image48 ftp funchand gearman geoip gettext gmagick gmp hash iconv iisfunc image
49 imagick imap info inotify intl json ldap libevent libxml mail mailparse49 imagick imap info inotify intl json judy ldap libevent libxml lua mail mailparse
50 math mbstring mcrypt memcached misc mysqli network oauth openssl50 math mbstring mcrypt memcached misc mysqli network oauth openssl
51 outcontrol password pcntl pcre pdo pgsql phar posix proctitle pthreads quickhash regex runkit51 outcontrol password pcntl pcre pdo pgsql phar posix proctitle pthreads quickhash regex runkit
52 reflection sca session sem session-pgsql shmop simplexml soap sockets solr sphinx spl52 reflection sca session sem session-pgsql shmop simplexml soap sockets solr sphinx spl
53 spl-types sqlite3 sqlsrv ssh2 stats stream strings sync taint tidy uodbc url53 spl-types sqlite3 sqlsrv ssh2 stats stream strings sync taint tidy tokenizer uodbc url
54 var varnish weakref xml xmlreader xmlrpc xmlwriter xsl yaf yar yaml zip zlib)54 v8js var varnish weakref xml xmlreader xmlrpc xmlwriter xsl yaf yar yaml zip zlib)
55 55
56 options[:only] = BOOKS.map { |s| "book.#{s}.html" }56 options[:only] = BOOKS.map { |s| "book.#{s}.html" }
57 57
@@ -64,7 +64,7 @@ module Docs · 6 unmodified lines
64 options[:skip_patterns] = [/mysqlnd/]64 options[:skip_patterns] = [/mysqlnd/]
65 65
66 options[:attribution] = <<-HTML66 options[:attribution] = <<-HTML
67 &copy; 1997&ndash;2016 The PHP Documentation Group<br>67 &copy; 1997&ndash;2017 The PHP Documentation Group<br>
68 Licensed under the Creative Commons Attribution License v3.0 or later.68 Licensed under the Creative Commons Attribution License v3.0 or later.
69 HTML69 HTML
70 end70 end

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