Inspectopedia 2026.1 Help

Expected values should be used

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).

Locating this inspection

//noinspection PhpExpectedValuesShouldBeUsedInspection
Last modified: 24 June 2026