1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 21:19:03 +01:00
psalm/docs/running_psalm/issues/UnusedBaselineEntry.md

23 lines
487 B
Markdown
Raw Normal View History

2023-01-18 01:30:43 +01:00
# UnusedBaselineEntry
Emitted when a baseline entry is not being used to suppress an issue.
Enabled by [findUnusedBaselineEntry](../configuration.md#findunusedbaselineentry)
```php
<?php
$a = 'Hello, World!';
echo $a;
```
```xml
<?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>
```