Skip to content

[Console] allow answer to be trimmed by adding a flag #31626

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
Jul 8, 2019

Conversation

Simperfit
Copy link
Contributor

@Simperfit Simperfit commented May 26, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR symfony/symfony-docs#11603

According to #23210 (comment) we add a new flag in the Question class to be able to not trim the answer.

@Simperfit Simperfit force-pushed the feature/allow-answer-to-be-trimmed branch 3 times, most recently from 39a3bb9 to 3f60320 Compare May 26, 2019 16:26
@Simperfit
Copy link
Contributor Author

fabbot failure is a false positive

@chalasr chalasr added this to the next milestone May 26, 2019
@Simperfit Simperfit force-pushed the feature/allow-answer-to-be-trimmed branch from 3f60320 to 782c2ca Compare May 26, 2019 16:30
@Simperfit Simperfit force-pushed the feature/allow-answer-to-be-trimmed branch 2 times, most recently from 6cef233 to de53851 Compare May 31, 2019 08:34
@Simperfit Simperfit changed the base branch from master to 4.4 May 31, 2019 08:34
@Simperfit Simperfit force-pushed the feature/allow-answer-to-be-trimmed branch from de53851 to c355ee0 Compare May 31, 2019 08:35
@Simperfit
Copy link
Contributor Author

@chalasr update to 4.4 and review fixed

@Simperfit Simperfit force-pushed the feature/allow-answer-to-be-trimmed branch from 92091ff to 8f182d8 Compare June 5, 2019 05:34
@Simperfit
Copy link
Contributor Author

AppVeyor failure is unrelated, PR rebased

4.4.0
-----

* added `Question::setTrimmable` default to true to allow the answer to be trimmed or not
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove the or not

@fabpot
Copy link
Member

fabpot commented Jul 8, 2019

Thank you @Simperfit.

@fabpot fabpot merged commit 8f182d8 into symfony:4.4 Jul 8, 2019
fabpot added a commit that referenced this pull request Jul 8, 2019
…(Simperfit)

This PR was merged into the 4.4 branch.

Discussion
----------

[Console] allow answer to be trimmed by adding a flag

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | none   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#11603 <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

According to #23210 (comment) we add a new flag in the `Question` class to be able to not trim the answer.

Commits
-------

8f182d8 [Console] allow answer to be trimmed by adding a flag
@Simperfit Simperfit deleted the feature/allow-answer-to-be-trimmed branch July 8, 2019 12:29
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
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