Initial commit: Cloud Control Panel

This commit is contained in:
2026-01-10 01:24:08 +07:00
commit 01d99c5054
69 changed files with 12697 additions and 0 deletions

78
phpstan.neon Executable file
View File

@@ -0,0 +1,78 @@
parameters:
level: 8
paths:
- src/
excludePaths:
- tests/*
- vendor/*
fileExtensions:
- php
phpVersion: 80500
treatPhpDocTypesAsCertain: true
parallel:
maximumNumberOfProcesses: 4
processTimeout: 300.0
jobSize: 20
ignoreErrors:
- '#Method .*::.*\(\) has no return typehint specified.#'
- '#Property .* has no typehint specified.#'
- '#Parameter .* has no typehint specified.#'
- '#Access to an undefined property.*#'
- '#Class .* not found.#'
reportUnmatchedIgnoredErrors: false
universalObjectCratesClasses:
- stdClass
- SimpleXMLElement
bootstrapFiles:
- vendor/autoload.php
scanFiles:
- vendor/autoload.php
tmpDir: .phpstan/cache
checkExplicitMixedMissingReturn: false
checkFunctionNameCase: false
checkInternalClassCaseSensitivity: false
reportMaybesInMethodSignatures: false
reportMaybesInPropertyPhpDocTypes: false
reportStaticMethodSignatures: false
checkTooWideReturnTypesInProtectedAndPublicMethods: false
checkUninitializedProperties: true
checkDynamicProperties: false
rememberPossiblyImpureFunctionValues: true
checkBenevolentUnionTypes: false
reportPossiblyNonexistentGeneralArrayOffset: false
reportPossiblyNonexistentConstantArrayOffset: false
reportAlwaysTrueInLastCondition: false
reportWrongPhpDocTypeInVarTag: false
reportAnyTypeWideningInVarTag: false
checkMissingOverrideMethodAttribute: false
checkStrictPrintfPlaceholderTypes: false
checkMissingCallableSignature: false
exceptions:
implicitThrows: false
uncheckedExceptionRegexes:
- '#^Exception$#'
- '#^Error$#'
- '#^RuntimeException$#'
- '#^LogicException$#'
checkedExceptionClasses: []
tips:
treatPhpDocTypesAsCertain: false
tipsOfTheDay: true
additionalConstructors: []
polluteScopeWithLoopInitialAssignments: true
polluteScopeWithAlwaysIterableForeach: true
polluteScopeWithBlock: true
inferPrivatePropertyTypeFromConstructor: false
includes: