mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 18:17:55 +01:00
23 lines
487 B
Markdown
23 lines
487 B
Markdown
# 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>
|
|
```
|