Skip to content

Commit cd2a10c

Browse files
committed
fixed codestyle issues
1 parent bbad193 commit cd2a10c

File tree

8 files changed

+4
-11
lines changed

8 files changed

+4
-11
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ jobs:
3030
run: composer install --prefer-dist --no-progress
3131

3232
- name: Run linter
33-
run: |
34-
composer install --prefer-dist --no-progress
35-
vendor/bin/phpcs --standard=phpcs.xml --report=checkstyle --report-file=phpcs-report.xml src/ -n
33+
run: vendor/bin/phpcs --standard=phpcs.xml --report=checkstyle src/ -n
3634

3735
- name: Run tests
3836
env:

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<exclude name="Squiz.Commenting.FunctionComment"/>
1919
<exclude name="Squiz.Commenting.VariableComment"/>
2020
<exclude name="Generic.Commenting.DocComment"/>
21+
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
2122

2223
<!-- Define other rules and configurations here -->
2324
<rule ref="Generic.Files.LineLength">

src/Services/Examples/eSignature/ApplyBrandToTemplateService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ public static function makeEnvelope(array $args): EnvelopeDefinition
6161
]);
6262
}
6363
#ds-snippet-end:eSign30Step3
64-
6564
}

src/Services/Examples/eSignature/EnvelopeInfoService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class EnvelopeInfoService
1616
* @return Envelope
1717
*/
1818
#ds-snippet-start:eSign4Step2
19-
public static function envelopeInfo(array $args, $clientService): Envelope
19+
public static function envelopeInfo(array $args, $clientService): Envelope
2020
{
2121
# Call API method
2222
# Exceptions will be caught by the calling function

src/Services/Examples/eSignature/EnvelopeTabDataService.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class EnvelopeTabDataService
1414
* @param $clientService
1515
* @return EnvelopeFormData
1616
*/
17-
#
1817
public static function envelopeTabData(array $args, $clientService): EnvelopeFormData
1918
{
2019
# 1. call API method
@@ -24,5 +23,4 @@ public static function envelopeTabData(array $args, $clientService): EnvelopeFor
2423
return $envelope_api->getFormData($args['account_id'], $args['envelope_id']);
2524
#ds-snippet-end:eSign15Step3
2625
}
27-
#
2826
}

src/Services/Examples/eSignature/InPersonSigningService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function worker(
4040
}
4141
#ds-snippet-end:eSign39Step3
4242

43-
#ds-snippet-start:eSign39Step5
43+
#ds-snippet-start:eSign39Step5
4444
$authentication_method = 'None';
4545

4646
$envelopeArguments = [

src/Services/Examples/eSignature/PermissionDeleteService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ public static function permissionDelete(array $args, $clientService): string
3535

3636
return "The permission profile has been deleted!";
3737
}
38-
3938
}

src/Services/Examples/eSignature/PermissionSetUserGroupService.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class PermissionSetUserGroupService
1717
* @param $clientService
1818
* @return string
1919
*/
20-
#
2120
public static function permissionSetUserGroup(array $args, $clientService): string
2221
{
2322
# Step 3. Construct your request body
@@ -41,5 +40,4 @@ public static function permissionSetUserGroup(array $args, $clientService): stri
4140

4241
return $updatedGroups;
4342
}
44-
#
4543
}

0 commit comments

Comments
 (0)