retailcrm / mg-bot-api-client-php

PHP client for MG Bot API
MIT License
3 stars 12 forks source link

[fix] nullable types to avoid exceptions when properties is not set #9

Closed Neur0toxine closed 5 years ago

codecov-io commented 5 years ago

Codecov Report

Merging #9 into master will not change coverage. The diff coverage is 41.37%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #9   +/-   ##
=========================================
  Coverage     62.83%   62.83%           
- Complexity      590      619   +29     
=========================================
  Files            52       52           
  Lines          1321     1321           
=========================================
  Hits            830      830           
  Misses          491      491
Impacted Files Coverage Δ Complexity Δ
src/Bot/Model/Entity/Message/Message.php 27.5% <0%> (ø) 42 <4> (+2) :arrow_up:
src/Bot/Model/Entity/Message/Item.php 0% <0%> (ø) 7 <2> (+1) :arrow_up:
src/Bot/Model/Entity/Chat/ChatLastMessage.php 0% <0%> (ø) 7 <2> (+1) :arrow_up:
src/Bot/Model/Entity/Chat/ChatMember.php 42.85% <0%> (ø) 15 <2> (+1) :arrow_up:
src/Bot/Model/Entity/Chat/Chat.php 27.27% <0%> (ø) 23 <2> (+1) :arrow_up:
src/Bot/Model/Entity/Message/MessageProduct.php 100% <100%> (ø) 15 <2> (+1) :arrow_up:
src/Bot/Model/Request/CommonFields.php 50% <100%> (ø) 7 <2> (+1) :arrow_up:
src/Bot/Model/Request/MessageEditRequest.php 100% <100%> (ø) 5 <2> (+1) :arrow_up:
src/Bot/Model/Response/FullFileResponse.php 50% <25%> (ø) 12 <8> (+4) :arrow_up:
src/Bot/Model/Response/UploadFileResponse.php 37.5% <37.5%> (ø) 24 <16> (+8) :arrow_up:
... and 3 more

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 5f6179e...e111b8d. Read the comment docs.