Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix obviously wrong class name references (#36769)
Almost all are phpdoc comments where the class was missing a `use` or leading `\`. More specifically, I searched for cases where Phan was complaining about classes named like `\Automattic\...\Automattic\`, or `\WP_...`, or `Exception` classes, and fixed all the obvious ones. Then I also searched for "undeclared {class|type} \[a-z]" and fixed the obvious ones out of that too (e.g. "obj", "number", and various typos). Note that having the correct typing allows Phan to complain about possibly-real issues in some cases. Those will have to be reviewed later. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/8596601938
- Loading branch information