🚀 Guest Plugin PHP 8.4 Migration

ownCloud Guest Plugin - Test Results

✅
All Tests Passing!
PHP 8.4.17 • PHPUnit 10.5.60
24
Tests
53
Assertions
0
Failures
100%
Pass Rate
GroupBackend Tests 19 passed
✓ Group exists
✓ Group name
✓ Actions
✓ Group membership
✓ User groups
✓ No members
✓ Default parameters
✓ Get users search (5 data sets)
✓ Get users paging (7 data sets)
Hooks Tests 5 passed
✓ Unsupported share type
✓ Non guest user
✓ Post share hook with no user
✓ Post share hook for registered guest
✓ Post share hook for new guest
📋 Migration Summary

The Guest Plugin has been successfully migrated to PHP 8.4 with the following changes:

  • Updated composer.json to require PHP 8.4+
  • Added declare(strict_types=1) to all PHP files
  • Replaced deprecated string functions with modern alternatives
  • Fixed implicit nullable type declarations
  • Updated PHPUnit tests for version 10.5 compatibility
  • Added proper type hints throughout the codebase
View Pull Request #4 →