![]() |
Undefined constant SUPPORTPATH" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Undefined constant SUPPORTPATH" (/showthread.php?tid=85897) |
Undefined constant SUPPORTPATH" - wclark - 12-18-2022 Hi All, When I run ./phpunit from the terminal in the app directory of my project then it runs properly But when I run it from PHPStorm 2022.2.4 I get the following error: Code: /usr/local/Cellar/php/8.1.12/bin/php /Users/wclark/Sites/option-chain/www/vendor/phpunit/phpunit/phpunit --no-configuration /Users/wclark/Sites/option-chain/www/ --teamcity --cache-result-file=/Users/wclark/Sites/option-chain/.phpunit.result.cache RE: Undefined constant SUPPORTPATH" - kenjis - 12-19-2022 (12-18-2022, 11:16 PM)wclark Wrote: [code]/usr/local/Cellar/php/8.1.12/bin/php /Users/wclark/Sites/option-chain/www/vendor/phpunit/phpunit/phpunit --no-configuration /Users/wclark/Sites/option-chain/www/ --teamcity --cache-result-file=/Users/wclark/Sites/option-chain/.phpunit.result.cache --no-configuration You need to set the configuration file. |