Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix psalm issues #115

Open
drIceman opened this issue Mar 26, 2023 · 0 comments
Open

Fix psalm issues #115

drIceman opened this issue Mar 26, 2023 · 0 comments

Comments

@drIceman
Copy link

Need to fix errors or add exclusions when executing vendor/bin/psalm
I got such exclusions in psalm-baseline.xml

<?xml version="1.0" encoding="UTF-8"?>
<files>
    <file src="app/src/Domain/User/Entity/User.php">
        <PropertyNotSetInConstructor occurrences="1"/>
    </file>
    <file src="app/src/Endpoint/Console/CreateUserCommand.php">
        <PropertyNotSetInConstructor occurrences="2"/>
    </file>
    <file src="app/src/Endpoint/Console/DoNothing.php">
        <PropertyNotSetInConstructor occurrences="1"/>
    </file>
    <file src="app/src/Endpoint/Console/PingCommand.php">
        <PropertyNotSetInConstructor occurrences="1"/>
    </file>
    <file src="app/src/Infrastructure/Persistence/CycleORMUserRepository.php">
        <MissingTemplateParam occurrences="1"/>
        <MoreSpecificReturnType occurrences="1"/>
        <LessSpecificReturnStatement occurrences="1"/>
    </file>
</files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant