added missing license headers
added failures as facade for exceptions
ran php-cs-fixer