Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sebastianbergmann/phpunit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.8.6
Choose a base ref
...
head repository: sebastianbergmann/phpunit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.8.7
Choose a head ref
  • 9 commits
  • 81 files changed
  • 2 contributors

Commits on Aug 30, 2015

  1. Copy the full SHA
    b10807c View commit details
  2. Fix CS/WS issues

    sebastianbergmann committed Aug 30, 2015
    Copy the full SHA
    138b5de View commit details
  3. Copy the full SHA
    b291d68 View commit details

Commits on Aug 31, 2015

  1. Tweak

    sebastianbergmann committed Aug 31, 2015
    Copy the full SHA
    3056e2f View commit details
  2. Copy the full SHA
    ee20368 View commit details
  3. Copy the full SHA
    e813a37 View commit details

Commits on Sep 2, 2015

  1. Copy the full SHA
    c0a9c60 View commit details

Commits on Sep 5, 2015

  1. Copy the full SHA
    4737765 View commit details

Commits on Sep 14, 2015

  1. Prepare release

    sebastianbergmann committed Sep 14, 2015
    Copy the full SHA
    dab2ada View commit details
Showing with 190 additions and 108 deletions.
  1. +44 −0 .php_cs
  2. +31 −5 CONTRIBUTING.md
  3. +5 −0 ChangeLog-4.8.md
  4. +16 −8 README.md
  5. +1 −1 src/Runner/Version.php
  6. +0 −1 src/Util/Blacklist.php
  7. +1 −1 tests/Regression/1021.phpt
  8. +1 −1 tests/Regression/523.phpt
  9. +1 −1 tests/Regression/578.phpt
  10. +1 −1 tests/Regression/684.phpt
  11. +1 −1 tests/Regression/783.phpt
  12. +1 −1 tests/Regression/GitHub/1149.phpt
  13. +2 −2 tests/Regression/GitHub/1216.phpt
  14. +2 −2 tests/Regression/GitHub/1265.phpt
  15. +2 −2 tests/Regression/GitHub/1330.phpt
  16. +2 −2 tests/Regression/GitHub/1335.phpt
  17. +1 −1 tests/Regression/GitHub/1337.phpt
  18. +5 −5 tests/Regression/GitHub/1348.phpt
  19. +1 −1 tests/Regression/GitHub/1374.phpt
  20. +1 −1 tests/Regression/GitHub/1437.phpt
  21. +1 −1 tests/Regression/GitHub/244.phpt
  22. +2 −2 tests/Regression/GitHub/322.phpt
  23. +1 −1 tests/Regression/GitHub/433.phpt
  24. +1 −1 tests/Regression/GitHub/445.phpt
  25. +1 −1 tests/Regression/GitHub/498.phpt
  26. +1 −1 tests/Regression/GitHub/503.phpt
  27. +1 −1 tests/Regression/GitHub/581.phpt
  28. +1 −1 tests/Regression/GitHub/74.phpt
  29. +1 −1 tests/Regression/GitHub/765.phpt
  30. +4 −4 tests/Regression/GitHub/797.phpt
  31. +1 −1 tests/Regression/GitHub/873-php5.phpt
  32. +1 −1 tests/Regression/GitHub/873-php7.phpt
  33. +1 −1 tests/TextUI/colors-always.phpt
  34. +2 −2 tests/TextUI/custom-printer-debug.phpt
  35. +2 −2 tests/TextUI/custom-printer-verbose.phpt
  36. +1 −1 tests/TextUI/dataprovider-debug.phpt
  37. +1 −1 tests/TextUI/debug.phpt
  38. +1 −1 tests/TextUI/default-isolation.phpt
  39. +1 −1 tests/TextUI/default.phpt
  40. +1 −1 tests/TextUI/exclude-group-isolation.phpt
  41. +1 −1 tests/TextUI/exclude-group.phpt
  42. +1 −1 tests/TextUI/filter-class-isolation.phpt
  43. +1 −1 tests/TextUI/filter-class.phpt
  44. +1 −1 tests/TextUI/filter-dataprovider-by-classname-and-range-isolation.phpt
  45. +1 −1 tests/TextUI/filter-dataprovider-by-classname-and-range.phpt
  46. +1 −1 tests/TextUI/filter-dataprovider-by-number-isolation.phpt
  47. +1 −1 tests/TextUI/filter-dataprovider-by-number.phpt
  48. +1 −1 tests/TextUI/filter-dataprovider-by-only-range-isolation.phpt
  49. +1 −1 tests/TextUI/filter-dataprovider-by-only-range.phpt
  50. +1 −1 tests/TextUI/filter-dataprovider-by-only-regexp-isolation.phpt
  51. +1 −1 tests/TextUI/filter-dataprovider-by-only-regexp.phpt
  52. +1 −1 tests/TextUI/filter-dataprovider-by-only-string-isolation.phpt
  53. +1 −1 tests/TextUI/filter-dataprovider-by-only-string.phpt
  54. +1 −1 tests/TextUI/filter-dataprovider-by-range-isolation.phpt
  55. +1 −1 tests/TextUI/filter-dataprovider-by-range.phpt
  56. +1 −1 tests/TextUI/filter-dataprovider-by-regexp-isolation.phpt
  57. +1 −1 tests/TextUI/filter-dataprovider-by-regexp.phpt
  58. +1 −1 tests/TextUI/filter-dataprovider-by-string-isolation.phpt
  59. +1 −1 tests/TextUI/filter-dataprovider-by-string.phpt
  60. +1 −1 tests/TextUI/filter-method-case-insensitive.phpt
  61. +1 −1 tests/TextUI/filter-method-case-sensitive-no-result.phpt
  62. +1 −1 tests/TextUI/filter-method-isolation.phpt
  63. +1 −1 tests/TextUI/filter-method.phpt
  64. +1 −1 tests/TextUI/filter-no-results.phpt
  65. +1 −1 tests/TextUI/group-isolation.phpt
  66. +1 −1 tests/TextUI/group.phpt
  67. +1 −1 tests/TextUI/list-groups.phpt
  68. +1 −1 tests/TextUI/log-json-no-pretty-print.phpt
  69. +3 −3 tests/TextUI/log-json-post-66021.phpt
  70. +3 −3 tests/TextUI/log-json-pre-66021.phpt
  71. +1 −1 tests/TextUI/log-tap.phpt
  72. +1 −1 tests/TextUI/log-xml.phpt
  73. +1 −1 tests/TextUI/options-after-arguments.phpt
  74. +1 −1 tests/TextUI/output-isolation.phpt
  75. +1 −1 tests/TextUI/repeat.phpt
  76. +1 −1 tests/TextUI/tap.phpt
  77. +1 −1 tests/TextUI/test-suffix-multiple.phpt
  78. +1 −1 tests/TextUI/test-suffix-single.phpt
  79. +1 −1 tests/TextUI/testdox-html.phpt
  80. +1 −1 tests/TextUI/testdox-text.phpt
  81. +1 −1 tests/TextUI/testdox.phpt
44 changes: 44 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->files()
->in('build')
->in('src')
->in('tests')
->name('*.php')
->name('*.phpt');

return Symfony\CS\Config\Config::create()
->level(\Symfony\CS\FixerInterface::NONE_LEVEL)
->fixers(
array(
'duplicate_semicolon',
'empty_return',
'extra_empty_lines',
'join_function',
'list_commas',
'no_blank_lines_after_class_opening',
'no_empty_lines_after_phpdocs',
'phpdoc_indent',
'phpdoc_no_access',
'phpdoc_no_empty_return',
'phpdoc_no_package',
'phpdoc_params',
'phpdoc_scalar',
'phpdoc_to_comment',
'phpdoc_trim',
'return',
'self_accessor',
'single_quote',
'spaces_before_semicolon',
'spaces_cast',
'ternary_spaces',
'trim_array_spaces',
'unused_use',
'whitespacy_lines',
'align_double_arrow',
'align_equals',
'concat_with_spaces'
)
)
->finder($finder);

36 changes: 31 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,57 @@
# Contributing to PHPUnit

## Contributor Code of Conduct

Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

## Workflow

* Fork the project.
* Make your bug fix or feature addition.
* Add tests for it. This is important so we don't break it in a future version unintentionally.
* Send a pull request. Bonus points for topic branches.

Please make sure that you have [set up your user name and email address](http://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup) for use with Git. Strings such as `silly nick name <root@localhost>` look really stupid in the commit history of a project.

Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be based on `master`.

We are trying to keep backwards compatibility breaks in PHPUnit to an absolute minimum. Please take this into account when proposing changes.

Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us if you feel that we forgot to respond.

## Coding Guidelines

This project comes with a configuration file for [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) (`.php_cs`) that you can use to (re)format your sourcecode for compliance with this project's coding guidelines:

```bash
$ wget http://get.sensiolabs.org/php-cs-fixer.phar

$ php php-cs-fixer.phar fix
```

## Using PHPUnit from a Git checkout

The following commands can be used to perform the initial checkout of PHPUnit:

git clone git://github.com/sebastianbergmann/phpunit.git
cd phpunit
```bash
$ git clone git://github.com/sebastianbergmann/phpunit.git

$ cd phpunit
```

Retrieve PHPUnit's dependencies using [Composer](http://getcomposer.org/):

wget http://getcomposer.org/composer.phar
php composer.phar install
```bash
$ wget http://getcomposer.org/composer.phar

$ php composer.phar install
```

The `phpunit` script can be used to invoke the PHPUnit test runner:

The `phpunit` script can be used to invoke the PHPUnit test runner.
```bash
$ ./phpunit --version
```

## Reporting issues

5 changes: 5 additions & 0 deletions ChangeLog-4.8.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@

All notable changes of the PHPUnit 4.8 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [4.8.7] - 2015-09-14

New PHAR release due to updated dependencies

## [4.8.6] - 2015-08-24

### Fixed
@@ -53,6 +57,7 @@ All notable changes of the PHPUnit 4.8 release series are documented in this fil
* Made the argument check of `assertContains()` and `assertNotContains()` more strict to prevent undefined behavior such as [#1808](https://github.com/sebastianbergmann/phpunit/issues/1808)
* Changed the name of the default group from `__nogroup__` to `default`

[4.8.7]: https://github.com/sebastianbergmann/phpunit/compare/4.8.6...4.8.7
[4.8.6]: https://github.com/sebastianbergmann/phpunit/compare/4.8.5...4.8.6
[4.8.5]: https://github.com/sebastianbergmann/phpunit/compare/4.8.4...4.8.5
[4.8.4]: https://github.com/sebastianbergmann/phpunit/compare/4.8.3...4.8.4
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,23 +2,31 @@

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/4.8.svg?style=flat-square)](https://travis-ci.org/sebastianbergmann/phpunit)
[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.3.3-8892BF.svg?style=flat-square)](https://php.net/)
[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/4.8.svg?style=flat-square)](https://travis-ci.org/sebastianbergmann/phpunit)

## Installation

We distribute a [PHP Archive (PHAR)](http://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:

```bash
$ wget https://phar.phpunit.de/phpunit.phar

wget https://phar.phpunit.de/phpunit.phar
chmod +x phpunit.phar
mv phpunit.phar /usr/local/bin/phpunit
$ chmod +x phpunit.phar

$ mv phpunit.phar /usr/local/bin/phpunit
```

You can also immediately use the PHAR after you have downloaded it, of course:

wget https://phar.phpunit.de/phpunit.phar
php phpunit.phar
```bash
$ wget https://phar.phpunit.de/phpunit.phar

$ php phpunit.phar
```

Alternatively, you may use [Composer](http://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this.
Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this.

## Contribute

2 changes: 1 addition & 1 deletion src/Runner/Version.php
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ public static function id()
}

if (self::$version === null) {
$version = new SebastianBergmann\Version('4.8.6', dirname(dirname(__DIR__)));
$version = new SebastianBergmann\Version('4.8.7', dirname(dirname(__DIR__)));
self::$version = $version->getVersion();
}

1 change: 0 additions & 1 deletion src/Util/Blacklist.php
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@ class PHPUnit_Util_Blacklist
'PHPUnit_Extensions_Database_TestCase' => 2,
'PHPUnit_Framework_MockObject_Generator' => 2,
'PHPUnit_Extensions_SeleniumTestCase' => 2,
'PHPUnit_Extensions_Story_TestCase' => 2,
'Text_Template' => 1,
'Symfony\Component\Yaml\Yaml' => 1,
'SebastianBergmann\Diff\Diff' => 1,
2 changes: 1 addition & 1 deletion tests/Regression/1021.phpt
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1021Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/1021/Issue1021Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1021/Issue1021Test.php';

require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/523.phpt
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue523Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/523/Issue523Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/523/Issue523Test.php';

require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/578.phpt
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue578Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/578/Issue578Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/578/Issue578Test.php';

require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/684.phpt
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue684Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/684/Issue684Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/684/Issue684Test.php';

require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/783.phpt
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'foo,bar';
$_SERVER['argv'][4] = 'ParentSuite';
$_SERVER['argv'][5] = dirname(__FILE__).'/783/ParentSuite.php';
$_SERVER['argv'][5] = dirname(__FILE__) . '/783/ParentSuite.php';

require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/1149.phpt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ GH-1149: Test swallows output buffer when run in a separate process

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1149Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/1149/Issue1149Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1149/Issue1149Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
4 changes: 2 additions & 2 deletions tests/Regression/GitHub/1216.phpt
Original file line number Diff line number Diff line change
@@ -4,10 +4,10 @@ GH-1216: PHPUnit bootstrap must take globals vars even when the file is specifie
<?php

$_SERVER['argv'][1] = '--configuration';
$_SERVER['argv'][2] = dirname(__FILE__).'/1216/phpunit1216.xml';
$_SERVER['argv'][2] = dirname(__FILE__) . '/1216/phpunit1216.xml';
$_SERVER['argv'][3] = '--debug';
$_SERVER['argv'][4] = '--bootstrap';
$_SERVER['argv'][5] = dirname(__FILE__).'/1216/bootstrap1216.php';
$_SERVER['argv'][5] = dirname(__FILE__) . '/1216/bootstrap1216.php';
$_SERVER['argv'][6] = dirname(__FILE__) . '/1216/Issue1216Test.php';

require __DIR__ . '/../../bootstrap.php';
4 changes: 2 additions & 2 deletions tests/Regression/GitHub/1265.phpt
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ GH-1265: Could not use "PHPUnit_Runner_StandardTestSuiteLoader" as loader
<?php

$_SERVER['argv'][1] = '--configuration';
$_SERVER['argv'][2] = dirname(__FILE__).'/1265/phpunit1265.xml';
$_SERVER['argv'][2] = dirname(__FILE__) . '/1265/phpunit1265.xml';
$_SERVER['argv'][3] = 'Issue1265Test';
$_SERVER['argv'][4] = dirname(__FILE__).'/1265/Issue1265Test.php';
$_SERVER['argv'][4] = dirname(__FILE__) . '/1265/Issue1265Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
4 changes: 2 additions & 2 deletions tests/Regression/GitHub/1330.phpt
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@ GH-1330: Allow non-ambiguous shortened longopts

$_SERVER['argv'][1] = '--deb';
$_SERVER['argv'][2] = '--config';
$_SERVER['argv'][3] = dirname(__FILE__).'/1330/phpunit1330.xml';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1330/phpunit1330.xml';
$_SERVER['argv'][4] = 'Issue1330Test';
$_SERVER['argv'][5] = dirname(__FILE__).'/1330/Issue1330Test.php';
$_SERVER['argv'][5] = dirname(__FILE__) . '/1330/Issue1330Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
4 changes: 2 additions & 2 deletions tests/Regression/GitHub/1335.phpt
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@ GH-1335: exportVariable multiple backslash problem

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--bootstrap';
$_SERVER['argv'][3] = dirname(__FILE__).'/1335/bootstrap1335.php';
$_SERVER['argv'][4] = dirname(__FILE__).'/1335/Issue1335Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1335/bootstrap1335.php';
$_SERVER['argv'][4] = dirname(__FILE__) . '/1335/Issue1335Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/1337.phpt
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ GH-1337: Data Provider with \ at the end of the name breaks with process isolati
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'Issue1337Test';
$_SERVER['argv'][4] = dirname(__FILE__).'/1337/Issue1337Test.php';
$_SERVER['argv'][4] = dirname(__FILE__) . '/1337/Issue1337Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
10 changes: 5 additions & 5 deletions tests/Regression/GitHub/1348.phpt
Original file line number Diff line number Diff line change
@@ -3,16 +3,16 @@ GH-1348: STDOUT/STDERR IO streams should exist in process isolation
--SKIPIF--
<?php
if (defined('HHVM_VERSION'))
print "skip: PHP runtime required";
print 'skip: PHP runtime required';
?>
--FILE--
<?php

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][] = '--report-useless-tests';
$_SERVER['argv'][] = '--process-isolation';
$_SERVER['argv'][] = 'Issue1348Test';
$_SERVER['argv'][] = __DIR__ . '/1348/Issue1348Test.php';
$_SERVER['argv'][] = '--report-useless-tests';
$_SERVER['argv'][] = '--process-isolation';
$_SERVER['argv'][] = 'Issue1348Test';
$_SERVER['argv'][] = __DIR__ . '/1348/Issue1348Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/1374.phpt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ GH-1374: tearDown() is called despite unmet requirements

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1374Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/1374/Issue1374Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1374/Issue1374Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/1437.phpt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ GH-1437: Risky test messages mask failures

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1437Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/1437/Issue1437Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1437/Issue1437Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/244.phpt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ GH-244: Expected Exception should support string codes
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'Issue244Test';
$_SERVER['argv'][4] = dirname(__FILE__).'/244/Issue244Test.php';
$_SERVER['argv'][4] = dirname(__FILE__) . '/244/Issue244Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
4 changes: 2 additions & 2 deletions tests/Regression/GitHub/322.phpt
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@ GH-322: group commandline option should override group/exclude setting in phpuni
<?php

$_SERVER['argv'][1] = '--configuration';
$_SERVER['argv'][2] = dirname(__FILE__).'/322/phpunit322.xml';
$_SERVER['argv'][2] = dirname(__FILE__) . '/322/phpunit322.xml';
$_SERVER['argv'][3] = '--debug';
$_SERVER['argv'][4] = '--group';
$_SERVER['argv'][5] = 'one';
$_SERVER['argv'][6] = 'Issue322Test';
$_SERVER['argv'][7] = dirname(__FILE__).'/322/Issue322Test.php';
$_SERVER['argv'][7] = dirname(__FILE__) . '/322/Issue322Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/433.phpt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ GH-433: expectOutputString not completely working as expected

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue433Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/433/Issue433Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/433/Issue433Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/445.phpt
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ GH-455: expectOutputString not working in strict mode
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--disallow-test-output';
$_SERVER['argv'][3] = 'Issue445Test';
$_SERVER['argv'][4] = dirname(__FILE__).'/445/Issue445Test.php';
$_SERVER['argv'][4] = dirname(__FILE__) . '/445/Issue445Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/498.phpt
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'trueOnly';
$_SERVER['argv'][4] = 'Issue498Test';
$_SERVER['argv'][5] = dirname(__FILE__).'/498/Issue498Test.php';
$_SERVER['argv'][5] = dirname(__FILE__) . '/498/Issue498Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
2 changes: 1 addition & 1 deletion tests/Regression/GitHub/503.phpt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ GH-503: assertEquals() Line Ending Differences Are Obscure

$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue503Test';
$_SERVER['argv'][3] = dirname(__FILE__).'/503/Issue503Test.php';
$_SERVER['argv'][3] = dirname(__FILE__) . '/503/Issue503Test.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
Loading