We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e07e23b commit f924edcCopy full SHA for f924edc
src/Traits/CopiesCertificateAuthority.php
@@ -17,13 +17,6 @@ protected function copyCertificateAuthorityCertificate(): void
17
18
$phpBinaryDirectory = base_path('vendor/nativephp/php-bin/');
19
20
- // Check if the class this trait is used in also uses LocatesPhpBinary
21
- /* @phpstan-ignore-next-line */
22
- if (method_exists($this, 'phpBinaryPath')) {
23
- // Get binary directory but up one level
24
- $phpBinaryDirectory = dirname(base_path($this->phpBinaryPath()));
25
- }
26
-
27
$certificateFileName = 'cacert.pem';
28
$certFilePath = Path::join($phpBinaryDirectory, $certificateFileName);
29
0 commit comments