Skip to content

Commit 83369a4

Browse files
author
Artur (Seti) Łabudziński
committed
PHPCS PSR2
1 parent f58ed68 commit 83369a4

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

phpcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<config name="testVersion" value="7.0-7.1" />
1616

1717

18-
<rule ref="ZEND" />
18+
<rule ref="PSR2" />
1919

2020
<file>./src</file>
2121
</ruleset>

src/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ public function exec($context, $post_data = null, $custom_request = null, $tries
260260
throw new Exception(
261261
'CURL HTTP Request Failed: Status Code : '
262262
.$this->http_response.', URL:'.$url
263-
."\nError Message : ".$response, $this->http_response
263+
."\nError Message : ".$response,
264+
$this->http_response
264265
);
265266
}
266267
}

src/Issue/IssueService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ public function addAttachments($issueIdOrKey, $filePathArray)
7171
$resArr = array();
7272
foreach ($results as $ret) {
7373
array_push(
74-
$resArr, $this->json_mapper->mapArray(
74+
$resArr,
75+
$this->json_mapper->mapArray(
7576
json_decode($ret),
7677
new \ArrayObject(),
7778
'\Jira\Api\Issue\Attachment'

src/Mapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ protected function setProperty(
5858
$object,
5959
$accessor,
6060
$value
61-
)
62-
{
61+
) {
62+
6363
if ($accessor instanceof \ReflectionProperty) {
6464
$object->{$accessor->getName()} = $value;
6565
} else {

0 commit comments

Comments
 (0)