1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix #3193 - no longer add totallyTyped="true" to config

This commit is contained in:
Brown 2020-04-19 12:58:42 -04:00
parent bb46c30e38
commit 8bcf38b8f6
2 changed files with 0 additions and 10 deletions

View File

@ -30,7 +30,6 @@ class Creator
{
const TEMPLATE = '<?xml version="1.0"?>
<psalm
totallyTyped="true"
errorLevel="1"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -66,14 +65,6 @@ class Creator
$template
);
if ($level > 1) {
$template = str_replace(
'totallyTyped="true"',
'totallyTyped="false"',
$template
);
}
$template = str_replace(
'errorLevel="1"',
'errorLevel="' . $level . '"',

View File

@ -32,7 +32,6 @@ class CreatorTest extends \Psalm\Tests\TestCase
$this->assertSame('<?xml version="1.0"?>
<psalm
totallyTyped="true"
errorLevel="1"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"