totallyTyped is deprecated, changed to errorLevel="1" (#56)

Co-authored-by: Anton Zagorskii <anton@paytronix.io>
This commit is contained in:
Anton Zagorskii 2020-07-19 09:28:57 +01:00 committed by GitHub
parent 5d46b7a221
commit 7fb4a082cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 14 additions and 14 deletions

View File

@ -25,11 +25,11 @@ The plugin calculates real return type by checking the given argument and marks
### Configuration ### Configuration
If you followed installation instructions, psalm-plugin command would added plugin configuration to psalm.xml If you follow installation instructions, psalm-plugin command will add plugin configuration to psalm.xml
```xml ```xml
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<!-- project configuration --> <!-- project configuration -->
<plugins> <plugins>

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm <psalm
totallyTyped="true" errorLevel="1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config" xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

View File

@ -4,7 +4,7 @@ Feature: ConsoleArgument
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -4,7 +4,7 @@ Feature: ConsoleOption
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -7,7 +7,7 @@ Feature: ContainerDependency
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -5,7 +5,7 @@ Feature: Container service
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -5,7 +5,7 @@ Feature: Container XML config
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -4,7 +4,7 @@ Feature: Messenger Envelope
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -4,7 +4,7 @@ Feature: Header get
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -5,7 +5,7 @@ Feature: Naming conventions
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -7,7 +7,7 @@ Feature: RepositoryStringShortcut
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -5,7 +5,7 @@ Feature: Request getContent
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>

View File

@ -4,7 +4,7 @@ Feature: Tainting
Given I have the following config Given I have the following config
""" """
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm totallyTyped="true"> <psalm errorLevel="1">
<projectFiles> <projectFiles>
<directory name="."/> <directory name="."/>
<ignoreFiles> <directory name="../../vendor"/> </ignoreFiles> <ignoreFiles> <directory name="../../vendor"/> </ignoreFiles>