Giter Club home page Giter Club logo

mandrill's Issues

Errors when running composer dump autoload

Description

When I run composer dump-autoload -a, I get a ton of console errors.

Steps to reproduce

  1. install mandrill plugin
  2. run composer dump-autoload -a

Additional info

  • Craft version: Craft CMS 3.7.12
  • PHP version: PHP 7.3.25 (cli) (built: Nov 24 2020 11:10:55) ( NTS )
  • Database driver & version: mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux (x86_64) using readline 5.1
  • Plugins & versions:
Class Mandrill_Error located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_HttpError located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_ValidationError located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Key located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_PaymentRequired located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Subaccount located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Template located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_ServiceUnavailable located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Message located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Tag_Name located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Reject located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Sender located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Url located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_TrClass Mandrill_Error located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_HttpError located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_ValidationError located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Key located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_PaymentRequired located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Subaccount located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Template located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_ServiceUnavailable located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Message located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Tag_Name located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Reject located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Sender located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Url located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_TrackingDomain located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Template located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Webhook located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_InboundDomain located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_InboundRoute located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Export located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_IP_ProvisionLimit located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Pool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_NoSendingHistory located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_PoorReputation located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_IP located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_EmptyDefaultPool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_DeleteDefaultPool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
CackingDomain located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_Template located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Webhook located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_InboundDomain located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_InboundRoute located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Export located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_IP_ProvisionLimit located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_Pool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_NoSendingHistory located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_PoorReputation located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_IP located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_EmptyDefaultPool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_DeleteDefaultPool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_DeleteNonEmptyPool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_CustomDNS located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_CustomDNSPending located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Metadata_FieldLimit located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_MetadataField located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
lass Mandrill_Invalid_DeleteNonEmptyPool located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_CustomDNS located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Invalid_CustomDNSPending located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Metadata_FieldLimit located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.
Class Mandrill_Unknown_MetadataField located in ./vendor/mandrill/mandrill/src/Mandrill/Exceptions.php does not comply with psr-0 autoloading standard. Skipping.

installation instructions didn't work

php composer.phar require craftcms/mandrill gave me error: "Could not open input file: composer.phar"

composer require craftcms/mandrill did work.

Composer 2 warnings

While working with composer 1 or 2, we constantly getting warnings.
Checking the mandrill api, it isn't updated since 2015.
Also Mandrill will be renamed to Mailchimp Transactional, so it looks like this is the new api to be used https://github.com/mailchimp/mailchimp-transactional-php

Would be cool if the plugin can be adapted to use the new api which hopefully is working the same but without the composer warnings.
Screenshot from 2021-02-03 16-19-36

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.