Fix: Filename validation won't throw false positives anymore

The protected method FileResolver::validateBasename() validates base file names. The problem was it
was making false alerts when a name contained two dots but no directory separator after them (for example:
foobar..twig). Edge cases, I know, fixing anyway.
Typo in composer.json