Skip to content

Harden 0.5.0 release checks - #43

Merged
prateekbhujel merged 2 commits into
mainfrom
release/0.5.0-hardening
Jun 18, 2026
Merged

Harden 0.5.0 release checks#43
prateekbhujel merged 2 commits into
mainfrom
release/0.5.0-hardening

Conversation

@prateekbhujel

Copy link
Copy Markdown
Owner

Summary

  • harden COLUMNS/LINES parsing for getSize() environment fallback
  • invalidate ModeToken objects after a successful restoreMode()
  • add PHPT coverage and update 0.5.0 package/release notes

Tests

  • git diff --check HEAD~2..HEAD
  • php -l terminal.stub.php
  • php -l examples/basic.php
  • php -l examples/prompt.php
  • php -l examples/doctor.php
  • pear package-validate package.xml
  • phpize && ./configure --enable-terminal && make
  • make test REPORT_EXIT_STATUS=1 NO_INTERACTION=1 TEST_PHP_EXECUTABLE=/Applications/XAMPP/xamppfiles/bin/php
  • php -n -d extension=/private/tmp/php-terminal-050-test.WTP1DB/modules/terminal.so examples/doctor.php

@prateekbhujel
prateekbhujel merged commit 72df612 into main Jun 18, 2026
13 checks passed
@prateekbhujel
prateekbhujel deleted the release/0.5.0-hardening branch June 18, 2026 04:05
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.

1 participant