Automattic / Automattic/mShots
Undefined variable on tests/MshotsTest.php
Open
Beginner friendly
- Dominant language
- JavaScript
- Stars
- 118
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
How to reproduce:
- `npm run test:php`
Results:
`PHP Warning: Undefined variable $query in tests/MshotsTest.php on line 127`
Contributor guide
No contributing guide indexed for this repository
Research direction
Open tests/MshotsTest.php around line 127 and run npm run test:php to reproduce the PHP warning about the undefined $query variable. Trace the test setup and make the warning disappear without breaking the test suite; done means the command passes without that warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100