Skip to content
New issue

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

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

Already on GitHub? # to your account

[FEATURE] Allow user to define media types to keep and keep print type by default #178

Closed
wants to merge 2 commits into from
Closed

Conversation

Renkas
Copy link
Contributor

@Renkas Renkas commented Jun 19, 2015

I think print styles should be kept by default. But now user can manage himself what types to keep/drop.

Original #68

@oliverklee
Copy link
Contributor

Hi @Renkas , thanks for the PR! Could you please squash the two commits and then rebase? I've just merged some PRs. Thanks!

$this->subject->setCss($css);
$this->subject->removeAllowedMediaType('print');

$this->assertNotContains(
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please make the assert call static (using self::)?

@oliverklee oliverklee added this to the 1.0.0 milestone Jun 19, 2015
oliverklee pushed a commit that referenced this pull request Jul 6, 2015
oliverklee pushed a commit that referenced this pull request Jul 6, 2015
Also keep the print media type by default.

Fixes #68
FIxes #178
@oliverklee
Copy link
Contributor

@Renkas, I've polished your PR and merged it as #200. Thanks for contributing!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants