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

Add default resizer and default resizer adapter #721

Closed
wants to merge 1 commit into from
Closed

Add default resizer and default resizer adapter #721

wants to merge 1 commit into from

Conversation

hanovruslan
Copy link
Contributor

Implementation of #700

@hanovruslan
Copy link
Contributor Author

ping @rande

@hanovruslan
Copy link
Contributor Author

ping @rande )

@hanovruslan
Copy link
Contributor Author

@rande i see other PRs have response, and why this is not ? Is it really not good for bundle ?

@hanovruslan
Copy link
Contributor Author

Anybody ping?)

@hanovruslan
Copy link
Contributor Author

ping @rande )

if (extension_loaded('gmagick')) {
$this->isInstanceOf('Imagine\\Gmagick\\Imagine', $this->container->get('sonata.media.adapter.image.gmagick'));
}
if (!extension_loaded('gd') && !extension_loaded('imagick') && extension_loaded('gmagick')) {
Copy link
Member

Choose a reason for hiding this comment

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

Should be !extension_loaded('gmagick') I think.

@soullivaneuh
Copy link
Member

I'm not an active user of this bundle, but I'll try to take a look soon.

Can you please fix my quick review?

@hanovruslan
Copy link
Contributor Author

@soullivaneuh yep, i'll do it but later this day
and thanks for response !)

@hanovruslan
Copy link
Contributor Author

How to pass "SonataCI - Quick Check" ? I missed smth from contributing rules?

@rande
Copy link
Member

rande commented Sep 27, 2015

@hanovruslan I need to fix " SonataCi / Sandbox / PHPUnit — None ", there is nothing wrong on your side.

@hanovruslan
Copy link
Contributor Author

there is nothing wrong on your side

Sounds good!

@soullivaneuh
Copy link
Member

Travis is still failing.

@hanovruslan
Copy link
Contributor Author

Yep, i must learn that sonata has php 5.3 support. Sorry for that

@hanovruslan
Copy link
Contributor Author

Travis is still failing.

Fixed

@OskarStark
Copy link
Member

ping @rande can you please review this PR?

thank you

}

/**
* @param \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $node
Copy link
Member

Choose a reason for hiding this comment

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

Don't use FQN. Import class instead.

@core23
Copy link
Member

core23 commented May 26, 2016

@hanovruslan SonataCI is just a bot, you can't ping him ;)

@core23
Copy link
Member

core23 commented May 26, 2016

We're updating all version, please be patient

Refs sonata-project/SonataAdminBundle#3731

@hanovruslan
Copy link
Contributor Author

@core23 Yep, i know that but maybe github has some feature like mail groups ))

@hanovruslan
Copy link
Contributor Author

We're updating all version, please be patient

Refs sonata-project/SonataAdminBundle#3731

@core23 Should i just wait for something ? As you can see this PR does not play with deps.

@soullivaneuh
Copy link
Member

According to the new Sonata version management and next major release plan, this project has been refactored regarding branching and versioning.

If you see this message, your PR concerns a patch or a minor release and is not targeting the right branch.

So I'm closing this one, but don't see it as a refusal. If you think your work is still relevant and want to continue, feel free to reopen it on the right branch (e.g. the default one).

Regards.

@OskarStark
Copy link
Member

is this a BC break?

@hanovruslan
Copy link
Contributor Author

@OskarStark as far as i know - no, there is no BC break. But. I've done this PR long time ago (more than year) and i think test on real app would be helpful

@OskarStark
Copy link
Member

i think test on real app would be helpful

are you willing to to this?

@hanovruslan
Copy link
Contributor Author

@OskarStark yep, but in about a week i guess. Not today for sure

@OskarStark
Copy link
Member

@OskarStark yep, but in about a week i guess. Not today for sure

thanks for your effort 👍

@@ -22,7 +22,7 @@
class SimpleResizer implements ResizerInterface
{
/**
* @var ImagineInterface
* @var ImagineInterface.
Copy link
Member

Choose a reason for hiding this comment

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

Please remove the .

@core23
Copy link
Member

core23 commented Jun 11, 2016

Please rebase and apply the new PR template @hanovruslan

$this->configureClassesToCompile();
}

/**
* @param ContainerBuilder $container
* @param array $config
*/
public function configureProviders(ContainerBuilder $container, $config)
public function configureAdapters(ContainerBuilder $container, array $config)
Copy link
Member

Choose a reason for hiding this comment

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

Why public? Can we make this at least protected?

@soullivaneuh
Copy link
Member

is this a BC break?

@OskarStark as far as i know - no, there is no BC break. But. I've done this PR long time ago (more than year) and i think test on real app would be helpful

@hanovruslan in this case, please reopen this PR against the stable branch (3.x).

Thanks again. 👍

Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants