Skip to content

PHP deprecations errors shown when running phpinsights #695

Open
@gremo

Description

@gremo
Q A
Bug report? no
Feature request? no
Library version v2.10.0
PHP version 8.3.12

First... that you for this such good tool! I've started used it today (Symfony framework here). Just a quick report: not a big deal but, php deprecations are reported when running the tool:

root@76c2985d039a:/app# vendor/bin/phpinsights          
PHP Deprecated:  Creation of dynamic property SlevomatCodingStandard\Sniffs\TypeHints\DeclareStrictTypesSniff::$newlinesCountBeforeDeclare is deprecated in /app/vendor/nunomaduro/phpinsights/src/Domain/InsightLoader/SniffLoader.php on line 40

Deprecated: Creation of dynamic property SlevomatCodingStandard\Sniffs\TypeHints\DeclareStrictTypesSniff::$newlinesCountBeforeDeclare is deprecated in /app/vendor/nunomaduro/phpinsights/src/Domain/InsightLoader/SniffLoader.php on line 40

Is there any why to suppress it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions