Skip to content

Commit 001480e

Browse files
committed
🚿 don't use the magic method signature
1 parent 7857eb1 commit 001480e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/Common/CurlHandleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CurlHandleTest extends TestCase{
3434
protected ClientInterface $http;
3535

3636
// called from FactoryTrait
37-
protected function __setUp():void{
37+
protected function _setUp_():void{
3838

3939
$options = new HTTPOptions([
4040
'ca_info' => __DIR__.'/../cacert.pem',

tests/Common/MultipartStreamBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MultipartStreamBuilderTest extends TestCase{
2626

2727
protected MultipartStreamBuilder $multipartStreamBuilder;
2828

29-
protected function __setUp():void{
29+
protected function _setUp_():void{
3030
$this->multipartStreamBuilder = new MultipartStreamBuilder();
3131
}
3232

tests/FactoryTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ protected function setUp():void{
6969
$this->streamFactory
7070
);
7171

72-
if(method_exists($this, '__setUp')){
73-
$this->__setUp();
72+
if(method_exists($this, '_setUp_')){
73+
$this->_setUp_();
7474
}
7575

7676
}

tests/Psr7/UploadedFileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class UploadedFileTest extends TestCase{
3232
protected array $cleanup;
3333

3434
// called from FactoryTrait
35-
protected function __setUp():void{
35+
protected function _setUp_():void{
3636
$this->cleanup = [];
3737
}
3838

0 commit comments

Comments
 (0)