@@ -15,9 +15,9 @@ public static function getSentryUnreolvedIssues()
1515
1616 $ client = new Client ;
1717 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/ ' , [
1919 'headers ' => [
20- 'Authorization ' => "Bearer $ token " ,
20+ 'Authorization ' => "Bearer { token} " ,
2121 ],
2222 'query ' => [
2323 'query ' => 'is:unresolved ' ,
@@ -34,11 +34,11 @@ public static function getComposerOutdatedPackages($flag = '--no-dev')
3434 {
3535 $ composer = config ('app.composer ' );
3636 $ 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} ' ]);
3838 $ process ->run ();
3939 $ value = $ process ->getOutput ();
4040 $ 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} ' ]);
4242 $ process ->run ();
4343
4444 return $ data ['installed ' ] ?? [];
0 commit comments