Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psr-4 error #13

Open
mdeprezzo opened this issue May 25, 2020 · 1 comment
Open

Psr-4 error #13

mdeprezzo opened this issue May 25, 2020 · 1 comment

Comments

@mdeprezzo
Copy link

mdeprezzo commented May 25, 2020

Hi, news about psr-4 autoloading standard ? i'm Still get that error

Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Contacts\Contacts located in ./vendor/mediatoolkit/activecampaign-v3-php/src/contacts/Contacts.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
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Organizations\Organizations located in ./vendor/mediatoolkit/activecampaign-v3-php/src/organizations/Organizations.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
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Tracking\SiteTracking located in ./vendor/mediatoolkit/activecampaign-v3-php/src/tracking/SiteTracking.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
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Tracking\EventTracking located in ./vendor/mediatoolkit/activecampaign-v3-php/src/tracking/EventTracking.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
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Tags\Tags located in ./vendor/mediatoolkit/activecampaign-v3-php/src/tags/Tags.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
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Lists\Lists located in ./vendor/mediatoolkit/activecampaign-v3-php/src/lists/Lists.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
Deprecation Notice: Class Mediatoolkit\ActiveCampaign\Deals\Deals located in ./vendor/mediatoolkit/activecampaign-v3-php/src/deals/Deals.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
@mrweiner
Copy link

Here's a patch to fix this issue

diff --git a/src/contacts/Contacts.php b/src/Contacts/Contacts.php
similarity index 100%
rename from src/contacts/Contacts.php
rename to src/Contacts/Contacts.php
diff --git a/src/deals/Deals.php b/src/Deals/Deals.php
similarity index 100%
rename from src/deals/Deals.php
rename to src/Deals/Deals.php
diff --git a/src/lists/Lists.php b/src/Lists/Lists.php
similarity index 100%
rename from src/lists/Lists.php
rename to src/Lists/Lists.php
diff --git a/src/organizations/Organizations.php b/src/Organizations/Organizations.php
similarity index 100%
rename from src/organizations/Organizations.php
rename to src/Organizations/Organizations.php
diff --git a/src/tags/Tags.php b/src/Tags/Tags.php
similarity index 100%
rename from src/tags/Tags.php
rename to src/Tags/Tags.php
diff --git a/src/tracking/EventTracking.php b/src/Tracking/EventTracking.php
similarity index 100%
rename from src/tracking/EventTracking.php
rename to src/Tracking/EventTracking.php
diff --git a/src/tracking/SiteTracking.php b/src/Tracking/SiteTracking.php
similarity index 100%
rename from src/tracking/SiteTracking.php
rename to src/Tracking/SiteTracking.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants