DennisHermannsen Posted September 29, 2022 Share Posted September 29, 2022 Hi, This has bugged me for years and I don't really know if there's a way to solve my issue. When developing modules for WHMCS, my IDE always throws a lot of errors and warnings when I'm using WHMCS classes or functions since the code for these are encoded. Is there any way to fix this issue? It makes troubleshooting really difficult when the IDE reports hundreds of errors/warnings 😅 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted September 29, 2022 Share Posted September 29, 2022 (edited) 10 hours ago, DennisHermannsen said: Hi, This has bugged me for years and I don't really know if there's a way to solve my issue. When developing modules for WHMCS, my IDE always throws a lot of errors and warnings when I'm using WHMCS classes or functions since the code for these are encoded. Is there any way to fix this issue? It makes troubleshooting really difficult when the IDE reports hundreds of errors/warnings 😅 Same thing for all of us (creating modules), but that’s how commercial suites work. Edited September 29, 2022 by pRieStaKos 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted September 30, 2022 Share Posted September 30, 2022 (edited) 20 hours ago, DennisHermannsen said: Hi, This has bugged me for years and I don't really know if there's a way to solve my issue. When developing modules for WHMCS, my IDE always throws a lot of errors and warnings when I'm using WHMCS classes or functions since the code for these are encoded. Is there any way to fix this issue? It makes troubleshooting really difficult when the IDE reports hundreds of errors/warnings 😅 You would need to exclude those files from your IDE code checking. This means most of your WHMCS files should be excluded for code analysis. There is no other way around with encoded files, since for your IDE they are not really .php files as it can't read them. To be fair, WHMCS is not developer friendly at all, because of the encoding, there is nothing you can really do, not even fix bug or check for functions, an IDE for WHMCS in that regard is really not very useful. Edited September 30, 2022 by yggdrasil 0 Quote Link to comment Share on other sites More sharing options...
string Posted September 30, 2022 Share Posted September 30, 2022 There is no official IDE helper, but there are at least two unofficial helpers:https://github.com/indicio-software/whmcs-ide-helper https://github.com/grizzlyware/salmon-whmcs 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.