Skip to content

Commit eceb130

Browse files
committed
Update requirements and align with changes in requirements.
1 parent 6446257 commit eceb130

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.idea/
2-
/.phpunit.cache/
2+
/.phpunit.result.cache
33
/bin/
44
/composer.lock
55
/test/Command/Foo.php

composer.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"plaisio/error-logger": "^1.4.0",
1515
"plaisio/exception": "^1.3.0",
1616
"plaisio/exception-handler": "^2.2.0",
17-
"plaisio/kernel": "^3.3.0",
17+
"plaisio/kernel": "^3.3.1",
1818
"plaisio/obfuscator": "^2.2.0",
19-
"plaisio/request": "^1.0.1",
19+
"plaisio/request": "^2.0.0",
2020
"plaisio/request-logger": "^1.4.0",
2121
"plaisio/response-core": "^2.9.0",
2222
"plaisio/session": "^5.1.0",
@@ -26,14 +26,19 @@
2626
},
2727
"require-dev": {
2828
"phing/phing": "^3.0.1",
29-
"phpunit/phpunit": "^11.5.22",
29+
"phpunit/phpunit": "^11.5.25",
3030
"plaisio/console-kernel": "^1.2.0"
3131
},
3232
"autoload": {
3333
"psr-4": {
3434
"Plaisio\\ExceptionHandler\\": "src/"
3535
}
3636
},
37+
"autoload-dev": {
38+
"psr-4": {
39+
"Plaisio\\ExceptionHandler\\Test\\": "test/"
40+
}
41+
},
3742
"config": {
3843
"bin-dir": "bin/",
3944
"sort-packages": true,

phpunit.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,15 @@
1111
<directory>test</directory>
1212
</testsuite>
1313
</testsuites>
14-
1514
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
1615
<include>
1716
<directory>src</directory>
1817
</include>
1918
</source>
19+
<coverage>
20+
<report>
21+
<clover outputFile="test/coverage.xml"/>
22+
<html outputDirectory="test/report"/>
23+
</report>
24+
</coverage>
2025
</phpunit>

test/Command/Foo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace SetBased\Stratum\Test\Application;
4+
namespace Plaisio\ExceptionHandler\Test\Command;
55

66
use Plaisio\Exception\BadRequestException;
77
use Plaisio\Exception\InvalidUrlException;

test/Command/GenerateExceptionHandlerCoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
namespace SetBased\Stratum\Test\Application;
4+
namespace Plaisio\ExceptionHandler\Test\Command;
55

66
use PHPUnit\Framework\TestCase;
77
use Plaisio\Console\Application\PlaisioApplication;

test/Command/plaisio-exception.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<exception>
2-
<class>\SetBased\Stratum\Test\Application\Foo</class>
2+
<class>\Plaisio\ExceptionHandler\Test\Command\Foo</class>
33
<path>test/Command/Foo.php</path>
44
<agents>
55
<agent>\Plaisio\ExceptionHandler\BadRequestExceptionAgent</agent>

0 commit comments

Comments
 (0)