File tree Expand file tree Collapse file tree 8 files changed +27
-21
lines changed Expand file tree Collapse file tree 8 files changed +27
-21
lines changed Original file line number Diff line number Diff line change 1+ /.gitattributes export-ignore
2+ /.gitignore export-ignore
3+ /.travis.yml export-ignore
4+ /examples / export-ignore
5+ /phpunit.xml.dist export-ignore
6+ /tests / export-ignore
Original file line number Diff line number Diff line change 11language : php
22
3- php :
4- # - 5.3 # requires old distro, see below
5- - 5.4
6- - 5.5
7- - 5.6
8- - 7.0
9- - 7.1
10- - 7.2
11- - 7.3
12-
133# lock distro so future defaults will not break the build
144dist : trusty
155
166matrix :
177 include :
188 - php : 5.3
199 dist : precise
10+ - php : 5.4
11+ - php : 5.5
12+ - php : 5.6
13+ - php : 7.0
14+ - php : 7.1
15+ - php : 7.2
16+ - php : 7.3
17+ - php : 7.4
2018
2119sudo : false
2220
Original file line number Diff line number Diff line change 1313 "autoload" : {
1414 "psr-4" : { "Clue\\ React\\ Shell\\ " : " src/" }
1515 },
16+ "autoload-dev" : {
17+ "psr-4" : { "Clue\\ Tests\\ React\\ Shell\\ " : " tests/" }
18+ },
1619 "require" : {
1720 "php" : " >=5.3" ,
1821 "react/child-process" : " ^0.5 || ^0.4 || ^0.3" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <phpunit bootstrap =" tests/bootstrap.php"
4- colors =" true"
5- convertErrorsToExceptions =" true"
6- convertNoticesToExceptions =" true"
7- convertWarningsToExceptions =" true"
8- >
3+ <phpunit bootstrap =" vendor/autoload.php" colors =" true" >
94 <testsuites >
105 <testsuite name =" Shell React Test Suite" >
116 <directory >./tests/</directory >
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use Clue \React \Shell \DeferredShell ;
46
57class DeferredShellTest extends TestCase
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use React \EventLoop \Factory ;
46use Clue \React \Shell \ProcessLauncher ;
57
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use Clue \React \Shell \ProcessLauncher ;
46
57class ProcessLauncherTest extends TestCase
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use React \EventLoop \LoopInterface ;
46use React \Promise \PromiseInterface ;
57
6- require_once __DIR__ . '/../vendor/autoload.php ' ;
7-
8- error_reporting (-1 );
9-
10- class TestCase extends PHPUnit \Framework \TestCase
8+ class TestCase extends \PHPUnit \Framework \TestCase
119{
1210 protected function expectCallableOnce ()
1311 {
You can’t perform that action at this time.
0 commit comments