Comments (6)
I've committed them on the issue/354-add-failing-tests branch of my fork of this repo.
from zend-diactoros.
Yeah, I looked at the same thing, but found this page in the Travis docs which states that;
PHP builds are not available on the macOS environment.
😞
from zend-diactoros.
As mentioned in the comments on the PHP bug which I linked, this issue seems to be platform specific (as well as depending on what locale is set).
After quite a bit of trying, I've so far been unable to write any unit test for this which fails on Travis, and I'm now running out of ideas.
I can at least say for sure that this is definitely reproducible on MacOS, and have had other people around the office run the tests on their Mac machines and see the same failures.
from zend-diactoros.
@Pudge601 Can you then provide the test which is failing on MacOS? I'll check on mine and maybe will have some ideas...
from zend-diactoros.
@Pudge601 I am getting errors on MacOS as you said. What if we update Travis to run tests on different environments? See: https://docs.travis-ci.com/user/multi-os/
I see you've suggested some solutions, so we can resolve it. But not sure if it is worth to do it, if the problem is only on MacOS...
from zend-diactoros.
This repository has been closed and moved to laminas/laminas-diactoros; a new issue has been opened at laminas/laminas-diactoros#9.
from zend-diactoros.
Related Issues (20)
- Return types inaccurate HOT 5
- ServerRequest: Header with value "0" discarded HOT 6
- Segfault in PHP 7.3.0 when instantiating HtmlResponse in Built-in Web Server HOT 13
- Version 2.0.2 breaks on Apache HOT 5
- get an exeption from ServerRequestFactory::fromGlobals if i make get req without variables HOT 4
- Header error with Docker container usage HOT 12
- ServerRequestFactory::fromGlobals() breaking on windows x64 HOT 3
- Empty header check breaking change HOT 4
- Uncaught TypeError: Return value of Zend\\Diactoros\\Uri::filterQueryOrFragment() must be of the type string, null returned HOT 7
- Array cookies not parser properly HOT 1
- marshallHttps incorrectly detects HTtPS-connection
- Generators are not supported for JSON responses. HOT 1
- BUG: marshalHeadersFromSapi assume all SERVER keys are strings HOT 1
- LTS Version 1.7 is missing a security fix HOT 5
- PHP Parse error: syntax error, unexpected '?', expecting variable @ marshal_uri_from_sapi.php on line 83 HOT 7
- Can UploadedFile extend SplFileInfo ? HOT 12
- PhpInputStream's getSize function is Wrong! HOT 4
- Probably an incorrect test case testAuthorityIsPrefixedByDoubleSlashIfPresent in UriTest.php HOT 1
- PHP Fatal error: require(): Failed opening required zendframework/zend-diactoros/src/functions/create_uploaded_file.php HOT 4
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 zend-diactoros.