Skip to content

Commit 57865a6

Browse files
committed
Update PHP documentation (8.1)
1 parent 489975d commit 57865a6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ credits = [
643643
'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'
644644
], [
645645
'PHP',
646-
'1997-2018 The PHP Documentation Group',
646+
'1997-2021 The PHP Documentation Group',
647647
'CC BY',
648648
'https://secure.php.net/manual/en/copyright.php'
649649
], [

docs/file-scrapers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@ bsdtar xf pandas.zip
173173
```
174174

175175
## PHP
176-
Click the link under the "Many HTML files" column on https://www.php.net/download-docs.php, extract the tarball, change its name to `php` and put it in `/path/to/devdocs/docs/`.
176+
Click the link under the "Many HTML files" column on https://www.php.net/download-docs.php, extract the tarball, change its name to `php` and put it in `docs/`.
177177

178178
Or run the following commands in your terminal:
179179

180180
```sh
181181
curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \
182-
tar -xf php.tar; mv php-chunked-xhtml/ path/to/devdocs/docs/php/
182+
tar -xf php.tar; mv php-chunked-xhtml/ docs/php/
183183
```
184184
## Python 3.6+
185185

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.0'
8+
self.release = '8.1'
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;2020 The PHP Documentation Group<br>
65+
&copy; 1997&ndash;2021 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)