throw new Exception in Document on line 30
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 107
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
We have throw new Exception in Document.php but PHP 7.2 or more with namespace neeed.
$err = "Parse error: Tried to read past end of input; RTF is probably truncated.";
trigger_error($err);
throw new \Exception($err);
Contributor guide
No contributing guide indexed for this repository
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
Open Document.php and inspect the exception handling around line 30, including the shown trigger_error and throw statements. Confirm the exception works under PHP 7.2+ when the file uses a namespace; done means the parser reports the intended error without a namespace-related exception-resolution failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100