Skip to content

Commit

Permalink
Merge pull request #1807 from nextcloud/techdebt/noid/update-coding-s…
Browse files Browse the repository at this point in the history
…tyle

techdebt(noid): Update nextcloud/coding-standards to 1.2
  • Loading branch information
nickvergessen authored Feb 1, 2024
2 parents 6e8bdb9 + 511a436 commit ae1ed91
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "AGPL",
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"nextcloud/coding-standard": "^1.1",
"nextcloud/coding-standard": "^1.2",
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9.6",
"vimeo/psalm": "^5.14"
Expand Down
70 changes: 35 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/Integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function userNumNotifications(string $user, int $numNotifications, string
* @param string $api
* @param TableNode|null $formData
*/
public function matchNotification(string $notification, string $api, TableNode $formData = null) {
public function matchNotification(string $notification, string $api, ?TableNode $formData = null) {
$lastNotifications = end($this->notificationIds);
if ($notification === 'first') {
$notificationId = reset($lastNotifications);
Expand Down Expand Up @@ -393,7 +393,7 @@ public function clearNotifications() {
* @param TableNode $body
* @return \GuzzleHttp\Message\FutureResponse|ResponseInterface|null
*/
protected function setTestingValue(string $verb, string $url, TableNode $body = null) {
protected function setTestingValue(string $verb, string $url, ?TableNode $body = null) {
$fullUrl = $this->baseUrl . 'ocs/v2.php/' . $url;
$client = new Client();
$options = [
Expand Down
44 changes: 22 additions & 22 deletions vendor-bin/openapi-extractor/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae1ed91

Please sign in to comment.