for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smart\EtlBundle\Utils;
/**
* @author Mathieu Ducrot <[email protected]>
*/
class StringUtils
{
public static function countRows(string $string): int
return substr_count($string, PHP_EOL) + 1;
}