Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.
This repository was archived by the owner on May 3, 2024. It is now read-only.

Composer 2.0 deprecation warning #55

@ramunasd

Description

@ramunasd
Deprecation Notice: Class Aerospike\GeoJSON located in ./vendor/aerospike/aerospike-client-php/src/GeoJSON/GeoJSON.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

PHP 7.3
Aerospike client 7.5.2
Composer 10.5

Can be reproduced with

composer require aerospike/aerospike-client-php ^7.5
composer install --optimize-autoloader

Autoloader optimization is common practice for high load web sites as it allows completely bypass class name conversion to real path.

According to autoload config this class must be one level higher, just like another class Aerospike\Bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions