- Issue created by @quietone
- Merge request !9310Fix "call to undefined' PHPStan-0 issues in migration system โ (Open) created by quietone
- Status changed to Needs review
3 months ago 6:52am 23 August 2024 - Status changed to RTBC
3 months ago 12:54pm 23 August 2024 - ๐บ๐ธUnited States smustgrave
Seems straight forward and does address the phpstan issues. Wondered if we should add typehints but probably would be a stretch of scope.
- ๐ณ๐ฟNew Zealand quietone
Rebased, these was a conflict in the phpstan baseline.
- ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
Added some comments to the MR. I feel that we shouln't make breaking changes or have extra to maintain just because PHPStan can't work something out.
- ๐ณ๐ฟNew Zealand quietone
And in my work on this I also removed unnecessary usages of CreateTestContentEntitiesTrait.
The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- First commit to issue fork.
- ๐บ๐ธUnited States smustgrave
Tried adding a return type to the new method but got
Return type mixed of method Drupal\Tests\migrate_drupal_ui\Functional\d7\FilePathTest::getManagedFiles() is not covariant with return type array of method Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getManagedFiles(). ------ --------------------------------------------------------------------------------------
- ๐บ๐ธUnited States smustgrave
Re-ran unit test failure and was random.
+1 from me but there are 2 open threads from @alexpott what are your thoughts on the responses?
- ๐บ๐ธUnited States smustgrave
Going to go out on a limb and mark this one. If premature I apologize.
- ๐ฎ๐ณIndia Binoli Lalani Gujarat
binoli lalani โ made their first commit to this issueโs fork.