Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Feeds module: https://www.drupal.org/project/feeds
Comment | File | Size | Author |
---|---|---|---|
#5 | google_map_field-feeds_integration-3151403-5.patch | 1.47 KB | VladimirAus |
#2 | google_map_field-feeds_integration-3151403-2.patch | 4.25 KB | VladimirAus |
Comments
Comment #2
VladimirAusTo test:
Comment #4
scot.hubbard CreditAttribution: scot.hubbard commentedI have added the patch to the latest dev version. One coding standards violation needed fixing:
FILE: /var/www/drupal8dev.local/web/modules/custom/google_map_field/src/Feeds/Target/GoogleMap.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------
144 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
-----------------------------------------------------------------------------------------------------------------------
Apart from that it all looks good. Once RTBC I'll merge into stable release.
Comment #5
VladimirAus@scot.hubbard Which drupal standards are you running? I ran
phpcs --standard=DrupalPractice,Drupal --extensions=php,module,inc,install,test,profile,theme
and gotPatch added.
Comment #6
scot.hubbard CreditAttribution: scot.hubbard commented@validimirAus - I was only running phpcs --standard=Drupal, but with both DrupalPractice and Drupal, I get:
phpcs --standard=DrupalPractice,Drupal .
FILE: /var/www/drupal8dev.local/web/modules/custom/google_map_field/src/Feeds/Target/GoogleMap.php
-----------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------------
47 | WARNING | Unused variable $config_id.
144 | WARNING | Translatable strings must not begin or end with white spaces, use placeholders with t() for variables
-----------------------------------------------------------------------------------------------------------------------
Time: 1.76 secs; Memory: 14MB
Removing the single space from the start of the string you are translating removes the warning from line 144.
Comment #7
VladimirAusHm. I'm not getting the first one but I fixed both of those in #5.
Comment #8
scot.hubbard CreditAttribution: scot.hubbard commentedComment #9
scot.hubbard CreditAttribution: scot.hubbard commentedAdded in release 8.x-1.11
Comment #10
VladimirAus@scot.hubbard did you add both patch 2 and then patch 5?
Because #5 had another bug fixed.
Comment #11
scot.hubbard CreditAttribution: scot.hubbard commentedThanks VladimirAus - I had not realised there was another fix made. The patch is now applied and released.