Closed CyberiaResurrection closed 4 years ago
Convert the SerialiserUtilitiesTrait and SerialiseLowLevelWritersTraits into the nearest thing I could think of to a static class in PHP.
Each component method is now public and thus directly testable, and the resulting classes do not maintain any internal state.
Coverage decreased (-0.003%) to 97.538% when pulling 52bf74166b25314dcc23f372052cdc6a02e74c91 on CyberiaResurrection:StaticiseUtilityTraits into 2a90b2045293e500ab6b79262534db41cf2d0f42 on Algo-Web:master.
Convert the SerialiserUtilitiesTrait and SerialiseLowLevelWritersTraits into the nearest thing I could think of to a static class in PHP.
Each component method is now public and thus directly testable, and the resulting classes do not maintain any internal state.