Ai
6 Star 47 Fork 8

guanguans/soar-php

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
composer-dependency-analyser.php 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
guanguans 提交于 2025-12-08 16:15 +08:00 . style: apply php-cs-fixer
<?php
declare(strict_types=1);
/**
* Copyright (c) 2019-2025 guanguans<ityaozm@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/guanguans/soar-php
*/
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;
return (new Configuration)
->addPathsToScan(
[
// __DIR__.'/src/',
],
false
)
->addPathsToExclude([
__DIR__.'/src/Support/ComposerScripts.php',
__DIR__.'/src/Support/Rectors/',
__DIR__.'/tests/',
])
->ignoreUnknownClasses([
SensitiveParameter::class,
])
/** @see \ShipMonk\ComposerDependencyAnalyser\Analyser::CORE_EXTENSIONS */
->ignoreErrorsOnExtensions(
[
'ext-ctype',
'ext-mbstring',
],
[ErrorType::SHADOW_DEPENDENCY],
)
->ignoreErrorsOnPackageAndPath(
'illuminate/collections',
__DIR__.'/src/Support/helpers.php',
[ErrorType::SHADOW_DEPENDENCY]
)
->ignoreErrorsOnPackageAndPath(
'symfony/var-dumper',
__DIR__.'/src/Concerns/WithDumpable.php',
[ErrorType::DEV_DEPENDENCY_IN_PROD]
);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/guanguans/soar-php.git
git@gitee.com:guanguans/soar-php.git
guanguans
soar-php
soar-php
master

搜索帮助