Skip to content

Commit

Permalink
Provide current file as file path
Browse files Browse the repository at this point in the history
I failed to apply perfectly this comment:
#33820 (comment)
It should fix one failing test in the bridge.
  • Loading branch information
greg0ire committed Feb 5, 2020
1 parent abeee5f commit ed709ab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -157,7 +157,7 @@ public function providerGetTypeDetectsSelf(): array
}

return [
'not_from_vendors_file' => [Deprecation::TYPE_SELF, '', 'MyClass1', ''],
'not_from_vendors_file' => [Deprecation::TYPE_SELF, '', 'MyClass1', __FILE__],
'nonexistent_file' => [Deprecation::TYPE_UNDETERMINED, '', 'MyClass1', 'dummy_vendor_path'],
'serialized_trace_with_nonexistent_triggering_file' => [
Deprecation::TYPE_UNDETERMINED,
Expand Down

0 comments on commit ed709ab

Please sign in to comment.