Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to run phpstan against the source files #39

Open
scop opened this issue Nov 13, 2024 · 0 comments
Open

Ability to run phpstan against the source files #39

scop opened this issue Nov 13, 2024 · 0 comments

Comments

@scop
Copy link
Member

scop commented Nov 13, 2024

It would be nice to be able to run phpstan against the sources.

I was unable to accomplish this on a quick try, quite possibly due to the ioncube encoded files of WHMCS proper. Eventually ran into things like

$   php ./phpstan.phar analyse modules/servers/upCloudVps
       Internal error: Class "Illuminate\Database\Capsule\Manager" not found while analysing file /var/www/html/modules/servers/upCloudVps/lib/ajaxAction.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants