ReflectionParameter::getClass() is deprecated when running artisan migrate
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
The failure happens when php artisan migrate runs, so start by reproducing it and reading the stack trace to find which getClass() call on a ReflectionParameter triggers the deprecation. Search the PHP sources for ->getClass() and replace it with the non-deprecated equivalent for the PHP version in use, such as getType(). Done means php artisan migrate completes and creates the database tables without the ErrorException. The issue has no comments or maintainer reply, so confirm the target PHP version before editing.
Written by the indexing model from the issue text.
Description
steven@raspberrypi:~/public-html/compass $ php artisan migrate
[ErrorException]
Method ReflectionParameter::getClass() is deprecated
It appears the script aborts at this point as the database tables are not created.
- Dominant language
- JavaScript
- Stars
- 143
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from aaronpk/Compass
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
docker supportOpen
Difficulty 5/5 Over a week Newbie friendliness 12/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
needs:triage
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
fix(readme): skills.sh badge says 'resource not found' and the skills.sh link is a 404; skills.sh still lists the old name tdk-skillsPossibly taken @bfs2021 claimed this today. Openarea: ci area: docs badge bug chore cleanup consistency developer-experience difficulty: easy docs documentation good first issue hygiene journey: first-visit links priority: P3 skills user-journey
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
flisk-sh/flisk-skills#39 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Ionaru/easy-markdown-editor#656 ·