# See syntax file on https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions name: "Exakat analysis" on: # execute once a month, the 1st schedule: - cron: "0 20 1 * *" workflow_dispatch: permissions: contents: read jobs: exakat: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 1 ref: develop - name: Exakat uses: docker://exakat/exakat-ga with: ignore_rules: 'Classes/UseInstanceof,Constants/ConstantStrangeNames,Performances/PrePostIncrement,Functions/UndefinedFunctions,Functions/WrongNumberOfArguments,Functions/WrongTypeWithCall,Variables/UndefinedVariable,Classes/DontUnsetProperties,Classes/NonPpp,Classes/StaticMethodsCalledFromObject,Classes/UseClassOperator,Functions/UsesDefaultArguments,Php/NoClassInGlobal,Php/ShouldUseCoalesce,Php/WrongTypeForNativeFunction,Structures/AddZero,Structures/DropElseAfterReturn,Structures/IfWithSameConditions,Structures/MergeIfThen,Structures/NestedTernary,Structures/ElseIfElseif,Structures/ExitUsage,Structures/RepeatedPrint,Structures/RepeatedRegex,Structures/SameConditions,Structures/SwitchWithoutDefault,Structures/ShouldMakeTernary,Structures/UselessParenthesis,Structures/UseConstant' ignore_dirs: '/htdocs/includes/,/htdocs/install/doctemplates/,/dev/,/doc/,/scripts/,/test/' file_extensions: php project_reports: Perfile