Skip to content

Conversation

@faissaloux
Copy link
Owner

This PR introduces a new expectation toReturnUppercase(), which makes sure your php file returns only uppercase.

Success

file.php returns only uppercase.

// file.php

return [
    'PESTPHP',
    'PEST',
    'PLUGIN INSIDE',
];

Fails

file.php returns a lowecase.

// file.php

return [
    'PESTPHP',
    'pest',
    'PLUGIN INSIDE',
];

@faissaloux faissaloux added this to the 1.9.0 milestone Jun 20, 2025
@faissaloux faissaloux self-assigned this Jun 20, 2025
@faissaloux faissaloux added the enhancement New feature or request label Jun 20, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jun 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.93%. Comparing base (b477829) to head (4e3e7d1).
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #20      +/-   ##
============================================
+ Coverage     93.28%   93.93%   +0.65%     
- Complexity       53       59       +6     
============================================
  Files             5        5              
  Lines           149      165      +16     
============================================
+ Hits            139      155      +16     
  Misses           10       10              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@faissaloux faissaloux merged commit 5fdcd00 into main Jun 20, 2025
76 checks passed
@faissaloux faissaloux deleted the toReturnUppercase branch June 20, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants