I am currently working on a PHP project that the composer uses to manage third-party dependencies. This project has a sub-project /installer , which, as the name implies, contains a small tool that handles the installation and initial setup of the "main" project. The installer tool also uses the composer to handle its dependencies, which are stored separately from the main project files.
For convenience, these two projects are part of the same git project and, as such, in the same PHPStorm project. Since the dependencies of both projects sometimes overlap, I often get the warning “Multiple class definitions”. Although this is neither a surprise nor a serious problem, I would like to know if there is a way to tell PHPStorm "hey, treat everything inside /installer as an independent project and not cross-check classes with the outer scope`.
thanks
source share