Skip to content

\ In folder names cause error with composer autoloader #320

@thijsvdanker

Description

@thijsvdanker

When trying to update composer throws an error when creating the autoloader:

composer dump-autoload -o

...

In ClassMapGenerator.php line 158:

  realpath of /path/to/vendor/vgrem/php-spo/src/SharePoint/Sharing/ShareLinkPartialSuccessResponse.php failed to resolve, got false

This is because there is a slash in (at least) 3 folder names:

  1. https://github.com/vgrem/phpSPO/tree/master/src/SharePoint/%5CPublishing
  2. https://github.com/vgrem/phpSPO/tree/master/src/SharePoint/%5CSharing
  3. https://github.com/vgrem/phpSPO/tree/master/src/SharePoint/%5CTaxonomy%5CContentTypeSync

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions