facebook-php-business-sdk icon indicating copy to clipboard operation
facebook-php-business-sdk copied to clipboard

Fix namespace

Open minterior opened this issue 4 years ago • 8 comments

Fix namespace of file src/FacebookAds/Object/Fields/Agency.php.

minterior avatar Apr 08 '20 01:04 minterior

Hi @minterior!

Thank you for your pull request and welcome to our community.We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

facebook-github-bot avatar Apr 08 '20 01:04 facebook-github-bot

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

facebook-github-bot avatar Apr 08 '20 02:04 facebook-github-bot

Hi, can you also mention what problem this is solving?

Mxiim avatar Apr 08 '20 16:04 Mxiim

Sure!

That class is raising deprecation notices in composer install and potentially it could not be loaded/found in the expected path:

Generating optimized autoload files
Deprecation Notice: Class FacebookAds\Object\Agency located in ./vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/Agency.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

minterior avatar Apr 08 '20 17:04 minterior

แน่นอน

wanleng559 avatar Apr 19 '20 18:04 wanleng559

Why is this still not merged? I'm having the same issue, will this be in the next version release?

jslmariano avatar Aug 17 '20 03:08 jslmariano

Composer 2.0.0 RC1 was released today https://github.com/composer/composer/releases/tag/2.0.0-RC1, so getting close to the stable release. When will this PR be merged & tagged?

cmgmyr avatar Sep 10 '20 19:09 cmgmyr

Looks like this was fixed in 724fc72953947787fd04efa1e26d33ab259e15f2

cmgmyr avatar Nov 11 '20 14:11 cmgmyr