Просмотр исходного кода

Update PHP documentation (7.2.2)

Thibaut Courouble 7 лет назад
Родитель
Сommit
972ed81acc
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 2 2
      lib/docs/scrapers/php.rb

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -522,7 +522,7 @@ credits = [
     'https://raw.githubusercontent.com/phoenixframework/phoenix/master/LICENSE.md'
   ], [
     'PHP',
-    '1997-2017 The PHP Documentation Group',
+    '1997-2018 The PHP Documentation Group',
     'CC BY',
     'https://secure.php.net/manual/en/copyright.php'
   ], [

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

@@ -4,7 +4,7 @@ module Docs
 
     self.name = 'PHP'
     self.type = 'php'
-    self.release = '7.1.12'
+    self.release = '7.2.2'
     self.base_url = 'https://secure.php.net/manual/en/'
     self.root_path = 'index.html'
     self.initial_paths = %w(
@@ -64,7 +64,7 @@ module Docs
     options[:skip_patterns] = [/mysqlnd/]
 
     options[:attribution] = <<-HTML
-      &copy; 1997&ndash;2017 The PHP Documentation Group<br>
+      &copy; 1997&ndash;2018 The PHP Documentation Group<br>
       Licensed under the Creative Commons Attribution License v3.0 or later.
     HTML
   end