2121
2222 if ($ cookie ) {
2323 foreach ($ cookie as $ key => $ value ) {
24- $ _SERVER ["HTTP_X_CODECEPTION_ " . strtoupper ($ key )] = $ value ;
24+ $ _SERVER ["HTTP_X_CODECEPTION_ " . strtoupper ($ key )] = $ value ;
2525 }
2626 }
2727}
@@ -38,7 +38,7 @@ function __c3_error($message)
3838 C3_CODECOVERAGE_MEDIATE_STORAGE . DIRECTORY_SEPARATOR . 'error.txt ' ;
3939 if (is_writable ($ errorLogFile )) {
4040 file_put_contents ($ errorLogFile , $ message );
41- }else {
41+ } else {
4242 $ message = "Could not write error to log file ( $ errorLogFile), original message: $ message " ;
4343 }
4444 if (!headers_sent ()) {
@@ -61,7 +61,7 @@ class_alias('SebastianBergmann\CodeCoverage\Exception', 'PHP_CodeCoverage_Except
6161// Autoload Codeception classes
6262if (!class_exists ('\\Codeception \\Codecept ' )) {
6363 if (file_exists (__DIR__ . '/codecept.phar ' )) {
64- require_once 'phar:// ' . __DIR__ . '/codecept.phar/autoload.php ' ;
64+ require_once 'phar:// ' . __DIR__ . '/codecept.phar/autoload.php ' ;
6565 } elseif (stream_resolve_include_path (__DIR__ . '/vendor/autoload.php ' )) {
6666 require_once __DIR__ . '/vendor/autoload.php ' ;
6767 // Required to load some methods only available at codeception/autoload.php
@@ -71,7 +71,7 @@ class_alias('SebastianBergmann\CodeCoverage\Exception', 'PHP_CodeCoverage_Except
7171 } elseif (stream_resolve_include_path ('Codeception/autoload.php ' )) {
7272 require_once 'Codeception/autoload.php ' ;
7373 } else {
74- __c3_error ('Codeception is not loaded. Please check that either PHAR or Composer or PEAR package can be used ' );
74+ __c3_error ('Codeception is not loaded. Please check that either PHAR or Composer package can be used ' );
7575 }
7676}
7777
@@ -266,7 +266,7 @@ function () use ($codeCoverage, $current_report) {
266266
267267 $ codeCoverage ->stop ();
268268 if (!file_exists (dirname ($ current_report ))) { // verify directory exists
269- if (!mkdir (dirname ($ current_report ), 0777 , true )){
269+ if (!mkdir (dirname ($ current_report ), 0777 , true )) {
270270 __c3_error ("Can't write CodeCoverage report into $ current_report " );
271271 }
272272 }
0 commit comments