Skip to content

Ability to run phpstan against the source files #39

@scop

Description

@scop

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions