mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-11-22 09:14:34 +00:00
AnthonyAxenov
95e3a9cac5
* обновлены версии основных зависимостей * удалён myclabs/php-enum * добавлен psalm с конфигом * добавлен phpcs с конфигом * добавлен php-cs-fixer с конфигом * вероятно, будут ещё настроечные коммиты
63 lines
2.1 KiB
XML
63 lines
2.1 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
~ Copyright (c) 2020-2021 Антон Аксенов (Anthony Axenov)
|
|
~
|
|
~ This code is licensed under MIT.
|
|
~ Этот код распространяется по лицензии MIT.
|
|
~ https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE
|
|
-->
|
|
|
|
<psalm
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="https://getpsalm.org/schema/config"
|
|
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
|
|
|
errorLevel="7"
|
|
addParamDefaultToDocblockType="true"
|
|
allowStringToStandInForClass="true"
|
|
disableSuppressAll="true"
|
|
ensureArrayIntOffsetsExist="true"
|
|
ensureArrayStringOffsetsExist="true"
|
|
findUnusedCode="true"
|
|
findUnusedPsalmSuppress="true"
|
|
findUnusedVariablesAndParams="true"
|
|
runTaintAnalysis="true"
|
|
sealAllMethods="true"
|
|
sealAllProperties="true"
|
|
strictBinaryOperands="true"
|
|
>
|
|
<!-- Default values:
|
|
allowNamedArgumentCalls="true"
|
|
checkForThrowsDocblock="false"
|
|
checkForThrowsInGlobalScope="false"
|
|
hideExternalErrors="false"
|
|
hoistConstants="false"
|
|
ignoreInternalFunctionFalseReturn="true"
|
|
ignoreInternalFunctionNullReturn="true"
|
|
inferPropertyTypesFromConstructor="true"
|
|
memoizeMethodCallResults="false"
|
|
rememberPropertyAssignmentsAfterCall="true"
|
|
reportInfo="true"
|
|
reportMixedIssues="true" - when errorLevel>=3
|
|
resolveFromConfigFile="true"
|
|
skipChecksOnUnresolvableIncludes="false"
|
|
throwExceptionOnError="false"
|
|
useDocblockPropertyTypes="false"
|
|
useDocblockTypes="true"
|
|
usePhpDocMethodsWithoutMagicCall="false"
|
|
usePhpDocPropertiesWithoutMagicCall="false"
|
|
-->
|
|
|
|
<projectFiles>
|
|
<directory name="src"/>
|
|
<directory name="tests"/>
|
|
<ignoreFiles>
|
|
<directory name="vendor"/>
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<plugins>
|
|
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
|
|
</plugins>
|
|
</psalm>
|