Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 670 Bytes

Maintenance.md

File metadata and controls

22 lines (11 loc) · 670 Bytes

PHP Linting


Linter is a tool that helps us find code smells, potential bugs, memory leaks, and convention-lise our code to higher standards.

For enhancing and refactoring the code using a PHP linter, follow the following steps:

  1. Go to Preferences -> Plugins, and search 'Php Inspections' plugin.

  2. Install 'Php Inspections' from either your idea or from the official linter website https://plugins.jetbrains.com/plugin/7622-php-inspections-ea-extended-

  3. Start the linter by right-clicking on the root folder and choosing Analyze -> Inspect Code -> Whole Project -> Ok.

  4. Begin betterment of the code.

Requirements

IntelliJ / PHPStorm ideas.