Skip to content

Commit

Permalink
add missing snapshot 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 committed Dec 2, 2024
1 parent 351f087 commit 43b59c7
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions linters/phpstan/test_data/phpstan_v2.0.3_basic.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Testing linter phpstan test basic 1`] = `
{
"issues": [
{
"code": "phpstan",
"file": "test_data/basic.in.php",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"line": "5",
"linter": "phpstan",
"message": "Parameter $date of method HelloWorld::sayHello() has invalid type DateTimeImutable.",
"targetType": "php",
},
{
"code": "phpstan",
"file": "test_data/basic.in.php",
"issueClass": "ISSUE_CLASS_EXISTING",
"level": "LEVEL_HIGH",
"line": "7",
"linter": "phpstan",
"message": "Call to method format() on an unknown class DateTimeImutable.",
"targetType": "php",
},
],
"lintActions": [
{
"command": "lint",
"fileGroupName": "php",
"linter": "phpstan",
"paths": [
"test_data/basic.in.php",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "php",
"linter": "phpstan",
"paths": [
"test_data/basic.in.php",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;

0 comments on commit 43b59c7

Please sign in to comment.