GoogleCloudPlatform / GoogleCloudPlatform/appengine-php-sdk

Runtime errors thrown in aliases.php under PHP8+

Open
#91 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
29
Forks
36
PR merge metrics
No merged PRs in 30d

Description

A runtime error is thrown for most of class alias defined in `src/aliases.php` of this kind:

> Cannot declare class google\appengine\api\modules\InvalidModuleStateException, because the name is already in use

Given that [PHP namespaces are case-insensitive](https://www.php.net/manual/en/language.namespaces.rationale.php), most of the alias defined there are not necessary, as the old php55 sdk names are case-insensitive equal to the php7+ SDK.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.