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_PASSWORD: test
test:7:
image: php:7
script:
- phpunit -c build --no-coverage
test:7.1:
image: php:7.1
script:

View File

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

View File

@ -106,7 +106,7 @@ final class ConnectionManager {
{
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);
}

View File

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