magento / magento/data-migration-tool
Php 8.2 Compatibility
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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