Completed
Pull Request — master (#20)
by None
696:29 queued 647:14
created
tests/bootstrap.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if ( PHP_SAPI !== 'cli' ) {
4
-	die( 'Not an entry point' );
3
+if (PHP_SAPI !== 'cli') {
4
+	die('Not an entry point');
5 5
 }
6 6
 
7
-if ( !is_readable( $autoloaderClassPath = __DIR__ . '/../../SemanticMediaWiki/tests/autoloader.php' ) ) {
8
-	die( 'The SemanticMediaWiki test autoloader is not available' );
7
+if (!is_readable($autoloaderClassPath = __DIR__ . '/../../SemanticMediaWiki/tests/autoloader.php')) {
8
+	die('The SemanticMediaWiki test autoloader is not available');
9 9
 }
10 10
 
11
-print sprintf( "\n%-20s%s\n", "Semantic Forms Select: ", SFS_VERSION );
12
-print sprintf( "%-20s%s\n", "Semantic Forms: ", defined( 'SF_VERSION' ) ? SF_VERSION : 'undefined' );
11
+print sprintf("\n%-20s%s\n", "Semantic Forms Select: ", SFS_VERSION);
12
+print sprintf("%-20s%s\n", "Semantic Forms: ", defined('SF_VERSION') ? SF_VERSION : 'undefined');
13 13
 
14 14
 $autoloader = require $autoloaderClassPath;
15
-$autoloader->addPsr4( 'SFS\\Tests\\', __DIR__ . '/phpunit/Unit' );
16
-$autoloader->addPsr4( 'SFS\\Tests\\Integration\\', __DIR__ . '/phpunit/Integration' );
15
+$autoloader->addPsr4('SFS\\Tests\\', __DIR__ . '/phpunit/Unit');
16
+$autoloader->addPsr4('SFS\\Tests\\Integration\\', __DIR__ . '/phpunit/Integration');
Please login to merge, or discard this patch.