Skip to content

Commit 0e06a93

Browse files
MAXakaWIZARDNaktibalda
authored andcommitted
PSR-2 compliance (#3105)
* Add composer.lock to .gitignore * Put direct link to coding standards description * Fix spacing * Fix code style for ext and symfony-shim * Fix PSR2 compliance issues * Fix PSR2 compliance issues * Add generated test files to gitginore * Fix PSR2 compliance issues in tests * Get rid of long code lines in tests to comply PSR2 * Get rid of long code lines to comply PSR2 * Add code style rule set * Fix wrong indentation * Improve code style
1 parent 2d57ff2 commit 0e06a93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Codeception/Lib/Connector/Universal.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ public function doRequest($request)
6262
$headers[$name] = trim(implode(':', $parts));
6363
}
6464
}
65-
$headers['Content-type'] = isset($headers['Content-type']) ? $headers['Content-type'] : "text/html; charset=UTF-8";
65+
$headers['Content-type'] = isset($headers['Content-type'])
66+
? $headers['Content-type']
67+
: "text/html; charset=UTF-8";
6668

6769
$response = new Response($content, 200, $headers);
6870
return $response;

0 commit comments

Comments
 (0)