@@ -15,9 +15,9 @@ public static function getSentryUnreolvedIssues()
15
15
16
16
$ client = new Client ;
17
17
try {
18
- $ response = $ client ->request ('GET ' , " https://sentry.io/api/0/projects/ $ organization/ $ project/issues/ " , [
18
+ $ response = $ client ->request ('GET ' , ' https://sentry.io/api/0/projects/{ organization}/{ project} /issues/ ' , [
19
19
'headers ' => [
20
- 'Authorization ' => "Bearer $ token " ,
20
+ 'Authorization ' => "Bearer { token} " ,
21
21
],
22
22
'query ' => [
23
23
'query ' => 'is:unresolved ' ,
@@ -34,11 +34,11 @@ public static function getComposerOutdatedPackages($flag = '--no-dev')
34
34
{
35
35
$ composer = config ('app.composer ' );
36
36
$ home = config ('app.composer_home ' );
37
- $ process = Process::fromShellCommandline (" $ composer outdated $ flag -f json " , base_path (), ['COMPOSER_HOME ' => $ home ]);
37
+ $ process = Process::fromShellCommandline (' { composer} outdated { flag} -f json' , base_path (), ['COMPOSER_HOME ' => ' { home} ' ]);
38
38
$ process ->run ();
39
39
$ value = $ process ->getOutput ();
40
40
$ data = json_decode ($ value , true );
41
- $ process = Process::fromShellCommandline (" $ composer clear-cache " , base_path (), ['COMPOSER_HOME ' => $ home ]);
41
+ $ process = Process::fromShellCommandline (' { composer} clear-cache' , base_path (), ['COMPOSER_HOME ' => ' { home} ' ]);
42
42
$ process ->run ();
43
43
44
44
return $ data ['installed ' ] ?? [];
0 commit comments