-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(commit): Update .editorconfig and psalm configuration
- Update the order and values of properties in the .editorconfig file - Change the indent size and end-of-line settings - Update the psalm.xml.dist and psalm- baseline.xml files - Remove an unused interface method occurrence in Handler.php - Fix UndefinedMagicMethod occurrences in ConfigCommandTest.php - Adjust errorLevel and suppress errors in various files
- Loading branch information
1 parent
2283681
commit 95a643d
Showing
3 changed files
with
58 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<psalm | ||
errorLevel="4" | ||
findUnusedVariablesAndParams="true" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
cacheDirectory="./build/psalm/" | ||
errorBaseline="psalm-baseline.xml" | ||
cacheDirectory="./build/psalm/" | ||
errorBaseline="psalm-baseline.xml" | ||
errorLevel="4" | ||
findUnusedBaselineEntry="true" | ||
findUnusedCode="false" | ||
findUnusedVariablesAndParams="true" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
> | ||
<projectFiles> | ||
<directory name="app"/> | ||
<directory name="tests"/> | ||
<ignoreFiles allowMissingFiles="true"> | ||
<directory name="vendor"/> | ||
<file name="app/xxx.php"/> | ||
</ignoreFiles> | ||
</projectFiles> | ||
<projectFiles> | ||
<directory name="app"/> | ||
<directory name="tests"/> | ||
<ignoreFiles allowMissingFiles="true"> | ||
<directory name="vendor"/> | ||
<file name="app/xxx.php"/> | ||
</ignoreFiles> | ||
</projectFiles> | ||
|
||
<issueHandlers> | ||
<PropertyNotSetInConstructor errorLevel="info"/> | ||
<UnusedVariable> | ||
<errorLevel type="suppress"> | ||
<file name="app/Commands/CommitCommand.php"/> | ||
<file name="app/Generators/OpenAIGenerator.php"/> | ||
</errorLevel> | ||
</UnusedVariable> | ||
<InternalMethod> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</InternalMethod> | ||
<InvalidScope> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</InvalidScope> | ||
<UndefinedFunction> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</UndefinedFunction> | ||
</issueHandlers> | ||
<issueHandlers> | ||
<PropertyNotSetInConstructor errorLevel="info"/> | ||
<UnusedVariable> | ||
<errorLevel type="suppress"> | ||
<file name="app/Commands/CommitCommand.php"/> | ||
<file name="app/Generators/OpenAIGenerator.php"/> | ||
</errorLevel> | ||
</UnusedVariable> | ||
<InternalMethod> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</InternalMethod> | ||
<InvalidScope> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</InvalidScope> | ||
<UndefinedFunction> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</UndefinedFunction> | ||
<UndefinedPropertyFetch> | ||
<errorLevel type="suppress"> | ||
<directory name="tests"/> | ||
</errorLevel> | ||
</UndefinedPropertyFetch> | ||
</issueHandlers> | ||
|
||
<plugins> | ||
<!--<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>--> | ||
</plugins> | ||
<plugins> | ||
<!--<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>--> | ||
</plugins> | ||
</psalm> |