exakat.yml.disabled 1.2 KB

12345678910111213141516171819202122232425
  1. # See syntax file on https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
  2. name: "Exakat analysis"
  3. on:
  4. schedule:
  5. - cron: "0 20 * * *"
  6. workflow_dispatch:
  7. branches:
  8. - develop
  9. permissions:
  10. contents: read
  11. jobs:
  12. exakat:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v3
  16. with:
  17. fetch-depth: 1
  18. - name: Exakat
  19. uses: docker://exakat/exakat-ga
  20. with:
  21. ignore_rules: 'Classes/UseInstanceof,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/ElseIfElseif,Structures/ExitUsage,Structures/RepeatedPrint,Structures/RepeatedRegex,Structures/SameConditions,Structures/SwitchWithoutDefault,Structures/ShouldMakeTernary,Structures/UselessParenthesis,Structures/UseConstant'
  22. ignore_dirs: '/htdocs/includes,/build,/dev,/doc,/scripts,/test'