Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks when doing composer update due to Silex 2.3 #47

Closed
nullbtb opened this issue May 3, 2018 · 1 comment
Closed

Breaks when doing composer update due to Silex 2.3 #47

nullbtb opened this issue May 3, 2018 · 1 comment

Comments

@nullbtb
Copy link

nullbtb commented May 3, 2018

Hello,

I did a composer update recently which caused the version of Silex to update to 2.3. This resulted in my tests failing due to always returning 404 even though they always returned the correct body and X-Status-Code: 200.

Some debugging output from strace for a found match:

sendto(4, "HTTP/1.1 404 Not Found\r\nHost: localhost:8181\r\nDate: Wed, 02 May 2018 23:33:55 +0000\r\nConnection: close\r\nX-Powered-By: PHP/7.2.4\r\nSet-Cookie: XDEBUG_SESSION=10818; expires=Thu, 03-May-2018 00:33:55 GMT; Max-Age=3600; path=/\r\nCache-Control: no-cache, private\r\nDate: Wed, 02 May 2018 23:28:09 GMT\r\nX-Status-Code: 200\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n", 357, 0, NULL, 0) = 357

My temporary fix was to lock silex in composer to 2.2.2: "silex/silex": "2.2.2",

@nullbtb nullbtb closed this as completed May 3, 2018
@nullbtb
Copy link
Author

nullbtb commented May 3, 2018

Realized its the same as #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant