1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/docs/running_psalm/issues/UnusedBaselineEntry.md
2023-01-17 22:02:21 -05:00

487 B

UnusedBaselineEntry

Emitted when a baseline entry is not being used to suppress an issue.

Enabled by findUnusedBaselineEntry

<?php
$a = 'Hello, World!';
echo $a;
<?xml version="1.0" encoding="UTF-8"?>
<files>
    <file src="example.php">
        <UnusedVariable>
            <!-- The following entry is unused and should be removed. -->
            <code>$a</code>
        </UnusedVariable>
    </file>
</files>