Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Dec 13, 2025

There were some unexpected behavior (when expecting the same as Node.js or PHP do) in both methods.
Those were "documented" in the tests but never fixed. Adjusted both functions to behave like Node.js and also in most cases like PHP.

Due to the long standing todo lets consider this breaking an do a v3.

There were some unexpected behavior (when expecting the same as Node.js
or PHP do) in both methods.
Those were "documented" in the tests but never fixed.
Adjusted both functions to behave like Node.js and also in most cases
like PHP.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux requested review from Antreesy and artonge December 13, 2025 01:51
@susnux susnux added bug Something isn't working 3. to review labels Dec 13, 2025
@susnux susnux added this to the 3.0.0 milestone Dec 13, 2025
@codecov
Copy link

codecov bot commented Dec 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1ef323a) to head (eccf0f7).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #839      +/-   ##
===========================================
+ Coverage   91.66%   100.00%   +8.33%     
===========================================
  Files           1         1              
  Lines          36        45       +9     
  Branches        7        10       +3     
===========================================
+ Hits           33        45      +12     
+ Misses          3         0       -3     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@susnux susnux mentioned this pull request Dec 13, 2025
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux merged commit aca865f into main Dec 16, 2025
7 checks passed
@susnux susnux deleted the fix/compat branch December 16, 2025 12:10
@susnux susnux mentioned this pull request Dec 16, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants