Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove check for MediaWiki environment from settings file
Currently, SemanticResultsFormats autoloads its setup file via Composer's autoloader and exits if it does not detect a MediaWiki environment. This prevents developers from executing tools also installed via composer such as the `phpunit` binary, or `phpcs`/`phpcbf`/`phan` etc., as Mermaid will immediately exit the process. As a fix, remove the environment check; this is also consistent with how Semantic MediaWiki itself behaves since SemanticMediaWiki/SemanticMediaWiki#1732 and SemanticMediaWiki/Mermaid#47.
- Loading branch information