workshop/03_Inspections/05_Settings.php (3 lines of code) (raw):

<?php /** * Inspections - Settings * * Ctrl+Alt+S (Windows/Linux) * Command+, (macOS) * * Enable/disable inspections, see examples and documentation. */ // 1. Open the Settings pane then Editor | Inspections. // 2. Find the Expression Result Unused inspection and see why this is probably a code bug. // HINT: You can search for inspections by name by typing next to the magnifying glass above the inspection list. // 3. Find the Usage of Silence Operator inspection. Enable it and make it an Error. The code below should now show an // error. // 4. Find the Missing Break Statement inspection and make it an Error. // 5. Disable the Inconsistent Return Points inspection. namespace Inspections5\JetBrains; @phpinfo();