Inspectopedia
 
2024.3

Expected values should be used

Info
New
Last modified: 03 December 2024

Reports the values in assignment and comparison expressions that should be replaced with one of the expected values (that is, the values specified via the #[ExpectedValues] attribute).

See PhpStorm attributes: #[ExpectedValues] for details.