Issue #3159002 by thetwentyseven, chizh273: Fix phpcs violations. Add tests for ShipmentLogSubscriber.
Closes #3159002