Resolve #3269845 "Passing null to parameter #1 ($string) of type string is deprecated in _responsive_image_build_source_attributes()"
1 open thread
Merge request reports
Activity
added 76 commits
-
3ddfb118...1c773fed - 75 commits from branch
project:11.x
- cf5fd21b - Merge branch '11.x' of github.com:drupal/drupal into 3269845-trim-passing-null-deprecated
-
3ddfb118...1c773fed - 75 commits from branch
added 181 commits
-
cf5fd21b...68bf822f - 177 commits from branch
project:11.x
- 570bdb6a - Apply patch from #25
- 7ca78c6b - Make Breakpoint::getMediaQuery() always return a trimmed string (proposed in #18)
- b49859fc - Add tests
- 62ae848a - Improve the public interface of the Breakpoint class by adding a hasMediaQuery() method to it
Toggle commit list-
cf5fd21b...68bf822f - 177 commits from branch
369 369 $source_attributes = new Attribute([ 370 370 'srcset' => implode(', ', array_unique($srcset)), 371 371 ]); 372 $media_query = trim($breakpoint->getMediaQuery()); 373 if (!empty($media_query)) { 374 $source_attributes->setAttribute('media', $media_query); 372 if ($breakpoint->hasMediaQuery()) { 373 $source_attributes->setAttribute('media', $breakpoint->getMediaQuery()); - Comment on lines +372 to +373
changed this line in version 5 of the diff
added 657 commits
-
62ae848a...be9783de - 653 commits from branch
project:11.x
- 2bd0ed33 - Apply patch from #25
- b993c754 - Make Breakpoint::getMediaQuery() always return a trimmed string (proposed in #18)
- 5c2255c3 - Add tests
- e0e847be - Improve the public interface of the Breakpoint class by adding a hasMediaQuery() method to it
Toggle commit list-
62ae848a...be9783de - 653 commits from branch
added 1 commit
added 3 commits
-
afa6861d...f9e5db1e - 2 commits from branch
project:11.x
- 0e92dda3 - Merge branch drupal:11.x into 3269845-trim-passing-null-deprecated
-
afa6861d...f9e5db1e - 2 commits from branch
Please register or sign in to reply