Skip to content

PHP 8: Deprecated Functionality: Method ReflectionParameter::getClass() is deprecated in /lib/internal/Magento/Framework/Code/Reader/ClassReader.php on line 34 #31600

@pawan

Description

@pawan

Preconditions (*)

  1. PHP 8.0
  2. Magento 2 - php8-develop branch

Steps to reproduce (*)

  1. clone php8-develop branch
  2. enable php 8
  3. composer install
  4. try to install magento by "sudo php bin/magento setup:install --base-url=http://127.0.0.1/m2_git/ --db-host=localhost --db-name=m2-git --db-user=root --db-password='MyPassword' --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 --search-engine=elasticsearch7 --elasticsearch-host=127.0.0.1 --elasticsearch-port=9200"

Expected result (*)

  1. start magento installation

Actual result (*)

  1. Deprecated Functionality: Method ReflectionParameter::getClass() is deprecated in /lib/internal/Magento/Framework/Code/Reader/ClassReader.php on line 34
  2. error

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions