Skip to content

Commit

Permalink
Fancy emacs codesniffer report style, fix PSR :3
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Ashurok committed Jul 9, 2014
1 parent cb60c75 commit de985ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
composer install

# Code style
php vendor/bin/phpcs ./src/ --standard=PSR1 --encoding=utf-8 --report=full
php vendor/bin/phpcs ./src/ --standard=PSR2 --encoding=utf-8 --report=full
php vendor/bin/phpcs ./src/ --standard=PSR1 --encoding=utf-8 --report=emacs
php vendor/bin/phpcs ./src/ --standard=PSR2 --encoding=utf-8 --report=emacs

# PHPUnit tests
php vendor/bin/phpunit --coverage-html .reports
Expand Down
5 changes: 2 additions & 3 deletions src/Proxmox.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@ protected function loginUsingCredentials($credentials)
$credentials->getHostname(),
$credentials->getUsername(),
$credentials->getPassword(),
$realm, // Make it optional?
$port // Make it optional?
$realm, // Make it optional?
$port // Make it optional?
);
}

Expand All @@ -457,5 +457,4 @@ protected function loginUsingCredentials($credentials)
//$error = "This can't happen, run in circles or do something else.";
//throw new \RuntimeException($error);
}

}

0 comments on commit de985ec

Please sign in to comment.