Coder Social home page Coder Social logo

Comments (3)

byjg avatar byjg commented on August 28, 2024

Hello, thank you :)

I am using PHPStorm 2020.1 too on a Linux machine and it works both for localhost and 127.0.0.1. The run configuration shared I am using to test it inside the PHPStorm platform is:

image

I don't remember why I am not using localhost but probably it is related to the Travis CI .

Please double check your configuration just to make sure nothing is wrong there. If is really necessary change to localhost, once you open a PR, the Travis platform will start the build and you can check if it is working fine. If is, It will be my pleasure integrate it to the code.

And remember to add the proper unit tests to the new cases you are adding :)

from php-swagger-test.

pionl avatar pionl commented on August 28, 2024

I did not change anything and the settings are same as you provided.

Event I can open localhost:8081 in browser or use curl localhost but tests fails in PHP (using local MacOS PHP interpreter - 7.3).

from php-swagger-test.

pionl avatar pionl commented on August 28, 2024

The problem is that in Mac the 127.0.0.1 is not binding when you provide localhost in PHP configuration. The swagger uses 127.0.0.1 but PHP run uses localhost :)

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.