Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit 27b320d

Browse files
committed
Fork
1 parent de2f8a0 commit 27b320d

23 files changed

+140
-135
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Immediate Exception Printer is a [PHPUnit][PHPUnit] plug-in that prints out exce
2020

2121
The following preview is somewhat atypical but shows all supported output cases.
2222

23-
![Preview image](https://raw.githubusercontent.com/ScriptFUSION/PHPUnit-Immediate-Exception-Printer/master/doc/images/test%20run%201.3.png)
23+
![Preview image](https://raw.githubusercontent.com/workivate/PHPUnit-Immediate-Exception-Printer/master/doc/images/test%20run%201.3.png)
2424

2525
This printer makes no attempt to modify the test summary; only runtime output is changed.
2626

@@ -29,22 +29,22 @@ This printer makes no attempt to modify the test summary; only runtime output is
2929
1. Add the dependency to your Composer file's `require-dev` section.
3030

3131
```json
32-
"scriptfusion/phpunit-immediate-exception-printer": "^1"
32+
"lifeworks/phpunit-immediate-exception-printer": "^1"
3333
```
3434

3535
2. Declare the printer class in your [`phpunit.xml` configuration file](https://phpunit.de/manual/current/en/appendixes.configuration.html).
3636

3737
```xml
3838
<phpunit
39-
printerClass="ScriptFUSION\PHPUnitImmediateExceptionPrinter\ImmediateExceptionPrinter"
39+
printerClass="LifeWorksForks\PHPUnitImmediateExceptionPrinter\ImmediateExceptionPrinter"
4040
colors="true"
4141
>
4242
```
4343

4444
3. Run the tests! If you didn't update `phpunit.xml` the same options can be specified on the command-line instead.
4545

4646
```bash
47-
vendor/bin/phpunit --printer 'ScriptFUSION\PHPUnitImmediateExceptionPrinter\ImmediateExceptionPrinter' --color
47+
vendor/bin/phpunit --printer 'LifeWorksForks\PHPUnitImmediateExceptionPrinter\ImmediateExceptionPrinter' --color
4848
```
4949

5050
4. Enjoy immediate test execution feedback.
@@ -85,15 +85,15 @@ Thanks to the following open source projects that inspired this project. Keep be
8585
* [skyzyx/phpunit-result-printer](https://github.com/skyzyx/phpunit-result-printer) &ndash; Design.
8686

8787

88-
[Releases]: https://github.com/ScriptFUSION/PHPUnit-Immediate-Exception-Printer/releases
89-
[Version image]: https://poser.pugx.org/scriptfusion/phpunit-immediate-exception-printer/version "Latest version"
90-
[Downloads]: https://packagist.org/packages/scriptfusion/phpunit-immediate-exception-printer
91-
[Downloads image]: https://poser.pugx.org/scriptfusion/phpunit-immediate-exception-printer/downloads "Total downloads"
92-
[Build]: https://travis-ci.org/ScriptFUSION/PHPUnit-Immediate-Exception-Printer
93-
[Build image]: https://travis-ci.org/ScriptFUSION/PHPUnit-Immediate-Exception-Printer.svg?branch=master "Build status"
94-
[Coverage]: https://codecov.io/gh/ScriptFUSION/PHPUnit-Immediate-Exception-Printer
95-
[Coverage image]: https://codecov.io/gh/ScriptFUSION/PHPUnit-Immediate-Exception-Printer/branch/master/graphs/badge.svg "Test coverage"
96-
[Style]: https://styleci.io/repos/83920053
97-
[Style image]: https://styleci.io/repos/83920053/shield?style=flat "Code style"
88+
[Releases]: https://github.com/lifeworks/PHPUnit-Immediate-Exception-Printer/releases
89+
~[Version image]: https://poser.pugx.org/scriptfusion/phpunit-immediate-exception-printer/version "Latest version"~
90+
[Downloads]: https://packagist.org/packages/lifeworks/phpunit-immediate-exception-printer
91+
~[Downloads image]: https://poser.pugx.org/scriptfusion/phpunit-immediate-exception-printer/downloads "Total downloads"~
92+
~[Build]: https://travis-ci.org/ScriptFUSION/PHPUnit-Immediate-Exception-Printer~
93+
~[Build image]: https://travis-ci.org/ScriptFUSION/PHPUnit-Immediate-Exception-Printer.svg?branch=master "Build status"~
94+
~[Coverage]: https://codecov.io/gh/ScriptFUSION/PHPUnit-Immediate-Exception-Printer~
95+
~[Coverage image]: https://codecov.io/gh/ScriptFUSION/PHPUnit-Immediate-Exception-Printer/branch/master/graphs/badge.svg "Test coverage"~
96+
~[Style]: https://styleci.io/repos/83920053~
97+
~[Style image]: https://styleci.io/repos/83920053/shield?style=flat "Code style"~
9898

9999
[PHPUnit]: https://github.com/sebastianbergmann/phpunit

composer.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
2-
"name": "scriptfusion/phpunit-immediate-exception-printer",
2+
"name": "lifeworks/phpunit-immediate-exception-printer",
33
"description": "Immediately prints exception and assertion failures during testing.",
44
"authors": [
55
{
66
"name": "Bilge",
77
"email": "[email protected]"
8+
},
9+
{
10+
"name": "Osh",
11+
"email": "[email protected]",
12+
"role": "forker"
813
}
914
],
1015
"require": {
@@ -13,12 +18,12 @@
1318
},
1419
"autoload": {
1520
"psr-4": {
16-
"ScriptFUSION\\PHPUnitImmediateExceptionPrinter\\": "src"
21+
"LifeWorksForks\\PHPUnitImmediateExceptionPrinter\\": "src"
1722
}
1823
},
1924
"autoload-dev": {
2025
"psr-4": {
21-
"ScriptFUSIONTest\\PHPUnitImmediateExceptionPrinter\\": "test"
26+
"LifeWorksForks\\PHPUnitImmediateExceptionPrinter\\": "test"
2227
}
2328
},
2429
"scripts": {

src/ImmediateExceptionPrinter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSION\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForks\PHPUnitImmediateExceptionPrinter;
33

44
if (class_exists(\PHPUnit_TextUI_ResultPrinter::class)) {
55
class ImmediateExceptionPrinter extends PhpUnit5Printer

src/PhpUnit5Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSION\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForks\PHPUnitImmediateExceptionPrinter;
33

44
class PhpUnit5Printer extends \PHPUnit_TextUI_ResultPrinter
55
{

src/PhpUnit6Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSION\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForks\PHPUnitImmediateExceptionPrinter;
33

44
use PHPUnit\Framework\AssertionFailedError;
55
use PHPUnit\Framework\Test;

src/Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSION\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForks\PHPUnitImmediateExceptionPrinter;
33

44
use PHPUnit\Framework\AssertionFailedError;
55
use PHPUnit\Framework\ExceptionWrapper;

test/CapabilitiesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSIONTest\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForksTest\PHPUnitImmediateExceptionPrinter;
33

44
use PHPUnit\Framework\TestCase;
55

test/ExceptionThrower.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSIONTest\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForksTest\PHPUnitImmediateExceptionPrinter;
33

44
final class ExceptionThrower
55
{

test/NestedStackTraceException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSIONTest\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForksTest\PHPUnitImmediateExceptionPrinter;
33

44
final class NestedStackTraceException extends StackTraceException
55
{

test/StackTraceException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace ScriptFUSIONTest\PHPUnitImmediateExceptionPrinter;
2+
namespace LifeWorksForksTest\PHPUnitImmediateExceptionPrinter;
33

44
class StackTraceException extends \RuntimeException
55
{

0 commit comments

Comments
 (0)