Skip to content

Conversation

@Tobion
Copy link
Contributor

@Tobion Tobion commented Sep 5, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Having false in the body breaks typehints in the serializer and is not consistent with other transports like doctrine. See php-amqp/php-amqp#351

@nicolas-grekas
Copy link
Member

Thank you @Tobion.

nicolas-grekas added a commit that referenced this pull request Sep 6, 2019
This PR was merged into the 4.3 branch.

Discussion
----------

[Messenger] fix empty amqp body returned as false

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no <!-- 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 |
| License       | MIT
| Doc PR        |

Having `false` in the body breaks typehints in the serializer and is not consistent with other transports like doctrine. See php-amqp/php-amqp#351

Commits
-------

ee5cbe3 [Messenger] fix empty amqp body returned as false
@nicolas-grekas nicolas-grekas merged commit ee5cbe3 into symfony:4.3 Sep 6, 2019
@Tobion Tobion deleted the amqp-false-body branch September 6, 2019 14:37
@fabpot fabpot mentioned this pull request Oct 7, 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.

3 participants