Skip to content

Commit

Permalink
fix deprecation by passing @dataProvider as static function
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed May 31, 2024
1 parent 65449bf commit aa18481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fix tests for Drupal 10.3 since twig template debug indicator of overiden themes changed from ascii to emojis
- fix tests for Drupal 10.3 since changes on field creation experience
- fix tests for Drupal 10.3 since changes on taxonomy form supporting vertical tabs
- fix deprecation by passing @dataprovider as static function

## [4.0.1] - 2024-03-01
### Changed
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/FieldTemplateWhispererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function testTemaplteWhispererFieldAccess($permissions, $scenarios) {
* - Array of permissions for the user.
* - Scenarios with expected access results.
*/
public function providerTestTemaplteWhispererFieldAccess() {
public static function providerTestTemaplteWhispererFieldAccess(): iterable {
return [
[
// Admin access.
Expand Down

0 comments on commit aa18481

Please sign in to comment.