Commit:    1c9eef526724d1ea42381eabfcfe7a649bf592b6
Author:    Peter Kokot <[email protected]>         Tue, 21 May 2019 01:34:00 
+0200
Parents:   f762db348dc0ef698bdbd3cd4c95530b1266e027
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=1c9eef526724d1ea42381eabfcfe7a649bf592b6

Log:
Upgrade to PHP 7.3

Application now also support PHP 7.3 as a minimum for future code
changes.

Changed paths:
  M  composer.json
  M  composer.lock
  M  www/fix.php


Diff:
diff --git a/composer.json b/composer.json
index c32eeda..64ea11e 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
         "rss": "https://bugs.php.net/rss";
     },
     "require": {
-        "php": "^7.2",
+        "php": "^7.3",
         "ext-fileinfo": "*",
         "ext-json": "*",
         "ext-mbstring": "*",
diff --git a/composer.lock b/composer.lock
index 63aa327..c2e6783 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at 
https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies";,
         "This file is @generated automatically"
     ],
-    "content-hash": "dba2ed92613c9c0acb06a57f86464228",
+    "content-hash": "17ababe7c83360ac61eb5e7adc7d9024",
     "packages": [],
     "packages-dev": [
         {
@@ -1487,7 +1487,7 @@
     "prefer-stable": false,
     "prefer-lowest": false,
     "platform": {
-        "php": "^7.2",
+        "php": "^7.3",
         "ext-fileinfo": "*",
         "ext-json": "*",
         "ext-mbstring": "*",
diff --git a/www/fix.php b/www/fix.php
index 4a11487..1c0d36e 100644
--- a/www/fix.php
+++ b/www/fix.php
@@ -43,7 +43,7 @@ $reasonRepository = $container->get(ReasonRepository::class);
 list($RESOLVE_REASONS, $FIX_VARIATIONS) = 
$reasonRepository->findByProject($site);
 
 // Handle reason / comments
-$reason = filter_var($_REQUEST['r'], FILTER_SANITIZE_STRING);
+$reason = isset($_REQUEST['r']) ? filter_var($_REQUEST['r'], 
FILTER_SANITIZE_STRING) : '';
 $ncomment = isset($_POST['ncomment']) ? trim($_POST['ncomment']) : '';
 
 if (!$reason || !isset($RESOLVE_REASONS[$reason])) {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to