diff --git a/.cspell.json b/.cspell.json index 953aae83e57..cfb25fc6e28 100644 --- a/.cspell.json +++ b/.cspell.json @@ -1093,6 +1093,7 @@ "oldxml", "onecolumn", "onstart", + "opcache", "openapi", "openapirc", "opencontainers", @@ -1497,4 +1498,4 @@ "zaach", "zricethezav" ] -} \ No newline at end of file +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a0fc6905b0..94182cbc474 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l - Fixes - Change `golangci-lint` lint mode to `project` - Disable sql-lint as it is no longer maintained + - Add new entries `findUnusedCode` and `findUnusedBaselineEntry` in default `psalm.xml` configuration file for PHP_PSALM linter. Related to - Doc - Handle disabled_reason property in descriptors diff --git a/TEMPLATES/psalm.xml b/TEMPLATES/psalm.xml index 0eb2e126fa5..6f7b0af5a0c 100644 --- a/TEMPLATES/psalm.xml +++ b/TEMPLATES/psalm.xml @@ -1,4 +1,9 @@ - + diff --git a/megalinter/descriptors/php.megalinter-descriptor.yml b/megalinter/descriptors/php.megalinter-descriptor.yml index 041730f09a3..ee7861ec23f 100644 --- a/megalinter/descriptors/php.megalinter-descriptor.yml +++ b/megalinter/descriptors/php.megalinter-descriptor.yml @@ -16,6 +16,8 @@ install: - php83-ctype - php83-curl - php83-dom + - php83-opcache + - php83-common - php83-simplexml - dpkg dockerfile: