Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Type hint warning with current Composer #13

Open
mmodler opened this issue Feb 22, 2017 · 3 comments
Open

Type hint warning with current Composer #13

mmodler opened this issue Feb 22, 2017 · 3 comments

Comments

@mmodler
Copy link
Contributor

mmodler commented Feb 22, 2017

There is an ugly warning for every package when using composer update in shell:

Deprecation Notice: The callback Barryvdh\Composer\CleanupPlugin::onPostPackageUpdate declared at D:\repositories\rehab-app\vendor\barryvdh\composer-cleanup-plugin\src\CleanupPlugin.php accepts a Composer\Script\PackageEvent but post-package-update events use a Composer\Installer\PackageEvent instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar://D:/repositories/tools/vendor/composer/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:320

with Composer version 1.3.2 2017-01-27 18:23:41

@mmodler mmodler changed the title Declared composer event Type hint warnung with current Composer Feb 22, 2017
@mmodler mmodler changed the title Type hint warnung with current Composer Type hint warning with current Composer Feb 22, 2017
@OliverLeitner
Copy link

OliverLeitner commented Apr 5, 2017

i can confirm this with the most current stable branch of composer, 1.4.1

ps: is this project actually still being actively maintained?

@barryvdh
Copy link
Owner

barryvdh commented Apr 5, 2017

Nope, but PR is accepted.

@barryvdh
Copy link
Owner

I'm thinking of actually benchmarking this against some current Laravel projects, does anyone still use this? No idea if it even still works.

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

No branches or pull requests

3 participants