You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to add these stub file to work with PHPStan so it can resolve some of the classes and functions within the WHMCS blackbox.
Unfortuanlly im encountering some problems that should be indeed fixed..
PHP Fatal error: Cannot redeclare widgetOutput() (previously declared in oblak\whmcs-stubs\whmcs\whmcs.php:259027) in oblak\whmcs-stubs\whmcs\whmcs.php on line 259037
PHP Fatal error: Class Doctrine\Common\Annotations\DocLexer contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Doctrine\Common\Lexer\AbstractLexer::getCatchablePatterns, Doctrine\Common\Lexer\AbstractLexer::getNonCatchablePatterns, Doctrine\Common\Lexer\
AbstractLexer::getType) in oblak\whmcs-stubs\whmcs\whmcs.php on line 82826
PHP Fatal error: Class JMS\Serializer\TypeParser contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (JMS\Parser\AbstractParser::parseInternal) in oblak\whmcs-stubs\whmcs\whmcs.php on line 84758
PHP Fatal error: Class WHMCS\Module\Storage\EncryptedTransientStorage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (WHMCS\Module\Storage\AbstractDataStorage::readDataFromStorage, WHMCS\Module\Storage\AbstractDataStorage::writeDataToStorage) in oblak\whmcs-stubs\whmcs\whmcs.php on line 192427
PHP Fatal error: Cannot redeclare licensing_clientarea() (previously declared in oblak\whmcs-stubs\whmcs\whmcs.php:262715) in oblak\whmcs-stubs\whmcs\whmcs.php on line 263182
These are errors because I've also added the illuminate packages to composer.json, and these should be removed from this dump or get a function_exists wrapper.
Makes no sense to me why these are dump within this stub file as we can just include the actual source files.
PHP Fatal error: Cannot redeclare e() (previously declared in illuminate\support\helpers.php:252) in oblak\whmcs-stubs\whmcs\whmcs.php on line 266617
Im trying to add these stub file to work with PHPStan so it can resolve some of the classes and functions within the WHMCS blackbox.
Unfortuanlly im encountering some problems that should be indeed fixed..
These are errors because I've also added the illuminate packages to composer.json, and these should be removed from this dump or get a
function_exists
wrapper.Makes no sense to me why these are dump within this stub file as we can just include the actual source files.
and more
composer.json
The text was updated successfully, but these errors were encountered: