diff --git a/plugins/linters/phpstan/fixtures/__snapshots__/basic_v1.11.1.shot b/plugins/linters/phpstan/fixtures/__snapshots__/basic_v1.11.1.shot deleted file mode 100644 index ec47bf1d1..000000000 --- a/plugins/linters/phpstan/fixtures/__snapshots__/basic_v1.11.1.shot +++ /dev/null @@ -1,59 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`linter=phpstan fixture=basic version=1.11.1 1`] = ` -{ - "issues": [ - { - "category": "CATEGORY_LINT", - "documentationUrl": "https://phpstan.org/user-guide/discovering-symbols", - "level": "LEVEL_MEDIUM", - "location": { - "path": "basic.in.php", - "range": { - "endLine": 7, - "startLine": 7, - }, - }, - "message": "Call to method format() on an unknown class DateTimeImutable.", - "mode": "MODE_BLOCK", - "ruleKey": "class.notFound", - "snippet": " echo 'Hello, ' . $date->format('j. n. Y');", - "snippetWithContext": "format('j. n. Y'); - } -}", - "tool": "phpstan", - }, - { - "category": "CATEGORY_LINT", - "level": "LEVEL_MEDIUM", - "location": { - "path": "basic.in.php", - "range": { - "endLine": 5, - "startLine": 5, - }, - }, - "message": "Parameter $date of method HelloWorld::sayHello() has invalid type DateTimeImutable.", - "mode": "MODE_BLOCK", - "ruleKey": "class.notFound", - "snippet": " public function sayHello(DateTimeImutable $date): void", - "snippetWithContext": "format('j. n. Y'); - } -}", - "tool": "phpstan", - }, - ], -} -`; diff --git a/plugins/linters/phpstan/fixtures/__snapshots__/batched_v1.11.1.shot b/plugins/linters/phpstan/fixtures/__snapshots__/batched_v1.11.1.shot deleted file mode 100644 index 3d719ce12..000000000 --- a/plugins/linters/phpstan/fixtures/__snapshots__/batched_v1.11.1.shot +++ /dev/null @@ -1,110 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`linter=phpstan fixture=batched version=1.11.1 1`] = ` -{ - "issues": [ - { - "category": "CATEGORY_LINT", - "documentationUrl": "https://phpstan.org/user-guide/discovering-symbols", - "level": "LEVEL_MEDIUM", - "location": { - "path": "basic.php", - "range": { - "endLine": 7, - "startLine": 7, - }, - }, - "message": "Call to method format() on an unknown class DateTimeImutable.", - "mode": "MODE_BLOCK", - "ruleKey": "class.notFound", - "snippet": " echo 'Hello, ' . $date->format('j. n. Y');", - "snippetWithContext": "format('j. n. Y'); - } -}", - "tool": "phpstan", - }, - { - "category": "CATEGORY_LINT", - "documentationUrl": "https://phpstan.org/user-guide/discovering-symbols", - "level": "LEVEL_MEDIUM", - "location": { - "path": "basic_batched.php", - "range": { - "endLine": 7, - "startLine": 7, - }, - }, - "message": "Call to method format() on an unknown class DateTimeImutable.", - "mode": "MODE_BLOCK", - "ruleKey": "class.notFound", - "snippet": " echo 'Hello, ' . $date->format('j. n. Y');", - "snippetWithContext": "format('j. n. Y'); - } -}", - "tool": "phpstan", - }, - { - "category": "CATEGORY_LINT", - "level": "LEVEL_MEDIUM", - "location": { - "path": "basic.php", - "range": { - "endLine": 5, - "startLine": 5, - }, - }, - "message": "Parameter $date of method HelloWorld::sayHello() has invalid type DateTimeImutable.", - "mode": "MODE_BLOCK", - "ruleKey": "class.notFound", - "snippet": " public function sayHello(DateTimeImutable $date): void", - "snippetWithContext": "format('j. n. Y'); - } -}", - "tool": "phpstan", - }, - { - "category": "CATEGORY_LINT", - "level": "LEVEL_MEDIUM", - "location": { - "path": "basic_batched.php", - "range": { - "endLine": 5, - "startLine": 5, - }, - }, - "message": "Parameter $date of method HelloWorld::sayHello() has invalid type DateTimeImutable.", - "mode": "MODE_BLOCK", - "ruleKey": "class.notFound", - "snippet": " public function sayHello(DateTimeImutable $date): void", - "snippetWithContext": "format('j. n. Y'); - } -}", - "tool": "phpstan", - }, - ], -} -`;