File tree Expand file tree Collapse file tree
test/integration/ComposerIntegration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020use Php \Pie \DependencyResolver \RequestedPackageAndVersion ;
2121use Php \Pie \DependencyResolver \ResolvedPackageRequest ;
2222use Php \Pie \Platform ;
23+ use Php \Pie \Platform \OperatingSystem ;
2324use Php \Pie \Platform \TargetPhp \PhpBinaryPath ;
2425use Php \Pie \Platform \TargetPlatform ;
2526use Php \PieIntegrationTest \Command \IsolatedWorkingDirectoryTestCase ;
@@ -169,7 +170,7 @@ public function testRunUninstallRemovesPackageFromPieJson(): void
169170
170171 private function extensionBinaryPath (): string
171172 {
172- return $ this ->targetPlatform ->phpBinaryPath ->extensionPath () . DIRECTORY_SEPARATOR . self ::EXTENSION_NAME . ' . so ' ;
173+ return $ this ->targetPlatform ->phpBinaryPath ->extensionPath () . DIRECTORY_SEPARATOR . self ::EXTENSION_NAME . ( $ this -> targetPlatform -> operatingSystem === OperatingSystem::Windows ? ' .dll ' : ' . so ') ;
173174 }
174175
175176 /** @param non-empty-string $version */
You can’t perform that action at this time.
0 commit comments