Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,876
- Plugin Contributions:
- 7
Using PhpStorm
The inspections in PhpStorm flag up constants that it cannot find, such as those in the database, as errors.
As far as I can tell, the only way to stop these errors is to have the database constants (configuration_keys) duplicated in a file that PhpStorm CAN find/index.
So I did a script that generates a suitable file:
https://github.com/torvista/zen-cart_list-configuration-constants
Constructive criticism welcome!
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...