Skip to content

Commit 90d8e65

Browse files
author
Kolya Korobochkin
committed
docs
1 parent c503474 commit 90d8e65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+197
-29
lines changed

phpcs.ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@
3232
</rule>
3333
<rule ref="Generic.Strings"/>
3434
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
35+
36+
<rule ref="Squiz.Classes"/>
37+
<rule ref="Squiz.Commenting">
38+
<exclude name="Squiz.Commenting.FileComment"/>
39+
<exclude name="Squiz.Commenting.ClosingDeclarationComment"/>
40+
<exclude name="Squiz.Commenting.FunctionComment"/>
41+
</rule>
3542
</ruleset>

source/API.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
use GuzzleHttp\ClientInterface;
55
use Setka\WorkflowSDK\Entities\Space;
66

7+
/**
8+
* Class API
9+
*/
710
class API
811
{
912
/**

source/APIFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
use GuzzleHttp\ClientInterface;
55

6+
/**
7+
* Class APIFactory
8+
*/
69
class APIFactory
710
{
811
/**

source/Actions/AbstractAction.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
use Psr\Http\Message\ResponseInterface;
55
use Setka\WorkflowSDK\API;
66

7+
/**
8+
* Class AbstractAction
9+
*/
710
abstract class AbstractAction implements ActionInterface
811
{
912
/**

source/Actions/Categories/CreateCategoryAction.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use Setka\WorkflowSDK\Exceptions\UnprocessableEntityException;
1010
use Symfony\Component\OptionsResolver\OptionsResolver;
1111

12+
/**
13+
* Class CreateCategoryAction
14+
*/
1215
class CreateCategoryAction extends AbstractAction
1316
{
1417
/**

source/Actions/Categories/DeleteCategoryAction.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Setka\WorkflowSDK\Exceptions\UnprocessableEntityException;
1111
use Symfony\Component\OptionsResolver\OptionsResolver;
1212

13+
/**
14+
* Class DeleteCategoryAction
15+
*/
1316
class DeleteCategoryAction extends AbstractAction
1417
{
1518
/**

source/Actions/Categories/UpdateCategoryAction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Setka\WorkflowSDK\Exceptions\UnprocessableEntityException;
1111
use Symfony\Component\OptionsResolver\OptionsResolver;
1212

13+
/**
14+
* Class UpdateCategoryAction
15+
*/
1316
class UpdateCategoryAction extends AbstractAction
1417
{
1518
/**
@@ -52,7 +55,7 @@ public function handleResponse()
5255

5356
default:
5457
throw new UnknownResponseException();
55-
}
58+
}//end switch
5659
}
5760

5861
/**

source/Actions/Tickets/PublishTicketAction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Setka\WorkflowSDK\Exceptions\UnprocessableEntityException;
1111
use Symfony\Component\OptionsResolver\OptionsResolver;
1212

13+
/**
14+
* Class PublishTicketAction
15+
*/
1316
class PublishTicketAction extends AbstractAction
1417
{
1518
/**
@@ -59,7 +62,7 @@ public function handleResponse()
5962

6063
default:
6164
throw new UnknownResponseException();
62-
}
65+
}//end switch
6366
}
6467

6568
/**

source/Actions/Tickets/SyncTicketAnalyticsAction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use Setka\WorkflowSDK\Exceptions\UnprocessableEntityException;
1010
use Symfony\Component\OptionsResolver\OptionsResolver;
1111

12+
/**
13+
* Class SyncTicketAnalyticsAction
14+
*/
1215
class SyncTicketAnalyticsAction extends AbstractAction
1316
{
1417
/**
@@ -55,7 +58,7 @@ public function handleResponse()
5558

5659
default:
5760
throw new UnknownResponseException();
58-
}
61+
}//end switch
5962
}
6063

6164
/**

source/Actions/Tickets/UnpublishTicketAction.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Setka\WorkflowSDK\Exceptions\UnprocessableEntityException;
1111
use Symfony\Component\OptionsResolver\OptionsResolver;
1212

13+
/**
14+
* Class UnpublishTicketAction
15+
*/
1316
class UnpublishTicketAction extends AbstractAction
1417
{
1518
/**
@@ -59,7 +62,7 @@ public function handleResponse()
5962

6063
default:
6164
throw new UnknownResponseException();
62-
}
65+
}//end switch
6366
}
6467

6568
/**

0 commit comments

Comments
 (0)