mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 16:24:00 +02:00
Merge pull request #117 from lucasmichot/feature/master/phpunit-autoload
Let phpunit load autoload.php
This commit is contained in:
@@ -10,3 +10,5 @@ php:
|
|||||||
# This triggers builds to run on the new TravisCI infrastructure.
|
# This triggers builds to run on the new TravisCI infrastructure.
|
||||||
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
install: travis_retry composer install --no-interaction --prefer-source
|
@@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<phpunit processIsolation="false"
|
<phpunit bootstrap="vendor/autoload.php"
|
||||||
|
processIsolation="false"
|
||||||
stopOnFailure="false"
|
stopOnFailure="false"
|
||||||
syntaxCheck="false">
|
syntaxCheck="false">
|
||||||
<testsuites>
|
<testsuites>
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require __DIR__ . '/../src/Create.php';
|
|
||||||
|
|
||||||
use function Stringy\create as s;
|
use function Stringy\create as s;
|
||||||
|
|
||||||
class CreateTestCase extends PHPUnit_Framework_TestCase
|
class CreateTestCase extends PHPUnit_Framework_TestCase
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require __DIR__ . '/../src/StaticStringy.php';
|
|
||||||
|
|
||||||
use Stringy\StaticStringy as S;
|
use Stringy\StaticStringy as S;
|
||||||
|
|
||||||
class StaticStringyTestCase extends PHPUnit_Framework_TestCase
|
class StaticStringyTestCase extends PHPUnit_Framework_TestCase
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require __DIR__ . '/../src/Stringy.php';
|
|
||||||
|
|
||||||
use Stringy\Stringy as S;
|
use Stringy\Stringy as S;
|
||||||
|
|
||||||
class StringyTestCase extends PHPUnit_Framework_TestCase
|
class StringyTestCase extends PHPUnit_Framework_TestCase
|
||||||
|
Reference in New Issue
Block a user