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

Fix EnsureExplicitNullableTypes #1716

Merged

Conversation

smnandre
Copy link
Contributor

Improve the regexp pattern to

  • allow "mixed"
  • allow fqcn (\Foo) & aliases (Foo\Bar)

Improve line number reporting (taken from #1714)

Improve the regexp pattern to
* allow "mixed"
* allow fqcn (\Foo) & aliases (Foo\Bar)

Improve line number reporting (replace OskarStark#1714)
new RstSample(['.. code-block:: php', $validCase]),
new RstSample([
'.. code-block:: php',
' '.$validCase,
Copy link
Owner

Choose a reason for hiding this comment

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

just for clarification, this indention is needed, otherwise the code does not belong to the code block

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh ok ! Thanks for the explanation :)

@OskarStark OskarStark merged commit 481cebd into OskarStark:develop Apr 17, 2024
6 of 8 checks passed
@OskarStark OskarStark added the bug Something isn't working label Apr 17, 2024
OskarStark added a commit that referenced this pull request Apr 17, 2024
* develop:
  Fix EnsureExplicitNullableTypes (#1716)
  composer(deps-dev): bump phpstan/phpstan from 1.10.66 to 1.10.67 (#1715)
  composer(deps-dev): bump phpunit/phpunit from 10.5.17 to 10.5.18 (#1712)
@OskarStark OskarStark mentioned this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants