Fixed exceptions
Merge branch 'fix-exceptions'
[1.1.1] Updated CHANGELOG
Fixed locations

When passing the location, the following instruction was used:

    $location ?: $text->getCurrentLineNumber();

Meaning that passing 0 or null would be equivalent as passing the current line
number. Now the following is used:

    null !== $location ? $location : $text->getCurrentLineNumber();

So only ommiting the location argument will trigger the current line.
Merge branch 'fix-locations'
[1.1.2] Updated CHANGELOG