mirror of
https://github.com/danog/psalm-plugin-symfony.git
synced 2024-11-30 04:29:10 +01:00
totallyTyped is deprecated, changed to errorLevel="1" (#56)
Co-authored-by: Anton Zagorskii <anton@paytronix.io>
This commit is contained in:
parent
5d46b7a221
commit
7fb4a082cf
@ -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>
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user