Skip to content

Commit

Permalink
fix PHPStan TEMPLATE config file to support SARIF PHP v2 support (see #…
Browse files Browse the repository at this point in the history
…3693 and PR #3745) and solved test suite regression
  • Loading branch information
llaville committed Jul 6, 2024
1 parent e7fe7e6 commit 46af401
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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.59.3",
"phpcs": "3.10.1",
"phplint": "9.3.1",
"phpstan": "1.11.4",
"phpstan": "1.11.6",
"pmd": "7.3.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 @@ -158,6 +158,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [sfdx-scanner-apex](https://forcedotcom.github.io/sfdx-scanner/) from 3.26.0 to **4.3.2** on 2024-07-04
- [sfdx-scanner-aura](https://forcedotcom.github.io/sfdx-scanner/) from 3.26.0 to **4.3.2** on 2024-07-04
- [sfdx-scanner-lwc](https://forcedotcom.github.io/sfdx-scanner/) from 3.26.0 to **4.3.2** on 2024-07-04
- [phpstan](https://phpstan.org/) from 1.11.4 to **1.11.6** on 2024-07-06
<!-- linter-versions-end -->

## [v7.12.0] - 2024-06-02
Expand Down
2 changes: 1 addition & 1 deletion TEMPLATES/phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ parameters:

services:
errorFormatter.sarif:
class: Bartlett\Sarif\Converter\PhpStanConverter
class: Bartlett\Sarif\Converter\Reporter\PhpStanFormatter

0 comments on commit 46af401

Please sign in to comment.