Comments (8)
I have this package installed on an existing project. Trying running one of these commands
composer i --no-dev --optimize-autoloader --classmap-authoritative
composer update
composer update "ipinfo/ipinfo"
One of these should output the above deprecation warning messages on your console.
This would also require you to make a new major version release to avoid breaking changes if existing projects use the current namespacing.
from php.
It seems that the PSR-4
autoloading will not be compatible on composer-2.0
version.
And I think it should be fixed.
from php.
Hi @abishekrsrikaanth, thanks for your approach and I can reproduce the issue as well.
You're right. It should release a major version to accomplish this issue :).
from php.
@peter279k
Any update on PSR-4 compliance issue.
composer.json
{
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
"ipinfo/ipinfo": "dev-master"
}
}
This seem to resolve the PSR-4 compliance issue with composer 2.0.2 as composer cloned bde9ce0 commit by @coderholic.
However wouldn't it be better to push your latest changes to packagist with newer version.
from php.
We'll be releasing the latest version (actually, probably a 2.0.0 with some more fixes and updates) to packagist soon.
from php.
@abishekrsrikaanth, could you have the approaches about reproducing issue?
I cannot reproduce this issue by myself.
I try to use following issue to reproduce:
- Using the composer-1.10.1
to install
ipinfo/ipinfo` package.
php ~/composer.phar require ipinfo/ipinfo
- Then changing the
ipinfo/ipinfo
version^1.1
todev-master
oncomposer.json
file. - Using the
php ~/composer.phar require ipinfo/ipinfo
to update theipinfo/ipinfo
package.
And I don't have any message about deprecation notice message.
from php.
https://packagist.org/packages/ipinfo/ipinfo#v2.0.0
from php.
run command:
composer self-update 1.6.3
to downgrade to an earlier version of composer, temporary fix.
from php.
Related Issues (20)
- Step by step install not working HOT 4
- Implement Stringable interface
- More info on why response object can be null when calling IPinfo::getDetails() HOT 12
- Hopper
- Retrieving your public IPv6 address
- The php api does not work on the server but it does on the localhost HOT 1
- Make it possible to use sabre/cache version 2 HOT 4
- Just a detail (php8.2): Creation of dynamic property ipinfo\ipinfo\IPinfo::$settings is deprecated HOT 1
- Error with cache key HOT 1
- Inline all data files HOT 1
- Retrieving an IPV6 throw an exception HOT 1
- Can I use downloaded Geolocation API database to initialize this client? HOT 1
- Does not work with PHP 8.2+ HOT 1
- Hi
- 1
- FONT FAMILIES. GUESS IT WAS FORFIÉTURE HOT 1
- `
- {
- https://www.alonsodomin.me/cron4s/userguide/index.html#parsing
- PHP Fatal error: cURL error 28: Connection time-out
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 php.