FriendsOfFlarum / cookie-consent

Cookie Consent notice for your Flarum site
MIT License
6 stars 5 forks source link

Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. #28

Closed Hari-Bonda closed 2 years ago

Hari-Bonda commented 2 years ago

i got this error while installing this extension

Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.

[master_0]:public_html$ composer require fof/cookie-consent
Using version ^1.0 for fof/cookie-consent
./composer.json has been updated
Running composer update fof/cookie-consent
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking fof/cookie-consent (1.0.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Downloading fof/cookie-consent (1.0.2)
  - Installing fof/cookie-consent (1.0.2): Extracting archive
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating autoload files
102 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
clarkwinkelmann commented 2 years ago

This output is expected, everything went well and the extension should be available in the admin panel.

The swiftmailer/swiftmailer warning is caused by Flarum itself and will be present in all Composer outputs for all extensions. It has to be fixed in the upstream Laravel package first, then Flarum will be able to use that new version and get rid of the message. It might take a few more Flarum releases until it disappears.

If there's any issue with the extension itself let us know and we'll take a look!