Skip to content

Commit ac02a78

Browse files
committed
styling fixes
1 parent f5afbd2 commit ac02a78

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

config/api-postman.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,6 @@
168168

169169
'protocol_profile_behavior' => [
170170
'disable_body_pruning' => false, // Control request body pruning for following methods: GET, COPY, HEAD, PURGE, UNLOCK
171-
]
171+
],
172172

173173
];

src/Commands/ExportPostmanCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public function makeRequest($route, $method, $routeHeaders, $requestRules, $requ
316316
],
317317
];
318318

319-
if($this->config['protocol_profile_behavior']['disable_body_pruning']) {
319+
if ($this->config['protocol_profile_behavior']['disable_body_pruning']) {
320320
$data['protocolProfileBehavior'] = [
321321
'disableBodyPruning' => true,
322322
];

tests/Feature/ExportPostmanTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function test_rules_printing_get_export_works()
197197
'key' => $field['key'],
198198
'value' => null,
199199
'disabled' => false,
200-
'description' => $field['description']
200+
'description' => $field['description'],
201201
], $field);
202202
}
203203
}

tests/Fixtures/ExampleController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ public function getWithFormRequest(ExampleFormRequest $request): string
4444
/**
4545
* This is the php doc route.
4646
* Which is also multi-line.
47-
*
47+
*
4848
* and has a blank line.
49-
*
50-
* @param string $non-existing param
49+
*
50+
* @param string $non-existing param
5151
* @return string
5252
*/
5353
public function phpDocRoute(): string

tests/Fixtures/UppercaseRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace AndreasElia\PostmanGenerator\Tests\Fixtures;
44

5-
use Illuminate\Contracts\Validation\ValidationRule;
65
use Closure;
6+
use Illuminate\Contracts\Validation\ValidationRule;
77

88
class UppercaseRule implements ValidationRule
99
{
@@ -15,7 +15,7 @@ class UppercaseRule implements ValidationRule
1515
* @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
1616
* @return void
1717
*/
18-
public function validate(string $attribute, mixed $value, Closure $fail): void
18+
public function validate(string $attribute, mixed $value, Closure $fail): void
1919
{
2020
if (strtoupper($value) !== $value) {
2121
$fail("The {$attribute} must be uppercase.");

0 commit comments

Comments
 (0)