1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Merge pull request #7446 from orklah/fix-ci2

fix tests
This commit is contained in:
orklah 2022-01-20 22:19:35 +01:00 committed by GitHub
commit 65783c7930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,7 @@ class CallableTest extends TestCase
],
],
'inferTemplateOfHighOrderFunctionArgByPreviousArg' => [
'<?php
'code' => '<?php
/**
* @return list<int>
*/
@ -263,7 +263,7 @@ class CallableTest extends TestCase
],
],
'inferTemplateOfHighOrderFunctionArgByPreviousArgInClassContext' => [
'<?php
'code' => '<?php
/**
* @template A
*/
@ -296,7 +296,7 @@ class CallableTest extends TestCase
],
],
'inferTemplateOfHighOrderFunctionFromMethodArgByPreviousArg' => [
'<?php
'code' => '<?php
final class Ops
{
/**
@ -332,7 +332,7 @@ class CallableTest extends TestCase
],
],
'inferTemplateOfHighOrderFunctionFromStaticMethodArgByPreviousArg' => [
'<?php
'code' => '<?php
final class StaticOps
{
/**
@ -366,8 +366,8 @@ class CallableTest extends TestCase
'$result' => 'list<int>',
],
],
'' => [
'<?php
'PipeTest' => [
'code' => '<?php
/**
* @template A
* @template B
@ -434,7 +434,7 @@ class CallableTest extends TestCase
'8.0',
],
'inferPipelineWithPartiallyAppliedFunctions' => [
'<?php
'code' => '<?php
/**
* @template T
*