Skip to content

Type hints for Safe\preg_match, fixes #40 #43

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
Feb 9, 2025
Merged

Type hints for Safe\preg_match, fixes #40 #43

merged 1 commit into from
Feb 9, 2025

Conversation

shish
Copy link
Collaborator

@shish shish commented Feb 9, 2025

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2025

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 75.92%. Comparing base (b35841a) to head (666548a).

Files with missing lines Patch % Lines
...rc/Type/Php/PregMatchParameterOutTypeExtension.php 0.00% 19 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             master      #43       +/-   ##
=============================================
- Coverage     92.13%   75.92%   -16.21%     
- Complexity       33       41        +8     
=============================================
  Files             7        8        +1     
  Lines            89      108       +19     
=============================================
  Hits             82       82               
- Misses            7       26       +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shish shish changed the title Type hints for Safe\preg_match Type hints for Safe\preg_match, fixes #40 Feb 9, 2025

class PregMatchParameterOutTypeExtensionTest extends TypeInferenceTestCase
{

Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be fixed by php-cs-fixer

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Looks like tests/ aren't covered by the formatter - I'll manually fix for now, and then cover tests in a follow-up

@shish shish force-pushed the pr43 branch 3 times, most recently from 66036d5 to b2a8a6d Compare February 9, 2025 21:45
@shish shish merged commit 71cb3dc into master Feb 9, 2025
10 checks passed
@shish shish deleted the pr43 branch February 9, 2025 22:29
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.

3 participants