10000 Make Symfony\Component\Debug\ExceptionHandler::setFileLinkFormat accept Null as a return type by jlslew · Pull Request #32153 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Make Symfony\Component\Debug\ExceptionHandler::setFileLinkFormat accept Null as a return type #32153

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
Jun 26, 2019

Conversation

jlslew
Copy link
@jlslew jlslew commented Jun 24, 2019

fixes #32150

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

Make Symfony\Component\Debug\ExceptionHandler::setFileLinkFormat accept null as a return type.
Since Symfony requires PHP 7.2+ and that PHP feature was introduced in 7.1, I use that feature instead of changing the default value of the variable.

@xabbuh xabbuh added this to the 5.0 milestone Jun 24, 2019
@xabbuh xabbuh added the Debug label Jun 24, 2019
@fabpot
Copy link
Member
fabpot commented Jun 26, 2019

Thank you @jlslew.

@fabpot fabpot merged commit e6cb7d8 into symfony:master Jun 26, 2019
fabpot added a commit that referenced this pull request Jun 26, 2019
…nkFormat accept Null as a return type (jls-esokia)

This PR was merged into the 5.0-dev branch.

Discussion
----------

Make Symfony\Component\Debug\ExceptionHandler::setFileLinkFormat accept Null as a return type

fixes #32150

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see below -->
| 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 | #32150    <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | - <!-- 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 branch 4.4.
 - Legacy code removals go to the master branch.
-->
Make `Symfony\Component\Debug\ExceptionHandler::setFileLinkFormat` accept null as a return type.
Since Symfony requires PHP 7.2+ and that PHP feature was introduced in 7.1, I use that feature instead of changing the default value of the variable.

Commits
-------

e6cb7d8 Remove return type from ExceptionHandler::setFileLinkFormat
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.

7 participants
0