magento / magento/data-migration-tool

Php 8.2 Compatibility

Open
#914 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

### Preconditions

1. php 8.2
2. Magento 2.4.6

### Steps to reproduce

1. install data migration tool
3. run Magento compilation: bin/magento setup:di:compile

### Expected result

1. no error

### Actual result

1.
```
In ErrorHandler.php line 62:

Deprecated Functionality: Creation of dynamic property Migration\Logger\FileHandler::$filesystem is deprecated in /var/www/vendor/magento/data-migration-tool/src/Migration/Logger/FileHandler.php on line 50
```

### Additional notes

Contributor guide

Open the contributing guide

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.

Research direction

Start with vendor/magento/data-migration-tool/src/Migration/Logger/FileHandler.php, especially lines 50 and 62, and reproduce the issue by running bin/magento setup:di:compile under PHP 8.2 with the data migration tool installed. Done means compilation completes without the dynamic-property deprecation shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.