Closed rjb-dev closed 6 years ago
Behat2Renderer currently uses count() to check for null, which causes a lot of warnings in php7.2. This patch re-writes those lines to check for null separately and avoid having all the warnings.
Wouldn't it be better to just initialize the variable in BehatHTMLFormatter to be an empty array instead of doing all of this?
Behat2Renderer currently uses count() to check for null, which causes a lot of warnings in php7.2. This patch re-writes those lines to check for null separately and avoid having all the warnings.