Bläddra i källkod

Update PHP documentation (8.3)

Simon Legner 1 år sedan
förälder
incheckning
88544ab302
2 ändrade filer med 3 tillägg och 4 borttagningar
  1. 1 2
      docs/file-scrapers.md
  2. 2 2
      lib/docs/scrapers/php.rb

+ 1 - 2
docs/file-scrapers.md

@@ -193,8 +193,7 @@ Click the link under the "Many HTML files" column on https://www.php.net/downloa
 Or run the following commands in your terminal:
 
 ```sh
-curl https://www.php.net/distributions/manual/php_manual_en.tar.gz > php.tar; \
-tar -xf php.tar; mv php-chunked-xhtml/ docs/php/
+curl https://www.php.net/distributions/manual/php_manual_en.tar.gz | tar xz; mv php-chunked-xhtml/ docs/php/
 ```
 ## Python 3.6+
 

+ 2 - 2
lib/docs/scrapers/php.rb

@@ -5,7 +5,7 @@ module Docs
 
     self.name = 'PHP'
     self.type = 'php'
-    self.release = '8.2'
+    self.release = '8.3'
     self.base_url = 'https://www.php.net/manual/en/'
     self.root_path = 'index.html'
     self.initial_paths = %w(
@@ -62,7 +62,7 @@ module Docs
     options[:skip_patterns] = [/mysqlnd/, /xdevapi/i]
 
     options[:attribution] = <<-HTML
-      &copy; 1997&ndash;2022 The PHP Documentation Group<br>
+      &copy; 1997&ndash;2023 The PHP Documentation Group<br>
       Licensed under the Creative Commons Attribution License v3.0 or later.
     HTML