Skip to content

Commit 6ee11a2

Browse files
committed
This package will be developed for PHP 7.x only.
1 parent 88ed43b commit 6ee11a2

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
language: php
22
php:
3-
- '5.4'
4-
- '5.5'
5-
- '5.6'
63
- '7.0'
74
- '7.1'
85
- nightly

build.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<project name="php-helper-code-store-mysql" default="build" basedir=".">
33
<target name="build"/>
44

5+
<!-- Run composer update -->
6+
<target name="update">
7+
<exec command="composer update" checkreturn="true" passthru="true"/>
8+
</target>
9+
510
<!-- Runs all unit tests -->
611
<target name="unit">
712
<exec command="bin/phpunit test" passthru="true" checkreturn="true"/>

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"type": "library",
1212
"license": "MIT",
1313
"require-dev": {
14-
"phpunit/phpunit": "^4.0.0 || ^5.0.0",
14+
"phpunit/phpunit": "^6.0.0",
1515
"phing/phing": "^2.0.0"
1616
},
1717
"require": {
18-
"php": ">=5.4.0",
19-
"setbased/helper-code-store": "^1.0.0"
18+
"php": ">=7.0.0",
19+
"setbased/helper-code-store": "^1.2.0"
2020
},
2121
"autoload": {
2222
"psr-4": {

test/MySqlCompoundSyntaxCodeStoreTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
//----------------------------------------------------------------------------------------------------------------------
33
namespace SetBased\Helper\CodeStore\Test;
44

5+
use PHPUnit\Framework\TestCase;
56
use SetBased\Helper\CodeStore\MySqlCompoundSyntaxCodeStore;
67

7-
//----------------------------------------------------------------------------------------------------------------------
8-
class MySqlCompoundSyntaxCodeStoreTest extends \PHPUnit_Framework_TestCase
8+
/**
9+
* Test cases for class MySqlCompoundSyntaxCodeStore.
10+
*/
11+
class MySqlCompoundSyntaxCodeStoreTest extends TestCase
912
{
1013
//--------------------------------------------------------------------------------------------------------------------
1114
/**

0 commit comments

Comments
 (0)