aldas / modbus-tcp-client

PHP client for Modbus TCP and Modbus RTU over TCP (can be used for serial)
Apache License 2.0
191 stars 55 forks source link

V3 (PHP8+, argument and return types) and add FC22 #108

Closed aldas closed 2 years ago

aldas commented 2 years ago

[3.0] - 2022-04-11

Breaking change - types for all arguments/return values

Changed

Added

codecov[bot] commented 2 years ago

Codecov Report

Merging #108 (e901ccd) into master (20b5a65) will decrease coverage by 0.02%. The diff coverage is 99.55%.

:exclamation: Current head e901ccd differs from pull request most recent head e18bc16. Consider uploading reports for the commit e18bc16 to get more accurate results

@@             Coverage Diff              @@
##             master     #108      +/-   ##
============================================
- Coverage     99.12%   99.09%   -0.03%     
- Complexity      820      837      +17     
============================================
  Files            66       68       +2     
  Lines          1943     1997      +54     
============================================
+ Hits           1926     1979      +53     
- Misses           17       18       +1     
Flag Coverage Δ
unittests 99.09% <99.55%> (-0.03%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Composer/RegisterAddress.php 100.00% <ø> (ø)
src/Composer/Write/Coil/WriteCoilAddress.php 100.00% <ø> (ø)
src/Network/SerialStreamCreator.php 93.75% <ø> (ø)
...cket/ModbusFunction/WriteMultipleCoilsResponse.php 100.00% <ø> (ø)
.../ModbusFunction/WriteMultipleRegistersResponse.php 100.00% <ø> (ø)
.../Packet/ModbusFunction/WriteSingleCoilResponse.php 100.00% <ø> (ø)
...ket/ModbusFunction/WriteSingleRegisterResponse.php 100.00% <ø> (ø)
src/Packet/ProtocolDataUnit.php 100.00% <ø> (ø)
src/Packet/QuadWord.php 100.00% <ø> (ø)
src/Packet/RtuConverter.php 100.00% <ø> (ø)
... and 56 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 20b5a65...e18bc16. Read the comment docs.