Update builds to remove PHP 7 support

This commit is contained in:
Timothy Warren 2018-01-23 13:49:51 -05:00
parent 908b9f39cd
commit 516ddcd76d
4 changed files with 1 additions and 13 deletions

View File

@ -15,11 +15,6 @@ variables:
POSTGRES_USER: test POSTGRES_USER: test
POSTGRES_PASSWORD: test POSTGRES_PASSWORD: test
test:7:
image: php:7
script:
- phpunit -c build --no-coverage
test:7.1: test:7.1:
image: php:7.1 image: php:7.1
script: script:

View File

@ -3,10 +3,8 @@ sudo: false
language: php language: php
php: php:
- 7
- 7.1 - 7.1
- 7.2 - 7.2
- hhvm
- nightly - nightly
before_script: before_script:
@ -27,6 +25,4 @@ after_script:
matrix: matrix:
allow_failures: allow_failures:
- php: 7
- php: nightly - php: nightly
- php: hhvm

View File

@ -106,7 +106,7 @@ final class ConnectionManager {
{ {
return $this->connections[$name]; return $this->connections[$name];
} }
elseif (empty($name) && ! empty($this->connections)) // Otherwise, return the last one else if (empty($name) && ! empty($this->connections)) // Otherwise, return the last one
{ {
return end($this->connections); return end($this->connections);
} }

View File

@ -35,7 +35,6 @@ namespace Query\Tests {
{ {
$class = \get_class($this); $class = \get_class($this);
echo '<pre>';
echo 'Ran test suite: ' . $class . '<br />'; echo 'Ran test suite: ' . $class . '<br />';
if (method_exists($class, 'setupBeforeClass')) { if (method_exists($class, 'setupBeforeClass')) {
@ -49,8 +48,6 @@ namespace Query\Tests {
{ {
$class = \get_class($this); $class = \get_class($this);
echo '</pre>';
if (method_exists($class, 'tearDownAfterClass')) { if (method_exists($class, 'tearDownAfterClass')) {
$class::tearDownAfterClass(); $class::tearDownAfterClass();
} }