Skip to content

Commit 125d55b

Browse files
committed
Fix SensioLabs Insight major errors.
1 parent 685661f commit 125d55b

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

src/main/php/Gomoob/BinaryDriver/JavaDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function create(LoggerInterface $logger = null, $configuration = [
5050

5151
try {
5252
return static::load($binaries, $logger, $configuration);
53-
} catch (BinaryDriverExecutableNotFound $e) {
53+
} catch (ExecutableNotFoundException $e) {
5454
throw new ExecutableNotFoundException('Unable to load java', $e->getCode(), $e);
5555
}
5656
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
/**
4+
* Copyright 2016 SARL GOMOOB. All rights reserved.
5+
*/
6+
namespace Gomoob\Java\Io;
7+
8+
/**
9+
* The Character Encoding is not supported.
10+
*
11+
* @author Baptiste GAILLARD ([email protected])
12+
*/
13+
class UnsupportedEncodingException extends IOException
14+
{
15+
// Empty
16+
}

src/main/php/Gomoob/MetadataExtractor/Imaging/Png/PngChunkType.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
/**
44
* gomoob/php-metadata-extractor
5-
*
6-
* @copyright Copyright (c) 2016, GOMOOB SARL (http://gomoob.com)
7-
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE.md file)
8-
*/
5+
*
6+
* @copyright Copyright (c) 2016, GOMOOB SARL (http://gomoob.com)
7+
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE.md file)
8+
*/
99
namespace Gomoob\MetadataExtractor\Imaging\Png;
1010

11+
use Gomoob\Java\Io\UnsupportedEncodingException;
12+
1113
use Gomoob\Java\Lang\IllegalArgumentException;
1214

1315
/**
@@ -208,7 +210,7 @@ public function hashCode()
208210
}
209211
}
210212

211-
/* FIXME: Will be fixed when static initializers will be added in PHP
213+
/* TODO: Will be fixed when static initializers will be added in PHP
212214
*
213215
* ----------------------------------------------------------------------
214216
* FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE

src/main/php/Gomoob/MetadataExtractor/Metadata/Tag.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ class Tag
3838
*/
3939
public function __constrct($tagType, Directory $directory)
4040
{
41-
var_dump($tagType);
42-
4341
$this->tagType = $tagType;
4442
$this->directory = $directory;
4543
}

0 commit comments

Comments
 (0)