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

Added in empty catch for json_decode #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

caleuanhopkins
Copy link

Lumen and possible other setups are not having their JSON content decoded in the Symfony request. This is an attempt to capture any missed content from Symfony's request->all() method and prepare it for Botman to carry on delivering the response

Lumen and possible other setups are not having their JSON content decoded in the Symfony request. This is an attempt to capture any missed content from Symfony's `request->all()` method and prepare it for Botman to carry on delivering the response
@codecov
Copy link

codecov bot commented Nov 26, 2018

Codecov Report

Merging #19 into master will decrease coverage by 0.04%.
The diff coverage is 50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #19      +/-   ##
============================================
- Coverage     53.48%   53.44%   -0.05%     
- Complexity       50       52       +2     
============================================
  Files             5        5              
  Lines           172      174       +2     
============================================
+ Hits             92       93       +1     
- Misses           80       81       +1
Impacted Files Coverage Δ Complexity Δ
src/WebDriver.php 74.4% <50%> (-0.4%) 45 <0> (+2)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98f10f4...0199900. Read the comment docs.

@caleuanhopkins
Copy link
Author

Not the same problem but similar and covers details about the root of the issue that spawned this PR: botman/botman#807

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

Successfully merging this pull request may close these issues.

1 participant