LeKoala\DevToolkit\Helpers\EmptySpaceFinder
Helper class to find spaces in your current scope that break everything in ajax requests...
Synopsis
class EmptySpaceFinder
{
- // constants
- const REGEX_OPENING = '/^[\s]+<\?php/';
- const REGEX_CLOSING = '/\?>[\s]+$/';
- // methods
- public static void findSpacesInFiles()
- public static void findSpacesInIncludedFiles()
Constants
Name | Value |
---|---|
REGEX_OPENING | '/^[\s]+<\?php/' |
REGEX_CLOSING | '/\?>[\s]+$/' |