PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: Duplicate package entries in composer.json

Last modified: 16 May 2022

Reports duplicate package entries in the require and require-dev sections of composer.json.

In the following example, the composer.json file contains two duplicate "phpunit/phpunit" entries.