Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#4444)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Dec 31, 2024
1 parent 1927261 commit 0229efe
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 24 deletions.
10 changes: 5 additions & 5 deletions .automation/generated/linter-helps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"php-cs-fixer": "3.65.0",
"phpcs": "3.11.2",
"phplint": "9.5.5",
"phpstan": "2.0.4",
"phpstan": "2.1.0",
"pmd": "7.9.0",
"powershell": "7.4.2",
"powershell_formatter": "7.4.2",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [actionlint](https://rhysd.github.io/actionlint/) from 1.7.4 to **1.7.5** on 2024-12-31
- [checkov](https://www.checkov.io/) from 3.2.344 to **3.2.345** on 2024-12-31
- [gitleaks](https://github.com/gitleaks/gitleaks) from 8.22.0 to **8.22.1** on 2024-12-31
- [phpstan](https://phpstan.org/) from 2.0.4 to **2.1.0** on 2024-12-31
<!-- linter-versions-end -->

## [v8.3.0] - 2024-11-23
Expand Down
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
| [**php-cs-fixer**](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} | 3.65.0 | [MIT](licenses/php-cs-fixer.md) | [![GitHub stars](https://img.shields.io/github/stars/PHP-CS-Fixer/PHP-CS-Fixer?cacheSeconds=3600)](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} | [PHP](descriptors/php_php_cs_fixer.md) | :white_circle: | [Repository](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer){target=_blank} |
| [**phpcs**](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} | 3.11.2 | [BSD-3-Clause](licenses/phpcs.md) | [![GitHub stars](https://img.shields.io/github/stars/PHPCSStandards/PHP_CodeSniffer?cacheSeconds=3600)](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Repository](https://github.com/PHPCSStandards/PHP_CodeSniffer){target=_blank} |
| [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 9.5.5 | [MIT](licenses/phplint.md) | [![GitHub stars](https://img.shields.io/github/stars/overtrue/phplint?cacheSeconds=3600)](https://github.com/overtrue/phplint){target=_blank} | [PHP](descriptors/php_phplint.md) | :white_circle: | [Repository](https://github.com/overtrue/phplint){target=_blank} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 2.0.4 | [MIT](licenses/phpstan.md) | [![GitHub stars](https://img.shields.io/github/stars/phpstan/phpstan?cacheSeconds=3600)](https://github.com/phpstan/phpstan){target=_blank} | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} |
| [**phpstan**](https://github.com/phpstan/phpstan){target=_blank} | 2.1.0 | [MIT](licenses/phpstan.md) | [![GitHub stars](https://img.shields.io/github/stars/phpstan/phpstan?cacheSeconds=3600)](https://github.com/phpstan/phpstan){target=_blank} | [PHP](descriptors/php_phpstan.md) | :white_circle: | [Repository](https://github.com/phpstan/phpstan){target=_blank} |
| [**pmd**](https://github.com/pmd/pmd){target=_blank} | 7.9.0 | [Apache-2.0](licenses/pmd.md) | [![GitHub stars](https://img.shields.io/github/stars/pmd/pmd?cacheSeconds=3600)](https://github.com/pmd/pmd){target=_blank} | [JAVA](descriptors/java_pmd.md) | :heart: | [MegaLinter reference](https://pmd.sourceforge.io/pmd-6.55.0/pmd_userdocs_tools_ci.html){target=_blank} |
| [**powershell**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.4.2 | [MIT](licenses/powershell.md) | [![GitHub stars](https://img.shields.io/github/stars/PowerShell/PSScriptAnalyzer?cacheSeconds=3600)](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | [POWERSHELL](descriptors/powershell_powershell.md) | :white_circle: | [Repository](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
| [**powershell_formatter**](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | 7.4.2 | [MIT](licenses/powershell_formatter.md) | [![GitHub stars](https://img.shields.io/github/stars/PowerShell/PSScriptAnalyzer?cacheSeconds=3600)](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} | [POWERSHELL](descriptors/powershell_powershell_formatter.md) | :white_circle: | [Repository](https://github.com/PowerShell/PSScriptAnalyzer){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/kubernetes_kubescape.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Available Commands:
completion Generate autocompletion script
config Handle cached configurations
delete Delete configurations in Kubescape SaaS version
download Download attack-tracks,controls-inputs,exceptions,control,framework,artifacts
download Download controls-inputs,exceptions,control,framework,artifacts,attack-tracks
fix Fix misconfiguration in files
help Help about any command
list List frameworks/controls will list the supported frameworks and controls
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/php_phpstan.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to use phpstan (configure, ignore files, ignore errors, help &

## phpstan documentation

- Version in MegaLinter: **2.0.4**
- Version in MegaLinter: **2.1.0**
- Visit [Official Web Site](https://phpstan.org/){target=_blank}
- See [How to configure phpstan rules](https://phpstan.org/config-reference#neon-format){target=_blank}
- If custom `phpstan.neon.dist` config file isn't found, [phpstan.neon.dist](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/phpstan.neon.dist){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ description: sfdx-scanner-apex, sfdx-scanner-aura, sfdx-scanner-lwc, lightning-f
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_lightning_flow_scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ GLOBAL FLAGS
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_apex.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_aura.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Warning: We're continually improving Salesforce Code Analyzer. Tell us what you
# renovate: datasource=npm depName=@salesforce/cli
ARG SALESFORCE_CLI_VERSION=2.70.7
# renovate: datasource=npm depName=@salesforce/plugin-packaging
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.9
ARG SALESFORCE_PLUGIN_PACKAGING_VERSION=2.9.10
# renovate: datasource=npm depName=sfdx-hardis
ARG SFDX_HARDIS_VERSION=5.10.1
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk
Expand Down
8 changes: 4 additions & 4 deletions docs/descriptors/snakemake_snakemake.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE]
[--d3dag] [--summary] [--detailed-summary] [--archive FILE]
[--cleanup-metadata FILE [FILE ...]] [--cleanup-shadow]
[--skip-script-cleanup] [--unlock]
[--list-changes {code,input,params}] [--list-input-changes]
[--list-changes {params,code,input}] [--list-input-changes]
[--list-params-changes] [--list-untracked]
[--delete-all-output | --delete-temp-output]
[--keep-incomplete] [--drop-metadata] [--version]
Expand Down Expand Up @@ -179,7 +179,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE]
[--scheduler-solver-path SCHEDULER_SOLVER_PATH]
[--deploy-sources QUERY CHECKSUM]
[--target-jobs TARGET_JOBS [TARGET_JOBS ...]]
[--mode {default,remote,subprocess}]
[--mode {subprocess,remote,default}]
[--report-html-path VALUE]
[--report-html-stylesheet-path VALUE]
[targets ...]
Expand Down Expand Up @@ -647,7 +647,7 @@ UTILITIES:
(default: False)
--unlock Remove a lock on the working directory. (default:
False)
--list-changes {code,input,params}, --lc {code,input,params}
--list-changes {params,code,input}, --lc {params,code,input}
List all output files for which the given items (code,
input, params) have changed since creation.
--list-input-changes, --li
Expand Down Expand Up @@ -1005,7 +1005,7 @@ INTERNAL:
--target-jobs TARGET_JOBS [TARGET_JOBS ...]
Internal use only: Target particular jobs by
RULE:WILDCARD1=VALUE,WILDCARD2=VALUE,...
--mode {default,remote,subprocess}
--mode {subprocess,remote,default}
Internal use only: Set execution mode of Snakemake.
(default: default)

Expand Down
Loading

0 comments on commit 0229efe

Please sign in to comment.