@@ -75,7 +75,7 @@ public function checkExpire(): bool
7575 if ($ this ->status === OrderStatus::Active && !is_null ($ this ->expires_at ) && now ('UTC ' ) >= $ this ->expires_at ) {
7676 try {
7777 if ($ this ->server ) {
78- app (SuspensionService::class)->handle ($ this ->server , SuspendAction::Suspend); // @phpstan-ignore myCustomRules.forbiddenGlobalFunctions
78+ app (SuspensionService::class)->handle ($ this ->server , SuspendAction::Suspend);
7979 }
8080 } catch (Exception $ exception ) {
8181 report ($ exception );
@@ -98,7 +98,7 @@ private function expireCheckoutSession(): void
9898 {
9999 if (!is_null ($ this ->stripe_checkout_id )) {
100100 /** @var StripeClient $stripeClient */
101- $ stripeClient = app (StripeClient::class); // @phpstan-ignore myCustomRules.forbiddenGlobalFunctions
101+ $ stripeClient = app (StripeClient::class);
102102
103103 $ session = $ stripeClient ->checkout ->sessions ->retrieve ($ this ->stripe_checkout_id );
104104
@@ -111,7 +111,7 @@ private function expireCheckoutSession(): void
111111 public function getCheckoutSession (): Session
112112 {
113113 /** @var StripeClient $stripeClient */
114- $ stripeClient = app (StripeClient::class); // @phpstan-ignore myCustomRules.forbiddenGlobalFunctions
114+ $ stripeClient = app (StripeClient::class);
115115
116116 if (is_null ($ this ->stripe_checkout_id )) {
117117 $ session = $ stripeClient ->checkout ->sessions ->create ([
@@ -165,7 +165,7 @@ public function activate(?string $stripePaymentId): void
165165
166166 try {
167167 if ($ this ->server ) {
168- app (SuspensionService::class)->handle ($ this ->server , SuspendAction::Unsuspend); // @phpstan-ignore myCustomRules.forbiddenGlobalFunctions
168+ app (SuspensionService::class)->handle ($ this ->server , SuspendAction::Unsuspend);
169169 } else {
170170 $ this ->createServer ();
171171 }
@@ -178,7 +178,7 @@ public function close(): void
178178 {
179179 try {
180180 if ($ this ->server ) {
181- app (SuspensionService::class)->handle ($ this ->server , SuspendAction::Suspend); // @phpstan-ignore myCustomRules.forbiddenGlobalFunctions
181+ app (SuspensionService::class)->handle ($ this ->server , SuspendAction::Suspend);
182182 }
183183 } catch (Exception $ exception ) {
184184 report ($ exception );
@@ -228,7 +228,7 @@ public function createServer(): Server
228228 $ object ->setTags ($ product ->tags );
229229 $ object ->setPorts ($ product ->ports );
230230
231- $ server = app (ServerCreationService::class)->handle ($ data , $ object ); // @phpstan-ignore myCustomRules.forbiddenGlobalFunctions
231+ $ server = app (ServerCreationService::class)->handle ($ data , $ object );
232232
233233 $ this ->update ([
234234 'server_id ' => $ server ->id ,
0 commit comments