Skip to content

Commit f04cd98

Browse files
author
Ben Thomson
committed
Fix namespace and autoloading
1 parent 9a31965 commit f04cd98

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Presenter.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22

3-
namespace SelfManager\Tests;
3+
namespace ABWebDevelopers\PHPUnitPresenter;
44

55
use PHPUnit\Framework\TestListener;
66
use PHPUnit\Framework\AssertionFailedError;
@@ -72,7 +72,7 @@ public function __construct($out = null)
7272

7373
/**
7474
* Buffer flush method.
75-
*
75+
*
7676
* This is overriden from PHPUnit's default result printer to print the results, as well as exceptions and errors
7777
* that were encountered during the tests.
7878
*
@@ -100,7 +100,7 @@ public function flush(): void
100100

101101
/**
102102
* Incremental flush method.
103-
*
103+
*
104104
* This has been stubbed out from the original PHPUnit Printer method.
105105
*
106106
* @return void
@@ -111,7 +111,7 @@ public function incrementalFlush(): void
111111

112112
/**
113113
* Buffer write method.
114-
*
114+
*
115115
* This has been stubbed out from the original PHPUnit Printer method.
116116
*
117117
* @param string $buffer
@@ -123,7 +123,7 @@ public function write(string $buffer): void
123123

124124
/**
125125
* Get auto buffer flush method.
126-
*
126+
*
127127
* This has been stubbed out from the original PHPUnit Printer method.
128128
*
129129
* @return boolean
@@ -135,7 +135,7 @@ public function getAutoFlush(): bool
135135

136136
/**
137137
* Set auto buffer flush method.
138-
*
138+
*
139139
* This has been stubbed out from the original PHPUnit Printer method.
140140
*
141141
* @param boolean $autoFlush

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
"source": "https://github.com/ABWebDevelopers/phpunit-presenter",
1717
"issues": "https://github.com/ABWebDevelopers/phpunit-presenter/issues"
1818
},
19+
"autoload": {
20+
"files": [
21+
"Presenter.php"
22+
]
23+
},
1924
"require": {
2025
"league/climate": "^3.5",
2126
"phpunit/phpunit": "^7.5"

0 commit comments

Comments
 (0)