@@ -55,7 +55,7 @@ |
||
55 | 55 | $analysisResult = $this->convertAnalysisResultFromArray($analysisResultAsArray, $projectRoot); |
56 | 56 | $analysisResultsBuilder->addAnalysisResult($analysisResult); |
57 | 57 | } |
58 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
58 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
59 | 59 | throw ParseAtLocationException::issueAtPosition($e, $resultsCount); |
60 | 60 | } |
61 | 61 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | ArrayUtils::assertArray($analysisResultAsArray); |
56 | 56 | $analysisResult = $this->convertAnalysisResultFromArray($analysisResultAsArray, $projectRoot); |
57 | 57 | $analysisResultsBuilder->addAnalysisResult($analysisResult); |
58 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
58 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
59 | 59 | throw ParseAtLocationException::issueAtPosition($e, $resultsCount); |
60 | 60 | } |
61 | 61 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | $this->processViolationsInFile($analysisResultsBuilder, $absoluteFileName, $projectRoot, $violations); |
60 | 60 | } |
61 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
61 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
62 | 62 | throw ParseAtLocationException::issueParsing($e, "Invalid file {$fileNumber}"); |
63 | 63 | } |
64 | 64 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | $analysisResult = $this->processViolation($absoluteFileName, $projectRoot, $violation); |
85 | 85 | $analysisResultsBuilder->addAnalysisResult($analysisResult); |
86 | 86 | ++$violationCount; |
87 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
87 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
88 | 88 | throw ParseAtLocationException::issueParsing($e, "File {$absoluteFileName->getFileName()}) violation {$violationCount}"); |
89 | 89 | } |
90 | 90 | } |
@@ -74,11 +74,11 @@ |
||
74 | 74 | |
75 | 75 | $baseline = new BaseLine($historyFactory, $analysisResults, $resultsParser, $historyMarker); |
76 | 76 | } catch ( |
77 | - ArrayParseException| |
|
78 | - InvalidResultsParserException| |
|
79 | - InvalidHistoryFactoryException| |
|
80 | - InvalidHistoryMarkerException| |
|
81 | - InvalidContentTypeException| |
|
77 | + ArrayParseException | |
|
78 | + InvalidResultsParserException | |
|
79 | + InvalidHistoryFactoryException | |
|
80 | + InvalidHistoryMarkerException | |
|
81 | + InvalidContentTypeException | |
|
82 | 82 | ParseAtLocationException $e) { |
83 | 83 | throw BaseLineImportException::fromException($baseLineFileName, $e); |
84 | 84 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | ArrayUtils::assertArray($analysisResultAsArray); |
63 | 63 | $analysisResult = $this->convertAnalysisResultFromArray($analysisResultAsArray, $projectRoot); |
64 | 64 | $analysisResultsBuilder->addAnalysisResult($analysisResult); |
65 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
65 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
66 | 66 | throw ParseAtLocationException::issueAtPosition($e, $resultsCount); |
67 | 67 | } |
68 | 68 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | ArrayUtils::assertArray($analysisResultAsArray); |
63 | 63 | $analysisResult = $this->convertAnalysisResultFromArray($analysisResultAsArray, $projectRoot); |
64 | 64 | $analysisResultsBuilder->addAnalysisResult($analysisResult); |
65 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
65 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
66 | 66 | throw ParseAtLocationException::issueAtPosition($e, $resultsCount); |
67 | 67 | } |
68 | 68 | } |
@@ -83,7 +83,7 @@ |
||
83 | 83 | $analysisResult = $this->convertAnalysisResultFromArray($message, $absoluteFileName, $projectRoot); |
84 | 84 | $analysisResultsBuilder->addAnalysisResult($analysisResult); |
85 | 85 | } |
86 | - } catch (ArrayParseException|InvalidPathException $e) { |
|
86 | + } catch (ArrayParseException | InvalidPathException $e) { |
|
87 | 87 | throw ParseAtLocationException::issueParsing($e, "Result [$absoluteFileNameAsString]"); |
88 | 88 | } |
89 | 89 | } |