File tree 7 files changed +40
-41
lines changed
7 files changed +40
-41
lines changed Original file line number Diff line number Diff line change 20
20
21
21
class SyncController
22
22
{
23
- private const ONE_DAY = 24 * 60 * 60 ;
23
+ private const int ONE_DAY = 24 * 60 * 60 ;
24
24
25
25
public function sync (Request $ request ): JsonResponse
26
26
{
Original file line number Diff line number Diff line change 15
15
16
16
class ClickUp extends Service
17
17
{
18
- private const ALMOST_TWO_WEEKS = (7 * 24 * 60 * 60 ) - 60 ;
18
+ private const int ALMOST_TWO_WEEKS = (7 * 24 * 60 * 60 ) - 60 ;
19
19
20
20
/**
21
21
* A Guzzle client configured for ClickUp.
Original file line number Diff line number Diff line change 18
18
19
19
class GitHub extends Service
20
20
{
21
- private const FIFTY_NINE_MINUTES = 59 * 60 ;
21
+ private const int FIFTY_NINE_MINUTES = 59 * 60 ;
22
22
23
23
/**
24
24
* A Guzzle client configured for GitHub.
Original file line number Diff line number Diff line change 8
8
9
9
class SUMS extends Service
10
10
{
11
- public const MEMBER_EXISTS = 'BG member already exists ' ;
11
+ public const string MEMBER_EXISTS = 'BG member already exists ' ;
12
12
13
- public const MEMBER_NOT_EXISTS = 'BG member does not exist ' ;
13
+ public const string MEMBER_NOT_EXISTS = 'BG member does not exist ' ;
14
14
15
- public const SUCCESS = 'Success ' ;
15
+ public const string SUCCESS = 'Success ' ;
16
16
17
- public const USER_NOT_FOUND = 'User not found ' ;
17
+ public const string USER_NOT_FOUND = 'User not found ' ;
18
18
19
19
/**
20
20
* A Guzzle client configured for SUMS.
Original file line number Diff line number Diff line change 44
44
"phpstan/phpstan-deprecation-rules" : " 2.0.1" ,
45
45
"phpstan/phpstan-strict-rules" : " 2.0.3" ,
46
46
"psalm/plugin-laravel" : " 3.0.1" ,
47
- "slevomat/coding-standard" : " 8.15 .0" ,
47
+ "slevomat/coding-standard" : " 8.16 .0" ,
48
48
"spatie/laravel-ignition" : " 2.9.1" ,
49
49
"squizlabs/php_codesniffer" : " 3.11.3" ,
50
50
"laravel/pail" : " 1.2.2"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
- <ruleset name =" Apiary Ruleset" namespace =" RoboJackets" >
3
- <description >Apiary ruleset</description >
2
+ <ruleset name =" JEDI Ruleset" namespace =" RoboJackets" >
3
+ <description >JEDI ruleset</description >
4
4
5
5
<config name =" installed_paths" value =" ../../slevomat/coding-standard" />
6
6
277
277
<exclude-pattern >/stubs/</exclude-pattern >
278
278
</rule >
279
279
280
- <rule ref =" SlevomatCodingStandard.TypeHints.UnionTypeHintFormat " >
280
+ <rule ref =" SlevomatCodingStandard.TypeHints.DNFTypeHintFormat " >
281
281
<properties >
282
- <property name =" withSpaces" value =" no" />
283
282
<property name =" shortNullable" value =" yes" />
284
283
<property name =" nullPosition" value =" last" />
285
284
</properties >
You can’t perform that action at this time.
0 commit comments