Skip to content

Commit 6264457

Browse files
committed
eol
1 parent b974453 commit 6264457

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

rules-tests/TypeDeclaration/Rector/StmtsAwareInterface/SafeDeclareStrictTypesRector/Fixture/skip_with_include_file.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ namespace Rector\Tests\TypeDeclaration\Rector\StmtsAwareInterface\SafeDeclareStr
55
// this included file is not safe
66
include __DIR__ . '/../Source/NonTypedApp.php';
77

8-
echo strlen('1');
8+
echo strlen('1');

rules-tests/TypeDeclaration/Rector/StmtsAwareInterface/SafeDeclareStrictTypesRector/Source/NonTypedApp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ final class NonTypedApp
88
{
99
public function callDynamic(string $func): void
1010
{
11+
$func('arg');
1112
}
1213
}
1314

1415
$a = new NonTypedApp();
15-
$a->callDynamic('phpinfo');
16+
$a->callDynamic('phpinfo');

0 commit comments

Comments
 (0)