Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests PSR compatible #34

Merged
merged 5 commits into from
May 15, 2014
Merged

Tests PSR compatible #34

merged 5 commits into from
May 15, 2014

Conversation

goetas
Copy link
Member

@goetas goetas commented May 12, 2014

I have adapted the test suite to be PSR compatible

@goetas goetas mentioned this pull request May 12, 2014
@technosophos
Copy link
Member

I'm good with the move to PSR-4. Punting to @mattfarina to weigh in on this.

@goetas
Copy link
Member Author

goetas commented May 13, 2014

@mattfarina what do you think about this?

use HTML5\Parser\StringInputStream;
use HTML5\Parser\Scanner;
use HTML5\Parser\Tokenizer;
require 'EventStack.php';class TokenizerTest extends \HTML5\Tests\TestCase {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The require and class definition should be on different lines.

@mattfarina
Copy link
Member

The change to a PSR-4 autoloader for the tests makes sense. Let's clean up the couple issues and we can merge this in.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 30aa8a6 on goetas:prs-tests into * on Masterminds:master*.

mattfarina added a commit that referenced this pull request May 15, 2014
Fixes the testing errors and makes the tests PSR compatible
@mattfarina mattfarina merged commit 692140c into Masterminds:master May 15, 2014
@goetas goetas deleted the prs-tests branch June 16, 2014 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants