summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7612ebe)
This prevents additional errors in the following code.
Change-Id: I27770e6ca09c495ec7b6cb588c251b4014697bfe
) . "\n";
$outputPath = '/resources/src/mediawiki.Title/phpCharToUpper.json';
$file = fopen( $IP . $outputPath, 'w' );
) . "\n";
$outputPath = '/resources/src/mediawiki.Title/phpCharToUpper.json';
$file = fopen( $IP . $outputPath, 'w' );
+ if ( !$file ) {
+ $this->fatalError( "Unable to write file \"$IP$outputPath\"" );
+ }
fwrite( $file, $mappingJson );
$this->output( count( $data ) . " differences found.\n" );
fwrite( $file, $mappingJson );
$this->output( count( $data ) . " differences found.\n" );