Coder Social home page Coder Social logo

Drop PHPUnit 4/5 fallback about php-swagger-test HOT 5 CLOSED

byjg avatar byjg commented on August 28, 2024
Drop PHPUnit 4/5 fallback

from php-swagger-test.

Comments (5)

byjg avatar byjg commented on August 28, 2024 1

Yeah, I see PHPUnit 5.* offers support to PHP 5.6, 7.0 and 7.1. The support for PHPUnit 5.3, 5.4 is no longer necessary.

I created a branch issue-13 for that.

from php-swagger-test.

byjg avatar byjg commented on August 28, 2024

Hi.

I also hate this fallback for PHPUnit, but since we support PHP5.6 I have to maintain this fallback OR drop the support for PHP 5.6 also;

Unfortunately I cannot drop the support for PHP 5.6 at this moment, but I am open for discuss alternatives to solve this problem. If you have some idea will be welcome.

Major Version PHP Compatibility Initial Release Support
PHPUnit 8 PHP 7.2, PHP 7.3, PHP 7.4 February 1, 2019 Support ends on February 5, 2021
PHPUnit 7 PHP 7.1, PHP 7.2, PHP 7.3 February 2, 2018 Support ends on February 7, 2020
PHPUnit 6 PHP 7.0, PHP 7.1, PHP 7.2 February 3, 2017 Support ends on February 1, 2019
PHPUnit 5 PHP 5.6, PHP 7.0, PHP 7.1 October 2, 2015 Support ended on February 2, 2018

from php-swagger-test.

Zeromax avatar Zeromax commented on August 28, 2024

Hi,

thanks for your answer. Ok, I get your point.
maybe it is possible to drop phpunit 4 only and increase to phpunit 5.4.

Cause this is the version when they introduced the \PHPUnit\Framework\TestCase class.
https://phpunit.de/manual/5.4/en/writing-tests-for-phpunit.html

less then 5.4 needs this fallback:
https://phpunit.de/manual/5.3/en/writing-tests-for-phpunit.html

Is this a possibility? So we can keep php 5.6 and remove the fallback.

from php-swagger-test.

Zeromax avatar Zeromax commented on August 28, 2024

Perfect. Thank you.

from php-swagger-test.

byjg avatar byjg commented on August 28, 2024

Added the Release "1.2.4"

from php-swagger-test.

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.