Comments (5)
@samsonasik can you check please if definitely you are using zend-component-installer in version 0.6.0?
These deprecation notices were fixed with 0.5.1 release in #29. Please see also current version (0.6.0):
https://github.com/zendframework/zend-component-installer/blob/0.6.0/src/ComponentInstaller.php#L11
from zend-component-installer.
yes:
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 1 update, 0 removals
- Updating zendframework/zend-component-installer (0.3.1 => 0.6.0) Loading from cache
Deprecation Notice: The callback Zend\ComponentInstaller\ComponentInstaller::onPostPackageInstall declared at /Users/samsonasik/www/zfproject/vendor/zendframework/zend-component-installer/src/ComponentInstaller.php accepts a Composer\Script\PackageEvent but post-package-install 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:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:317
from zend-component-installer.
@samsonasik So is it still wrong or is fine now? Sorry, I'm lost ;-) In code all seems to be fine. Thanks!
from zend-component-installer.
@webimpress deprecation still shown.
from zend-component-installer.
I cannot recreate this currently.
To test, I did the following:
$ composer create-project zendframework/skeleton-application test
This did demonstrate the deprecation notices, but that was to be expected; the skeleton is currently pinned to the 0.3.0 release of this package.
I chose to do a minimal install. Interestingly, while the plugin was installed, it was not represented in my composer.json
; in fact, no require-dev
section was listed, which was kind of strange. As such, I ran the following:
$ composer require --dev zendframework/zend-component-installer
This installed 0.7.0, which we just tagged today. That release contains no changes to what version of the composer plugin API we require or exercise.
I then did the following:
$ composer require zendframework/zend-form
I received no deprecation notices.
Since we cannot determine how to reproduce, I'm closing the issue.
from zend-component-installer.
Related Issues (20)
- Not really works with development mode HOT 3
- zf3 skeleton development config injection improvement
- Disable the repo wiki HOT 1
- Allow non-default filesystem layout HOT 3
- Config injector do not support escaped slashes in modules names HOT 1
- Deprecation Notice on every ZF module install HOT 4
- Migration from Zend\Expressive\ConfigManager to Zend\ConfigAggregator HOT 1
- maybe time for 1.0 release? or there is a reason why not? HOT 1
- [Question] Config Providers (aka Modules) Prioritization for Expressive Application HOT 1
- ConfigAggregatorInjector does not correctly identify registered config providers
- Fatal error while component removal HOT 1
- Add PHP 7.2 support, drop HHVM HOT 1
- Deprecation warning using Composer 1.5.2 when requiring packages HOT 2
- Documentation folder is named `docs` instead of `doc` HOT 1
- Whitelist packages to prevent prompt during installation
- Automatically inject into config file if there's one choice HOT 4
- Whitelisted components / dev dependencies / Injection HOT 1
- Using `composer install --no-interaction` is injecting modules into modules.config.php HOT 9
- Modules are injected as Components (at the beginning of the module config) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zend-component-installer.