From 9be71c5c632773856a870c1f88d977bbb42c27c4 Mon Sep 17 00:00:00 2001 From: "andrea.esu" Date: Wed, 7 Aug 2024 15:30:14 +0200 Subject: [PATCH] php-cs-fixer --- src/SPC/builder/linux/LinuxBuilder.php | 2 +- src/SPC/builder/windows/WindowsBuilder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SPC/builder/linux/LinuxBuilder.php b/src/SPC/builder/linux/LinuxBuilder.php index c44e3f9d..f10da1e8 100644 --- a/src/SPC/builder/linux/LinuxBuilder.php +++ b/src/SPC/builder/linux/LinuxBuilder.php @@ -135,7 +135,7 @@ class LinuxBuilder extends UnixBuilderBase $disable_jit = $this->getOption('disable-opcache-jit', false) ? '--disable-opcache-jit ' : ''; $config_file_path = $this->getOption('with-config-file-path', false) ? - ( '--with-config-file-path=' . $this->getOption('with-config-file-path') . ' ' ) : ''; + ('--with-config-file-path=' . $this->getOption('with-config-file-path') . ' ') : ''; $enable_cli = ($build_target & BUILD_TARGET_CLI) === BUILD_TARGET_CLI; $enable_fpm = ($build_target & BUILD_TARGET_FPM) === BUILD_TARGET_FPM; diff --git a/src/SPC/builder/windows/WindowsBuilder.php b/src/SPC/builder/windows/WindowsBuilder.php index 0148b41c..e976bd3d 100644 --- a/src/SPC/builder/windows/WindowsBuilder.php +++ b/src/SPC/builder/windows/WindowsBuilder.php @@ -104,7 +104,7 @@ class WindowsBuilder extends BuilderBase $micro_w32 = $this->getOption('enable-micro-win32') ? ' --enable-micro-win32=yes' : ''; $config_file_path = $this->getOption('with-config-file-path', false) ? - ( '--with-config-file-path=' . $this->getOption('with-config-file-path') . ' ' ) : ''; + ('--with-config-file-path=' . $this->getOption('with-config-file-path') . ' ') : ''; cmd()->cd(SOURCE_PATH . '\php-src') ->exec(