⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
shopware
/
custom
/
plugins
/
SwagPayPal
/
Edit File: phpstan.neon.dist
includes: - %baseline% - %ShopwareRoot%/vendor/phpstan/phpstan/conf/bleedingEdge.neon parameters: phpVersion: %phpversion% level: 8 tmpDir: var/cache/phpstan inferPrivatePropertyTypeFromConstructor: true checkMissingIterableValueType: false checkGenericClassInNonGenericObjectType: false reportUnmatchedIgnoredErrors: false paths: - src - tests excludePaths: - src/Resources # 6.4 compatibility - src/Pos/Run/LogHandler.php - src/Webhook/Registration/WebhookSystemConfigController.php - tests/Webhook/Registration/WebhookSystemConfigControllerTest.php - tests/Mock/CacheItemMock*.php symfony: constant_hassers: false # the placeholder "%ShopwareHashedCacheDir%" will be replaced on execution by bin/phpstan-config-generator.php script container_xml_path: '../../..%ShopwareHashedCacheDir%/%ShopwareKernelClass%DevDebugContainer.xml' ignoreErrors: # We won't type all arrays/iterables for now - '#no value type specified in iterable type#' - # 6.4 compatibility message: '#(unknown class|invalid type) .*EntityRepositoryInterface#' paths: - src/Util/Compatibility/EntityRepositoryDecorator.php - src/Util/Lifecycle/Method/PaymentMethodDataRegistry.php - # 6.4 compatibility message: '#(unknown class|invalid type) .*SalesChannelRepositoryInterface#' paths: - src/Util/Compatibility/SalesChannelRepositoryDecorator.php - # This service gets registered within Cms Extensions message: '#is not registered in the container#' path: tests/Checkout/ExpressCheckout/ExpressCheckoutSubscriberTest.php - # Services in tests are all public message: '#Service ".*" is private#' path: tests/**/*.php - # ignore attributes, since we have to support PHP 7.4 for Shopware 6.4 message: '#use the .* attribute instead#' - # ignore new monolog levels, not supported in Shopware 6.4 message: '#Use \\Monolog\\Level::.*#' - # ignore own deprecations in tests message: '#.*tag:v7.0.0 -#' path: tests/**/*.php - # ignore Plus deprecations message: '#deprecated.*(Plus|PLUS|_PAYMENT_|MERCHANT_LOCATION)#' - # ignore Symfony 6 message queue deprecations message: '#AsMessageHandler#' bootstrapFiles: - bin/static-analyze-autoloader.php services: - class: Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\Internal\InternalClassRule tags: - phpstan.rules.rule - class: Shopware\Core\DevOps\StaticAnalyze\PHPStan\Rules\Internal\InternalMethodRule tags: - phpstan.rules.rule
Simpan