mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
fix cs
This commit is contained in:
@@ -32,7 +32,7 @@ class PkgConfigUtil
|
|||||||
* @return array Unique libs array, e.g. [-lz, -lxml, ...]
|
* @return array Unique libs array, e.g. [-lz, -lxml, ...]
|
||||||
* @throws RuntimeException
|
* @throws RuntimeException
|
||||||
*/
|
*/
|
||||||
public static function getLibsArray(string $pkg_config_str, bool $force_short_name = true): array
|
public static function getLibsArray(string $pkg_config_str): array
|
||||||
{
|
{
|
||||||
// Use this instead of shell() to avoid unnecessary outputs
|
// Use this instead of shell() to avoid unnecessary outputs
|
||||||
$result = self::execWithResult("pkg-config --static --libs-only-l {$pkg_config_str}");
|
$result = self::execWithResult("pkg-config --static --libs-only-l {$pkg_config_str}");
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ namespace SPC\util;
|
|||||||
|
|
||||||
use SPC\builder\BuilderBase;
|
use SPC\builder\BuilderBase;
|
||||||
use SPC\builder\BuilderProvider;
|
use SPC\builder\BuilderProvider;
|
||||||
use SPC\builder\macos\MacOSBuilder;
|
|
||||||
use SPC\exception\FileSystemException;
|
use SPC\exception\FileSystemException;
|
||||||
use SPC\exception\RuntimeException;
|
use SPC\exception\RuntimeException;
|
||||||
use SPC\exception\WrongUsageException;
|
use SPC\exception\WrongUsageException;
|
||||||
|
|||||||
Reference in New Issue
Block a user