From 37c291f2333a62d550a2bdc699bd7fa576ad0eef Mon Sep 17 00:00:00 2001
From: Klaus Purer <klaus.purer@protonmail.ch>
Date: Sat, 4 Jan 2020 19:26:45 +0100
Subject: [PATCH] chore(composer): Drop PHP 5 support (#3047617)

---
 .travis.yml   | 11 ++++++-----
 composer.json |  4 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 30bb6e24..0cff50a3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,3 @@
-# For PHP 5.5 and lower testing we need to stick to Ubuntu 14.04.
-dist: trusty
 language: php
 sudo: false
 
@@ -9,16 +7,19 @@ cache:
     - $HOME/.composer/cache
     - vendor
 
-matrix:
+jobs:
   fast_finish: true
   include:
-    - php: 5.5
-    - php: 5.6
     - php: 7.0
+      dist: xenial
     - php: 7.1
+      dist: bionic
     - php: 7.2
+      dist: bionic
     - php: 7.3
+      dist: bionic
     - php: 7.4
+      dist: bionic
 
 before_install:
   # Speed up build time by disabling Xdebug when its not needed.
diff --git a/composer.json b/composer.json
index 417fd962..53f3f232 100644
--- a/composer.json
+++ b/composer.json
@@ -14,7 +14,7 @@
     ],
     "license": "GPL-2.0+",
     "require": {
-        "php": ">=5.5.9",
+        "php": ">=7.0.8",
         "ext-mbstring": "*",
         "squizlabs/php_codesniffer": "^3.4.1",
         "symfony/yaml": ">=2.0.5"
@@ -26,6 +26,6 @@
         }
     },
     "require-dev": {
-        "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+        "phpunit/phpunit": "^6.0 || ^7.0"
     }
 }
-- 
GitLab