Skip to content

Make command lazy #96

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

Merged
merged 1 commit into from
May 6, 2018
Merged

Conversation

kunicmarko20
Copy link
Contributor

Q A
Bug fix? yes/no
New feature? yes/no
BC breaks? yes/no
Deprecations? yes/no
Fixed tickets #27
License MIT

@kunicmarko20 kunicmarko20 changed the base branch from master to 1.x May 4, 2018 20:28
Copy link
Contributor

@ElectricMaxxx ElectricMaxxx left a comment

Choose a reason for hiding this comment

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

We can remove name definition now, isn't it?

@kunicmarko20
Copy link
Contributor Author

Not sure we can? we still support symfony 2.8? This is on 1.x

@kunicmarko20 kunicmarko20 requested a review from ElectricMaxxx May 5, 2018 19:19
Copy link
Contributor

@ElectricMaxxx ElectricMaxxx left a comment

Choose a reason for hiding this comment

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

Just a question.

@@ -7,7 +7,7 @@
<services>
<service id="fos_ck_editor.command.installer" class="FOS\CKEditorBundle\Command\CKEditorInstallerCommand">
<argument type="service" id="fos_ck_editor.installer" />
<tag name="console.command" />
<tag name="console.command" command="ckeditor:install" />
Copy link
Contributor

Choose a reason for hiding this comment

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

wouldn't that mean, we can omit the name definition in the class now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure, don't we still need it for sf 2.8?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as any sf version < 3.4 doesn't know how to read command="ckeditor:install" and will just ignore it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kunicmarko20 kunicmarko20 requested a review from ElectricMaxxx May 6, 2018 10:06
Copy link
Contributor

@ElectricMaxxx ElectricMaxxx left a comment

Choose a reason for hiding this comment

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

Ok. Then lets drop it later.

@ElectricMaxxx ElectricMaxxx merged commit e9cf107 into FriendsOfSymfony:1.x May 6, 2018
@kunicmarko20 kunicmarko20 deleted the lazy_command branch May 6, 2018 13:53
kunicmarko20 added a commit that referenced this pull request May 7, 2018
ElectricMaxxx pushed a commit that referenced this pull request May 7, 2018
* Revert "make command lazy (#96)"

This reverts commit e9cf107.

* Revert "Replace the Ivory bundle (#98)"

This reverts commit 79986c3.
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.

2 participants