GithubHelp home page GithubHelp logo

About php5 branch about php-qrcode HOT 6 CLOSED

chillerlan avatar chillerlan commented on May 15, 2024
About php5 branch

from php-qrcode.

Comments (6)

codemasher avatar codemasher commented on May 15, 2024

To be honest: i'd rather advise this one person to upgrade their php version to 7+. I've declared php5 for dead a year ago already and dropped support for it - 7.0 is seeing its end already and nobody should be using php5 still. Long term support does not mean we should still be actively developing for it, but rather encourage upgrading. (but that's only my personal opinion ;)

Anyway, i've used my phpstorm superpowers and saw that it was only the combined imports, return types and scalar type hints as well as 2 null coalesce operators, so the change took only a couple minutes - voilà: 1ba7f20

from php-qrcode.

daggerhart avatar daggerhart commented on May 15, 2024

This is awesome, thank you so much for taking the time to make these changes! What do you think my next step would be to use this branch? I'm no composer expert, so I'm not sure where to go from here. Are you planning to making this part of the official 2.x branch and continuing to support php 5.6 officially? Or will this live as its own branch and become available through packagist? I've never provided a library through packagist so I don't really know how much work I'm asking of you. Please let me know if I can help in any way.

As far as encouraging upgrades, I'm with you there. I maintain a few WP related projects, and if you don't like supporting php 5.6 you should try having to support php 5.2 🙄. But ultimately I try to support whatever the platform supports because not every developer is in a position to change their hosting setup. I have a lot of empathy for devs who are stuck having to do whatever they are told to do because I've been there.

Thanks again!

from php-qrcode.

codemasher avatar codemasher commented on May 15, 2024

You're very welcome! I'm no composer/packagist expert either and i'm trying to find out how i can tag the php5 release so that it does not interfere with master. 2.0.1-php5 didn't show up on packagist and i'm a bit clueless.

I don't plan to merge it back into the main branch - strict type hinting in php7 is one of the things i don't want to live without anymore. I've even started dropping anything less than 7.2 because 7.2 finally brings strong encryption and more awesome stuff - it's a delight writing php like that.
As much as i can understand not being able to upgrade, i prefer to be up-to-date and future proof.
There is a point where it's no longer worth the effort staying backward compatible, especially in a language that has some reputation for its security issues and when EOL is less than a year away (for both, 5.6 and 7.0) so it's not only time to encourage people to upgrade, but eventually also ring the alarm bells too.

I'm glad that i'm in a position that allows me to do what i want - i've got a "normal" day job that pays my bills and programming is what i do as a hobby - it preserves the creativity, and while i'm at it i'm trying to refresh some outdated things and maybe make some people's lives easier (which also means, i'll do the things i just did for you if it's feasible).

cheers!

from php-qrcode.

codemasher avatar codemasher commented on May 15, 2024

update! i managed to get it under the stable relase tag 1.0.8! "chillerlan/php-qrcode": "1.0.8". Please let me know if that works for you. Thanks!

edit: fyi: the version number is only virtual, i just chose 1.0.8 as this would be the follow-up php5 release. Technically i'd break the 1.0.x API but that tag isn't used anymore, so i don't worry much.

from php-qrcode.

daggerhart avatar daggerhart commented on May 15, 2024

Awesome! I think this is perfect and we can close this issue.

Thanks again for the help with everything!

from php-qrcode.

codemasher avatar codemasher commented on May 15, 2024

That's great! I'm going to close this issue. Feel free to add any feedback!

from php-qrcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.