Completed
Push — master ( 1980e6...750378 )
by
unknown
04:49
created

WikibaseQualityExternalValidationHooks.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
final class WikibaseQualityExternalValidationHooks {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

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.

Loading history...
4
5
	/**
6
	 * @param DatabaseUpdater $updater
7
	 *
8
	 * @return bool
9
	 */
10
	public static function onCreateSchema( DatabaseUpdater $updater ) {
11
		$updater->addExtensionTable( 'wbqev_dump_information', __DIR__ . '/sql/create_wbqev_dump_information.sql' );
12
		$updater->addExtensionTable( 'wbqev_external_data', __DIR__ . '/sql/create_wbqev_external_data.sql' );
13
		$updater->addExtensionTable( 'wbqev_identifier_properties', __DIR__ . '/sql/create_wbqev_identifier_properties.sql' );
14
15
		return true;
16
	}
17
18
	public static function onUnitTestsList( &$paths ) {
19
		$paths[] = __DIR__ . '/tests/phpunit';
20
		return true;
21
	}
22
23
}
24