Skip to content

Support PHP 8.4 #33

@jldust

Description

@jldust

Describe the bug
When upgrading sites to PHP 8.4 there is now a depreciation notice related to the Workgroup:Api

Current warning that is output:
Deprecated: Drupal\stanford_samlauth\Service\WorkgroupApi::callApi(): Implicitly marking parameter $workgroup as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/custom/stanford_samlauth/src/Service/WorkgroupApi.php on line 168

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade Drupal 11 site's PHP to v8.4
  2. Clear cache
  3. Deprecated warning appears

Expected behavior
No deprecated warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions