mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Merge pull request #70 from indygriffiths/php7.2
Remove reference to Object with SS_Object
This commit is contained in:
commit
8ea5c26198
17
.travis.yml
17
.travis.yml
@ -4,19 +4,18 @@ language: php
|
||||
|
||||
sudo: false
|
||||
|
||||
php:
|
||||
- 5.5
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- DB=MYSQL CORE_RELEASE=3.4
|
||||
- DB=MYSQL CORE_RELEASE=3.7
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 5.3
|
||||
env: DB=MYSQL CORE_RELEASE=3.3
|
||||
- php: 5.5
|
||||
env: DB=MYSQL CORE_RELEASE=3
|
||||
- php: 7.1
|
||||
env: DB=MYSQL CORE_RELEASE=3.7
|
||||
- php: 7.2
|
||||
env: DB=MYSQL CORE_RELEASE=3.7
|
||||
- php: 7.3
|
||||
env: DB=MYSQL CORE_RELEASE=3.7
|
||||
|
||||
before_script:
|
||||
- phpenv rehash
|
||||
@ -25,4 +24,4 @@ before_script:
|
||||
- cd ~/builds/ss
|
||||
|
||||
script:
|
||||
- phpunit testsession/tests/unit/
|
||||
- vendor/bin/phpunit testsession/tests/unit/
|
||||
|
@ -25,3 +25,7 @@ if(class_exists('Resque_Event') && class_exists('SSResqueRun')) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (!class_exists('SS_Object')) {
|
||||
class_alias('Object', 'SS_Object');
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
*
|
||||
* See {@link $state} for default information stored in the test session.
|
||||
*/
|
||||
class TestSessionEnvironment extends Object
|
||||
class TestSessionEnvironment extends SS_Object
|
||||
{
|
||||
|
||||
/**
|
||||
|
@ -13,7 +13,7 @@
|
||||
],
|
||||
"require": {
|
||||
"composer/installers": "*",
|
||||
"silverstripe/framework": "^3.2"
|
||||
"silverstripe/framework": "^3.7"
|
||||
},
|
||||
"minimum-stability": "dev"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user