Closed soenkesmiletzki closed 1 year ago
Hello @soenkesmiletzki! 👋🏻
You must have Composer v2. This package was written for v1.
Please consider contributing.
Oh, very fast reply, thanks a lot.
I'm using Composer 2.3.10 and I'm using 0.2.0:
"szepeviktor/composer-envato": "^0.2.0"
Actually I do not know anything about this package. It was written for 1 client for free.
Please consider sending a PR.
It turns out v0.2.0 supports Composer v2. https://github.com/szepeviktor/composer-envato/compare/v0.1.2...v0.2.0
A small fix would resolve your issue!
Sounds great, but how to do this?
Simply by sending a Pull Request.
I think latest PHPStan will show every problem.
sorry, I dont know :-(
No chance to get a working version?
Do you mean I would work on the problem?
I was receiving that same error, but after updating Composer to the latest version it went away, but after creating the config.json and adding the package to my project's composer.json and running composer update
, composer returned an error that it couldn't find that package.
I think latest PHPStan will show every problem.
Running PHPStan, within your codebase should show errors that need be resolved? Going to try this
Fixed in #10
Hello, I try to install your composer-envato, but it doesnt work :-( I extended the composer.json at the config array like:
But after this I get an error:
PHP Fatal error: Declaration of SzepeViktor\Composer\Envato\EnvatoPackage::getDistType() must be compatible with Composer\Package\Package::getDistType(): ?string in /var/www/html/vendor/szepeviktor/composer-envato/src/EnvatoPackage.php on line 53
Fatal error: Declaration of SzepeViktor\Composer\Envato\EnvatoPackage::getDistType() must be compatible with Composer\Package\Package::getDistType(): ?string in /var/www/html/vendor/szepeviktor/composer-envato/src/EnvatoPackage.php on line 53
Any Idea?