ReflectionParameter::getClass() is deprecated

Open
#327 2 comments 0 reactions 1 assignee View on GitHub

@cicnavi is already working on this.

Since Feb 20, 2026.

Assessment

This issue has not been assessed yet.

Description

prepared

This function is deprecated since PHP 8.0; simpleSAMLphp already has PHP 8.1 as a minimum requirement. It is thus best to move away from using this function.

PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in .../simplesamlphp-2.4.4/modules/oidc/src/Services/RoutingService.php on line 143

See documentation and recommendations for replacement at https://www.php.net/manual/en/reflectionparameter.getclass.php

Dominant language
PHP
Stars
51
Forks
27
Avg merge
12m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simplesamlphp/simplesamlphp-module-oidc

All issues in simplesamlphp/simplesamlphp-module-oidc

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.