Closed (fixed)
Project:
Block Scheduler
Version:
2.0.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
29 Jul 2026 at 13:57 UTC
Updated:
17 Sep 2026 at 20:35 UTC
Jump to comment: Most recent
Drupal 11 requires minimum PHP8.4 and PHP8.5.
Please consider the module code and include any changes (if needed) to upgrade the code and roll into a new release for Drupal 11 ASAP please.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
cebab54 commentedComment #3
cebab54 commentedComment #6
yusuf_khan commented@ cebab54 I've pushed a merge request (!4) with the following changes I've added ci file and for Drupal 11 / PHP 8.4+ compatibility:
PHP 8.4/8.5 compatibility:
- Added #[\Override] attribute to all overridden methods in Expiry.php
- Added proper type hints (string, mixed, AccessResultInterface) to function signatures
- Made providerGetCacheMaxAge() static (required by PHPUnit 10+)
- Updated core_version_requirement to include ^11
- Updated drupal/core requirement to include ^11
OOP hooks (Drupal 11):
- Created src/Hook/BlockSchedulerHooks.php with #[Hook('help')] and #[Hook('block_access')] implementations
- Added #[LegacyHook] on procedural functions in .module for backwards compatibility
Spelling fixes:
- Fixed upublish typo → unpublish in ExpiryTest.php
- Added .cspell.json for project-specific dictionary words
Ready for review.
Comment #7
cebab54 commentedThank you
Comment #8
liam morlandComment #9
robloachLooking good. Adding a couple other fixes.
Comment #10
robloachComment #11
robloach