Composer update

* updated Laravel to v5.6.38
* Added laravel tinker in dev dependencies
This commit is contained in:
Manish Verma
2018-09-17 10:07:24 +05:30
committed by Manish Verma
parent be4b1231b6
commit 6742e13d81
781 changed files with 32607 additions and 942 deletions

View File

@@ -1,4 +1,5 @@
/.idea
/vendor/
/.php_cs
/.php_cs.cache
/composer.lock

View File

@@ -163,5 +163,6 @@ return PhpCsFixer\Config::create()
PhpCsFixer\Finder::create()
->files()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
->notName('*.phpt')
);

View File

@@ -0,0 +1,32 @@
language: php
sudo: false
php:
- 7.1
- 7.2
- master
env:
matrix:
- DEPENDENCIES="high"
- DEPENDENCIES="low"
global:
- DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"
before_install:
- composer self-update
- composer clear-cache
install:
- if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS; fi
- if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi
script:
- ./vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false

View File

@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
## [2.0.2] - 2018-09-13
### Fixed
* Fixed [#48](https://github.com/sebastianbergmann/php-file-iterator/issues/48): Excluding an array that contains false ends up excluding the current working directory
## [2.0.1] - 2018-06-11
### Fixed
@@ -54,6 +60,7 @@ No changes
* [Added support for wildcards (glob) in exclude](https://github.com/sebastianbergmann/php-file-iterator/pull/23)
[2.0.2]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4...master
[1.4.5]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4.4...1.4.5

View File

@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/sebastianbergmann/php-file-iterator.svg?branch=master)](https://travis-ci.org/sebastianbergmann/php-file-iterator)
# php-file-iterator
## Installation

View File

@@ -21,6 +21,9 @@
"require": {
"php": "^7.1"
},
"require-dev": {
"phpunit/phpunit": "^7.1"
},
"autoload": {
"classmap": [
"src/"
@@ -32,4 +35,3 @@
}
}
}

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.2/phpunit.xsd"
bootstrap="vendor/autoload.php"
forceCoversAnnotation="true"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>

View File

@@ -78,6 +78,6 @@ class Factory
}
}
return $_paths;
return \array_filter($_paths);
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* This file is part of php-file-iterator.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\FileIterator;
use PHPUnit\Framework\TestCase;
/**
* @covers \SebastianBergmann\FileIterator\Factory
*/
class FactoryTest extends TestCase
{
/**
* @var string
*/
private $root;
/**
* @var Factory
*/
private $factory;
protected function setUp(): void
{
$this->root = __DIR__;
$this->factory = new Factory;
}
public function testFindFilesInTestDirectory(): void
{
$iterator = $this->factory->getFileIterator($this->root, 'Test.php');
$files = \iterator_to_array($iterator);
$this->assertGreaterThanOrEqual(1, \count($files));
}
public function testFindFilesWithExcludedNonExistingSubdirectory(): void
{
$iterator = $this->factory->getFileIterator($this->root, 'Test.php', '', [$this->root . '/nonExistingDir']);
$files = \iterator_to_array($iterator);
$this->assertGreaterThanOrEqual(1, \count($files));
}
}

View File

@@ -12,9 +12,9 @@
/build/binary-phar-autoload.php
/cache.properties
/composer.lock
/tests/TextUI/*.diff
/tests/TextUI/*.exp
/tests/TextUI/*.log
/tests/TextUI/*.out
/tests/TextUI/*.php
/tests/end-to-end/*.diff
/tests/end-to-end/*.exp
/tests/end-to-end/*.log
/tests/end-to-end/*.out
/tests/end-to-end/*.php
/vendor

View File

@@ -2,6 +2,12 @@
All notable changes of the PHPUnit 6.5 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
## [6.5.13] - 2018-09-08
* Fixed [#3181](https://github.com/sebastianbergmann/phpunit/issues/3181): `--filter` should be case-insensitive
* Fixed [#3234](https://github.com/sebastianbergmann/phpunit/issues/3234): `assertArraySubset()` with `$strict=true` does not display differences properly
* Fixed [#3254](https://github.com/sebastianbergmann/phpunit/issues/3254): TextUI test runner cannot run a `Test` instance that is not a `TestSuite`
## [6.5.12] - 2018-08-22
* Fixed [#3248](https://github.com/sebastianbergmann/phpunit/issues/3248) and [#3233](https://github.com/sebastianbergmann/phpunit/issues/3233): `phpunit.xsd` dictates element order where it should not
@@ -85,6 +91,7 @@ All notable changes of the PHPUnit 6.5 release series are documented in this fil
* Fixed [#2654](https://github.com/sebastianbergmann/phpunit/issues/2654): Problems with `assertJsonStringEqualsJsonString()`
* Fixed [#2810](https://github.com/sebastianbergmann/phpunit/pull/2810): Code Coverage for PHPT tests does not work
[6.5.13]: https://github.com/sebastianbergmann/phpunit/compare/6.5.12...6.5.13
[6.5.12]: https://github.com/sebastianbergmann/phpunit/compare/6.5.11...6.5.12
[6.5.11]: https://github.com/sebastianbergmann/phpunit/compare/6.5.10...6.5.11
[6.5.10]: https://github.com/sebastianbergmann/phpunit/compare/6.5.9...6.5.10

View File

@@ -2,6 +2,20 @@
All notable changes of the PHPUnit 7.3 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
## [7.3.5] - 2018-09-08
### Fixed
* Fixed [#3181](https://github.com/sebastianbergmann/phpunit/issues/3181): `--filter` should be case-insensitive
* Fixed [#3234](https://github.com/sebastianbergmann/phpunit/issues/3234): `assertArraySubset()` with `$strict=true` does not display differences properly
* Fixed [#3254](https://github.com/sebastianbergmann/phpunit/issues/3254): TextUI test runner cannot run a `Test` instance that is not a `TestSuite`
## [7.3.4] - 2018-09-05
### Fixed
* Fixed [#3270](https://github.com/sebastianbergmann/phpunit/issues/3270): Array / Object to string conversion in `NamePrettifier`
## [7.3.3] - 2018-09-01
### Fixed
@@ -52,6 +66,8 @@ All notable changes of the PHPUnit 7.3 release series are documented in this fil
* Fixed [#3222](https://github.com/sebastianbergmann/phpunit/pull/3222): Priority of `@covers` and `@coversNothing` is wrong
* Fixed [#3225](https://github.com/sebastianbergmann/phpunit/issues/3225): `coverage-php` missing from `phpunit.xsd`
[7.3.5]: https://github.com/sebastianbergmann/phpunit/compare/7.3.4...7.3.5
[7.3.4]: https://github.com/sebastianbergmann/phpunit/compare/7.3.3...7.3.4
[7.3.3]: https://github.com/sebastianbergmann/phpunit/compare/7.3.2...7.3.3
[7.3.2]: https://github.com/sebastianbergmann/phpunit/compare/7.3.1...7.3.2
[7.3.1]: https://github.com/sebastianbergmann/phpunit/compare/7.3.0...7.3.1

View File

@@ -127,7 +127,7 @@
<copy file="${basedir}/phpunit.xsd" tofile="${basedir}/build/phar/phpunit.xsd"/>
<exec executable="${basedir}/build/phar-manifest.php" output="${basedir}/build/phar/manifest.txt"/>
<exec executable="${basedir}/build/phar-manifest.php" output="${basedir}/build/phar/manifest.txt" failonerror="true"/>
<copy file="${basedir}/vendor/phpunit/php-code-coverage/LICENSE" tofile="${basedir}/build/phar/php-code-coverage/LICENSE"/>
<copy todir="${basedir}/build/phar/php-code-coverage">
@@ -326,12 +326,12 @@
</fileset>
</copy>
<exec executable="${basedir}/build/phar-version.php" outputproperty="_version">
<exec executable="${basedir}/build/phar-version.php" outputproperty="_version" failonerror="true">
<arg value="${version}"/>
<arg value="${type}"/>
</exec>
<exec executable="${basedir}/build/tools/phpab" taskname="phpab">
<exec executable="${basedir}/build/tools/phpab" taskname="phpab" failonerror="true">
<arg value="--all" />
<arg value="--static" />
<arg value="--once" />
@@ -348,7 +348,7 @@
<copy file="${basedir}/build/binary-phar-autoload.php.in" tofile="${basedir}/build/binary-phar-autoload.php"/>
<replace file="${basedir}/build/binary-phar-autoload.php" token="X.Y.Z" value="${_version}"/>
<exec executable="${basedir}/build/tools/phpab" taskname="phpab">
<exec executable="${basedir}/build/tools/phpab" taskname="phpab" failonerror="true">
<arg value="--all" />
<arg value="--nolower" />
<arg value="--static" />
@@ -369,7 +369,7 @@
</target>
<target name="-phar-determine-version">
<exec executable="${basedir}/build/version.php" outputproperty="version" />
<exec executable="${basedir}/build/version.php" outputproperty="version" failonerror="true" />
</target>
<target name="generate-project-documentation" depends="-phploc,-checkstyle,-phpunit">

View File

@@ -45,6 +45,6 @@ parameters:
excludes_analyse:
- tests/_files/phpunit-example-extension/tests/OneTest.php
- tests/Regression/Trac/783/OneTest.php
- tests/end-to-end/regression/Trac/783/OneTest.php
- tests/_files/3194.php
- tests/_files/RouterTest.php

View File

@@ -5,16 +5,12 @@
cacheResult="true"
verbose="true">
<testsuites>
<testsuite name="small">
<directory>tests/Framework</directory>
<directory>tests/Runner</directory>
<directory>tests/Util</directory>
<testsuite name="unit">
<directory suffix="Test.php">tests/unit</directory>
</testsuite>
<testsuite name="large">
<directory suffix=".phpt">tests/Framework/MockObject/Generator</directory>
<directory suffix=".phpt">tests/TextUI</directory>
<directory suffix=".phpt">tests/Regression</directory>
<testsuite name="end-to-end">
<directory suffix=".phpt">tests/end-to-end</directory>
</testsuite>
</testsuites>

View File

@@ -78,8 +78,8 @@ class ArraySubset extends Constraint
$f = new ComparisonFailure(
$patched,
$other,
\print_r($patched, true),
\print_r($other, true)
\var_export($patched, true),
\var_export($other, true)
);
$this->fail($other, $description, $f);

View File

@@ -12,7 +12,6 @@ namespace PHPUnit\Runner\Filter;
use PHPUnit\Framework\TestSuite;
use PHPUnit\Framework\WarningTestCase;
use PHPUnit\Util\RegularExpression;
use PHPUnit\Util\Test;
use RecursiveFilterIterator;
use RecursiveIterator;
@@ -51,12 +50,12 @@ class NameFilterIterator extends RecursiveFilterIterator
return true;
}
$tmp = Test::describe($test);
$tmp = \PHPUnit\Util\Test::describe($test);
if ($test instanceof WarningTestCase) {
$name = $test->getMessage();
} else {
if ($tmp[0] != '') {
if ($tmp[0] !== '') {
$name = \implode('::', $tmp);
} else {
$name = $tmp[1];
@@ -70,7 +69,7 @@ class NameFilterIterator extends RecursiveFilterIterator
$accepted = $set >= $this->filterMin && $set <= $this->filterMax;
}
return $accepted;
return (bool) $accepted;
}
/**
@@ -111,7 +110,7 @@ class NameFilterIterator extends RecursiveFilterIterator
// Escape delimiters in regular expression. Do NOT use preg_quote,
// to keep magic characters.
$filter = \sprintf('/%s/', \str_replace(
$filter = \sprintf('/%s/i', \str_replace(
'/',
'\\/',
$filter

View File

@@ -30,7 +30,7 @@ class Version
}
if (self::$version === null) {
$version = new VersionId('7.3.3', \dirname(__DIR__, 2));
$version = new VersionId('7.3.5', \dirname(__DIR__, 2));
self::$version = $version->getVersion();
}

View File

@@ -1080,6 +1080,7 @@ Code Coverage Options:
--coverage-xml <dir> Generate code coverage report in PHPUnit XML format
--whitelist <dir> Whitelist <dir> for code coverage analysis
--disable-coverage-ignore Disable annotations for ignoring code coverage
--no-coverage Ignore code coverage configuration
Logging Options:
@@ -1151,7 +1152,6 @@ Configuration Options:
--bootstrap <file> A "bootstrap" PHP file that is run before the tests
-c|--configuration <file> Read configuration from XML file
--no-configuration Ignore default configuration file (phpunit.xml)
--no-coverage Ignore code coverage configuration
--no-logging Ignore logging configuration
--no-extensions Do not load PHPUnit extensions
--include-path <path(s)> Prepend PHP's include_path with given path(s)

View File

@@ -155,8 +155,6 @@ class TestRunner extends BaseTestRunner
$this->handleConfiguration($arguments);
$this->processSuiteFilters($suite, $arguments);
if (isset($arguments['bootstrap'])) {
$GLOBALS['__PHPUNIT_BOOTSTRAP'] = $arguments['bootstrap'];
}
@@ -575,6 +573,7 @@ class TestRunner extends BaseTestRunner
$result->setTimeoutForLargeTests($arguments['timeoutForLargeTests']);
if ($suite instanceof TestSuite) {
$this->processSuiteFilters($suite, $arguments);
$suite->setRunTestInSeparateProcess($arguments['processIsolation']);
}

View File

@@ -786,7 +786,7 @@ final class Test
throw new InvalidCoversTargetException(
\sprintf(
'Trying to @cover interface "%s".',
$className
$element
)
);
}

View File

@@ -10,6 +10,7 @@
namespace PHPUnit\Util\TestDox;
use PHPUnit\Framework\TestCase;
use SebastianBergmann\Exporter\Exporter;
/**
* Prettifies class and method names for use in TestDox documentation.
@@ -161,7 +162,27 @@ final class NamePrettifier
$i = 0;
foreach ($reflector->getParameters() as $parameter) {
$providedData['$' . $parameter->getName()] = $providedDataValues[$i++];
$value = $providedDataValues[$i++];
if (\is_object($value)) {
$reflector = new \ReflectionObject($value);
if ($reflector->hasMethod('__toString')) {
$value = (string) $value;
}
}
if (!\is_scalar($value)) {
$value = \gettype($value);
}
if (\is_bool($value) || \is_numeric($value)) {
$exporter = new Exporter;
$value = $exporter->export($value);
}
$providedData['$' . $parameter->getName()] = $value;
}
return $providedData;

View File

@@ -28,6 +28,15 @@ class DataProviderTestDoxTest extends TestCase
$this->assertTrue(true);
}
/**
* @dataProvider placeHolderprovider
* @testdox ... $value ...
*/
public function testWithPlaceholders($value): void
{
$this->assertTrue(true);
}
public function provider()
{
return [
@@ -35,4 +44,24 @@ class DataProviderTestDoxTest extends TestCase
'two' => [2]
];
}
public function placeHolderprovider(): array
{
return [
'boolean' => [true],
'integer' => [1],
'float' => [1.0],
'string' => ['string'],
'array' => [[1, 2, 3]],
'object' => [new \stdClass],
'stringableObject' => [new class {
public function __toString()
{
return 'string';
}
}],
'resource' => [\fopen(__FILE__, 'rb')],
'null' => [null]
];
}
}

View File

@@ -1,7 +1,7 @@
<phpunit>
<testsuites>
<testsuite name="One File Suite">
<file>../../tests/TextUI/debug.phpt</file>
<file>../../tests/end-to-end/debug.phpt</file>
</testsuite>
</testsuites>
</phpunit>

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit AbstractTest ../_files/AbstractTest.php
phpunit AbstractTest ../../_files/AbstractTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit AssertionExampleTest ../_files/AssertionExampleTest.php
phpunit AssertionExampleTest ../../_files/AssertionExampleTest.php
--SKIPIF--
<?php
if (PHP_MAJOR_VERSION < 7) {

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=never --coverage-text=php://stdout IgnoreCodeCoverageClassTest ../_files/IgnoreCodeCoverageClassTest.php --whitelist ../../tests/_files/IgnoreCodeCoverageClass.php
phpunit --colors=never --coverage-text=php://stdout IgnoreCodeCoverageClassTest ../../_files/IgnoreCodeCoverageClassTest.php --whitelist ../../../tests/_files/IgnoreCodeCoverageClass.php
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=never --coverage-text=php://stdout ../_files/phpt-for-coverage.phpt --whitelist ../_files/CoveredClass.php
phpunit --colors=never --coverage-text=php://stdout ../../_files/phpt-for-coverage.phpt --whitelist ../../_files/CoveredClass.php
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=always BankAccountTest ../_files/BankAccountTest.php
phpunit --colors=always BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit ConcreteTest ../_files/ConcreteTest.php
phpunit ConcreteTest ../../_files/ConcreteTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit -c ../_files/configuration.custom-printer.xml --debug BankAccountTest ../_files/BankAccountTest.php
phpunit -c ../../_files/configuration.custom-printer.xml --debug BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '-c';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit -c ../_files/configuration.custom-printer.xml --verbose IncompleteTest ../_files/IncompleteTest.php
phpunit -c ../../_files/configuration.custom-printer.xml --verbose IncompleteTest ../../_files/IncompleteTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '-c';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --debug DataProviderDebugTest ../_files/DataProviderDebugTest.php
phpunit --debug DataProviderDebugTest ../../_files/DataProviderDebugTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit ../_files/DataProviderIssue2833
phpunit ../../_files/DataProviderIssue2833
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit -c ../_files/DataProviderIssue2859/phpunit.xml
phpunit -c ../../_files/DataProviderIssue2859/phpunit.xml
--FILE--
<?php
$_SERVER['argv'][1] = '-c';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --exclude-group=foo ../_files/DataProviderIssue2922
phpunit --exclude-group=foo ../../_files/DataProviderIssue2922
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
phpunit --process-isolation --log-junit php://stdout DataProviderTest ../../_files/DataProviderTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
phpunit --log-junit php://stdout DataProviderTest ../../_files/DataProviderTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit DataProviderTestDoxTest ../_files/DataProviderTestDoxTest.php
phpunit DataProviderTestDoxTest ../../_files/DataProviderTestDoxTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
@@ -17,7 +17,16 @@ DataProviderTestDox
✔ Does something with data set "two"
✔ Does something else with data set "one"
✔ Does something else with data set "two"
✔ ... true ...
✔ ... 1 ...
✔ ... 1.0 ...
✔ ... string ...
✔ ... array ...
✔ ... object ...
✔ ... string ...
✔ ... resource ...
✔ ... NULL ...
Time: %s, Memory: %s
OK (4 tests, 4 assertions)
OK (13 tests, 13 assertions)

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --debug BankAccountTest ../_files/BankAccountTest.php
phpunit --debug BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit BankAccountTest ../_files/BankAccountTest.php
phpunit BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --verbose ClonedDependencyTest ../_files/ClonedDependencyTest.php
phpunit --verbose ClonedDependencyTest ../../_files/ClonedDependencyTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --verbose DependencyTestSuite ../_files/DependencyTestSuite.php
phpunit --process-isolation --verbose DependencyTestSuite ../../_files/DependencyTestSuite.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --verbose DependencyTestSuite ../_files/DependencyTestSuite.php
phpunit --verbose DependencyTestSuite ../../_files/DependencyTestSuite.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation StackTest ../_files/StackTest.php
phpunit --process-isolation StackTest ../../_files/StackTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit StackTest ../_files/StackTest.php
phpunit StackTest ../../_files/StackTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation MultiDependencyTest ../_files/MultiDependencyTest.php
phpunit --process-isolation MultiDependencyTest ../../_files/MultiDependencyTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit MultiDependencyTest ../_files/MultiDependencyTest.php
phpunit MultiDependencyTest ../../_files/MultiDependencyTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=never --coverage-text=php://stdout --disable-coverage-ignore IgnoreCodeCoverageClassTest tests/_files/IgnoreCodeCoverageClassTest.php --whitelist ../../tests/_files/IgnoreCodeCoverageClass.php
phpunit --colors=never --coverage-text=php://stdout --disable-coverage-ignore IgnoreCodeCoverageClassTest tests/_files/IgnoreCodeCoverageClassTest.php --whitelist ../../../tests/_files/IgnoreCodeCoverageClass.php
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit EmptyTestCaseTest ../_files/EmptyTestCaseTest.php
phpunit EmptyTestCaseTest ../../_files/EmptyTestCaseTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit ExceptionStackTest ../_files/ExceptionStackTest.php
phpunit ExceptionStackTest ../../_files/ExceptionStackTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --exclude-group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation --exclude-group balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --exclude-group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --exclude-group balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation FailureTest ../_files/FailureTest.php
phpunit --process-isolation FailureTest ../../_files/FailureTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --reverse-list FailureTest ../_files/FailureTest.php
phpunit --reverse-list FailureTest ../../_files/FailureTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit FailureTest ../_files/FailureTest.php
phpunit FailureTest ../../_files/FailureTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit FatalTest --process-isolation ../_files/FatalTest.php
phpunit FatalTest --process-isolation ../../_files/FatalTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter BankAccountTest BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation --filter BankAccountTest BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter BankAccountTest BankAccountTest ../_files/BankAccountTest.php
phpunit --filter BankAccountTest BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testTrue#3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testTrue#3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testTrue#3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter testTrue#3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter \#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter \#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter \#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter \#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter @false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter @false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter @false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter @false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter @false\ test DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter @false\ test DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter @false\ test DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter @false\ test DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testTrue#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testTrue#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testTrue#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter testTrue#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testFalse@false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testFalse@false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testFalse@false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter testFalse@false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testFalse@false\ test DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testFalse@false\ test DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testFalse@false\ test DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter testFalse@false\ test DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter /balanceIsInitiallyZero/i BankAccountTest ../_files/BankAccountTest.php
phpunit --filter /balanceIsInitiallyZero/i BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --filter balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testBalanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation --filter testBalanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testBalanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --filter testBalanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --filter doesNotExist BankAccountTest ../_files/BankAccountTest.php
phpunit --filter doesNotExist BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit BankAccountTest ../_files/BankAccountTest.php
phpunit BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation --group balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --group balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

View File

@@ -23,6 +23,7 @@ Code Coverage Options:
--coverage-xml <dir> Generate code coverage report in PHPUnit XML format
--whitelist <dir> Whitelist <dir> for code coverage analysis
--disable-coverage-ignore Disable annotations for ignoring code coverage
--no-coverage Ignore code coverage configuration
Logging Options:
@@ -94,7 +95,6 @@ Configuration Options:
--bootstrap <file> A "bootstrap" PHP file that is run before the tests
-c|--configuration <file> Read configuration from XML file
--no-configuration Ignore default configuration file (phpunit.xml)
--no-coverage Ignore code coverage configuration
--no-logging Ignore logging configuration
--no-extensions Do not load PHPUnit extensions
--include-path <path(s)> Prepend PHP's include_path with given path(s)

View File

@@ -24,6 +24,7 @@ Code Coverage Options:
--coverage-xml <dir> Generate code coverage report in PHPUnit XML format
--whitelist <dir> Whitelist <dir> for code coverage analysis
--disable-coverage-ignore Disable annotations for ignoring code coverage
--no-coverage Ignore code coverage configuration
Logging Options:
@@ -95,7 +96,6 @@ Configuration Options:
--bootstrap <file> A "bootstrap" PHP file that is run before the tests
-c|--configuration <file> Read configuration from XML file
--no-configuration Ignore default configuration file (phpunit.xml)
--no-coverage Ignore code coverage configuration
--no-logging Ignore logging configuration
--no-extensions Do not load PHPUnit extensions
--include-path <path(s)> Prepend PHP's include_path with given path(s)

View File

@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation -d default_mimetype=application/x-test IniTest ../_files/IniTest.php
phpunit --process-isolation -d default_mimetype=application/x-test IniTest ../../_files/IniTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';

Some files were not shown because too many files have changed in this diff Show More