44
55use Composer \InstalledVersions ;
66use Illuminate \Console \Command ;
7- use Illuminate \Contracts \Console \PromptsForMissingInput ;
7+ use function Laravel \Prompts \info ;
8+ use function Laravel \Prompts \note ;
89use Illuminate \Support \Collection ;
9- use Illuminate \Support \Facades \File ;
10- use Illuminate \Support \Facades \Process ;
11- use Native \Laravel \Support \Environment ;
12- use Symfony \Component \Console \Attribute \AsCommand ;
13-
1410use function Laravel \Prompts \error ;
15- use function Laravel \Prompts \info ;
1611use function Laravel \Prompts \intro ;
17- use function Laravel \Prompts \note ;
1812use function Laravel \Prompts \outro ;
13+
1914use function Laravel \Prompts \select ;
15+ use Illuminate \Support \Facades \File ;
16+ use Illuminate \Support \Facades \Process ;
17+ use Native \Laravel \Support \Environment ;
18+ use Symfony \Component \Console \Attribute \AsCommand ;
19+ use Illuminate \Contracts \Console \PromptsForMissingInput ;
2020
2121#[AsCommand(
2222 name: 'native:debug ' ,
@@ -111,6 +111,14 @@ private function processNativePHP(): static
111111 && config ('nativephp-internal.notarization.apple_id_pass ' )
112112 && config ('nativephp-internal.notarization.apple_team_id ' );
113113
114+ $ isAzureTrustedSigningConfigured = config ('nativephp-internal.azure_trusted_signing.tenant_id ' )
115+ && config ('nativephp-internal.azure_trusted_signing.client_id ' )
116+ && config ('nativephp-internal.azure_trusted_signing.client_secret ' )
117+ && config ('nativephp-internal.azure_trusted_signing.publisher_name ' )
118+ && config ('nativephp-internal.azure_trusted_signing.endpoint ' )
119+ && config ('nativephp-internal.azure_trusted_signing.certificate_profile_name ' )
120+ && config ('nativephp-internal.azure_trusted_signing.code_signing_account_name ' );
121+
114122 $ this ->debugInfo ->put (
115123 'NativePHP ' ,
116124 [
@@ -122,6 +130,7 @@ private function processNativePHP(): static
122130 'Post ' => config ('nativephp.postbuild ' ),
123131 ],
124132 'NotarizationEnabled ' => $ isNotarizationConfigured ,
133+ 'AzureTrustedSigningEnabled ' => $ isAzureTrustedSigningConfigured ,
125134 'CustomPHPBinary ' => config ('nativephp-internal.php_binary_path ' ) ?? false ,
126135 ],
127136 ]
0 commit comments