File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
2020
2121 steps :
2222 - name : Checkout code
23- uses : actions/checkout@v1
23+ uses : actions/checkout@v2
2424
2525 - name : Cache dependencies
26- uses : actions/cache@v1
26+ uses : actions/cache@v2
2727 with :
2828 path : ~/.composer/cache/files
2929 key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Original file line number Diff line number Diff line change 1919
2020return (new Config ())
2121 ->setRules ([
22- '@PSR2 ' => true ,
22+ '@PSR12 ' => true ,
2323 'array_syntax ' => ['syntax ' => 'short ' ],
2424 'ordered_imports ' => ['sort_algorithm ' => 'alpha ' ],
2525 'no_unused_imports ' => true ,
3333 ],
3434 'phpdoc_single_line_var_spacing ' => true ,
3535 'phpdoc_var_without_name ' => true ,
36+ 'class_attributes_separation ' => [
37+ 'elements ' => [
38+ 'method ' => 'one ' ,
39+ ],
40+ ],
3641 'method_argument_space ' => [
3742 'on_multiline ' => 'ensure_fully_multiline ' ,
3843 'keep_multiple_spaces_after_comma ' => true ,
Original file line number Diff line number Diff line change 1111
1212class CmsmsClient
1313{
14- const GATEWAY_URL = 'https://sgw01.cm.nl/gateway.ashx ' ;
14+ public const GATEWAY_URL = 'https://sgw01.cm.nl/gateway.ashx ' ;
1515
1616 public function __construct (
1717 protected GuzzleClient $ client ,
You can’t perform that action at this time.
0 commit comments