Skip to content

Commit c0ea47c

Browse files
committed
I really got redundant test error
1 parent 84fb354 commit c0ea47c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/SPC/builder/unix/UnixBuilderBase.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,7 @@ protected function sanityCheck(int $build_target): void
186186
}
187187

188188
// sanity check for embed
189-
if (($build_target & BUILD_TARGET_EMBED) === BUILD_TARGET_EMBED ||
190-
file_exists(BUILD_BIN_PATH . '/php-config') &&
191-
file_exists(BUILD_BIN_PATH . '/phpize') &&
192-
(file_exists(BUILD_LIB_PATH . '/libphp.a') || file_exists(BUILD_LIB_PATH . '/libphp.so'))
193-
) {
189+
if (($build_target & BUILD_TARGET_EMBED) === BUILD_TARGET_EMBED) {
194190
logger()->info('running embed sanity check');
195191
$sample_file_path = SOURCE_PATH . '/embed-test';
196192
if (!is_dir($sample_file_path)) {

0 commit comments

Comments
 (0)