Skip to content

Commit 63a9414

Browse files
committed
Cleanup psalm.xml and phpunit.xml.dist
1 parent 04325e5 commit 63a9414

File tree

3 files changed

+15
-19
lines changed

3 files changed

+15
-19
lines changed

phpunit.xml.dist

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
5-
bootstrap="./vendor/autoload.php"
6-
executionOrder="depends,defects"
7-
beStrictAboutCoversAnnotation="true"
8-
beStrictAboutOutputDuringTests="true"
9-
beStrictAboutTodoAnnotatedTests="true"
10-
convertWarningsToExceptions="true"
11-
convertNoticesToExceptions="true"
12-
convertErrorsToExceptions="true"
13-
stopOnFailure="false"
14-
verbose="true"
15-
colors="true"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
5+
bootstrap="./vendor/autoload.php"
6+
executionOrder="depends,defects"
7+
beStrictAboutCoversAnnotation="true"
8+
beStrictAboutOutputDuringTests="true"
9+
beStrictAboutTodoAnnotatedTests="true"
10+
convertWarningsToExceptions="true"
11+
convertNoticesToExceptions="true"
12+
convertErrorsToExceptions="true"
13+
stopOnFailure="false"
14+
verbose="true"
15+
colors="true"
1616
>
1717
<php>
1818
<ini name="error_reporting" value="-1" />

psalm.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<?xml version="1.0"?>
22
<psalm
3-
totallyTyped="true"
4-
resolveFromConfigFile="true"
3+
errorLevel="1"
54
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
65
xmlns="https://getpsalm.org/schema/config"
76
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
87
>
98
<projectFiles>
109
<directory name="src" />
11-
<ignoreFiles>
12-
<directory name="vendor" />
13-
</ignoreFiles>
1410
</projectFiles>
1511
</psalm>

public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use HttpSoft\Basis\Application;
66
use HttpSoft\ServerRequest\ServerRequestCreator;
77

8-
require_once __DIR__ . '/../vendor/autoload.php';
8+
require_once __DIR__ . '/../../../../vendor/autoload.php';
99

1010
$container = require_once __DIR__ . '/../config/container.php';
1111
$app = $container->get(Application::class);

0 commit comments

Comments
 (0)