https://bugzilla.wikimedia.org/show_bug.cgi?id=63224

--- Comment #10 from Jeroen De Dauw <[email protected]> ---
> ./PropertySuggester.php
> Please don't require_once /vendor/autoload.php

> If it's only needed for testing, can you also check that PHP_SAPI == 'cli'?

Good point here. You indeed do not need to have this in the enty point file at
all. Including it in the test bootstarp is better. Example:

https://github.com/wmde/WikibaseInternalSerialization/blob/master/tests/bootstrap.php

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to