mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
955e0bb5bb
The way this test is set up means the $this->params property is not initialized. It is only initialized when execute() is, well, executed. Since there is not really a guarantee this will always happen before the failing method is called, I figured it's better to add this cheap safety check in the production code. Taggign with T233012 because I believe this extension is a gated one for many other codebases. Bug: T233012 Change-Id: Ie0060125cf4646d80f8c88eedd01551f66e3fb89 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |