for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
final class WikibaseQualityExternalValidationHooks {
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
/**
* @param DatabaseUpdater $updater
*
* @return bool
*/
public static function onCreateSchema( DatabaseUpdater $updater ) {
$updater->addExtensionTable( 'wbqev_dump_information', __DIR__ . '/sql/create_wbqev_dump_information.sql' );
$updater->addExtensionTable( 'wbqev_external_data', __DIR__ . '/sql/create_wbqev_external_data.sql' );
$updater->addExtensionTable( 'wbqev_identifier_properties', __DIR__ . '/sql/create_wbqev_identifier_properties.sql' );
return true;
}
public static function onUnitTestsList( &$paths ) {
$paths[] = __DIR__ . '/tests/phpunit';
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.