Drupal 11 support
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3493603. -->
Reported by: [stephen-cox](https://www.drupal.org/user/2862323)
Related to !10
>>>
<p>This module needs Drupal 11 support.</p>
<p>Report from the Upgrade Status module (some of which can be ignored</p>
<pre>================================================================================<br>Geo entity, 1.0.1<br>Scanned on Thu 12/12/2024 3:13pm<br><br>FILE: web/modules/contrib/geo_entity/geo_entity.module<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 92 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br>Check manually 95 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_address/src/Plugin/Field/Field<br>Widget/AutocompleteAddress.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 148 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br>Check manually 152 Only booleans are allowed in an if condition, mixed given. <br>--------------------------------------------------------------------------------<br>Check manually 187 Short ternary operator is not allowed. Use null coalesce <br> operator if applicable or consider using long ternary. <br>--------------------------------------------------------------------------------<br>Check manually 202 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br>Check manually 206 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br>Check manually 222 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_address/tests/Functional/Addre<br>ssFormsTest.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 111 Dynamic call to static method <br> PHPUnit\Framework\Assert::assertEquals(). <br>--------------------------------------------------------------------------------<br><br>FILE: web/modules/contrib/geo_entity/modules/geo_entity_tz/geo_entity_tz.module<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 24 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br>Check manually 26 Variable property access on <br> Drupal\geo_entity\GeoEntityInterface. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_tz/src/Form/SettingsForm.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 57 Short ternary operator is not allowed. Use null coalesce <br> operator if applicable or consider using long ternary. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_tz/src/GeonamesTimezone.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 62 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_tz/tests/src/Unit/GeonamesServ<br>iceTest.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 99 Dynamic call to static method <br> PHPUnit\Framework\Assert::assertEquals(). <br>--------------------------------------------------------------------------------<br><br>FILE: web/modules/contrib/geo_entity/src/Controller/AutocompleteController.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 135 Call to function in_array() requires parameter #3 to be set.<br>--------------------------------------------------------------------------------<br><br>FILE: web/modules/contrib/geo_entity/src/Entity/GeoEntity.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\ContentEntityInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\EntityChangedInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\EntityInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\FieldableEntityInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\RevisionLogInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\RevisionableInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\SynchronizableInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\TranslatableInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\Core\Entity\TranslatableRevisionableInterface::preSav<br> e(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match interface method name: <br> Drupal\geo_entity\GeoEntityInterface::preSave(). <br>--------------------------------------------------------------------------------<br>Check manually 146 Method Drupal\geo_entity\Entity\GeoEntity::presave() does <br> not match parent method name: <br> Drupal\Core\Entity\RevisionableContentEntityBase::preSave().<br>--------------------------------------------------------------------------------<br>Check manually 148 Construct empty() is not allowed. Use more strict <br> comparison. <br>--------------------------------------------------------------------------------<br><br>FILE: web/modules/contrib/geo_entity/src/GeoEntityListBuilder.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 66 Implicit array creation is not allowed - variable $build <br> does not exist. <br>--------------------------------------------------------------------------------<br>Check manually 82 Implicit array creation is not allowed - variable $header <br> does not exist. <br>--------------------------------------------------------------------------------<br>Check manually 94 Implicit array creation is not allowed - variable $row does <br> not exist. <br>--------------------------------------------------------------------------------<br><br>FILE: web/modules/contrib/geo_entity/src/GeoEntityTypeListBuilder.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 20 Implicit array creation is not allowed - variable $header <br> does not exist. <br>--------------------------------------------------------------------------------<br>Check manually 29 Implicit array creation is not allowed - variable $row does <br> not exist. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/tests/src/Functional/GeoBundleCreationTest.php<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 87 Dynamic call to static method <br> PHPUnit\Framework\Assert::assertInstanceOf(). <br>--------------------------------------------------------------------------------<br>Check manually 88 Dynamic call to static method <br> PHPUnit\Framework\Assert::assertEquals(). <br>--------------------------------------------------------------------------------<br><br>FILE: web/modules/contrib/geo_entity/geo_entity.info.yml<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 5 Value of core_version_requirement: ^10 is not compatible <br> with the next major version of Drupal core. See <br> https://drupal.org/node/3070687. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_tz/geo_entity_tz.info.yml<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 5 Value of core_version_requirement: ^9 || ^10 is not <br> compatible with the next major version of Drupal core. See <br> https://drupal.org/node/3070687. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_address/geo_entity_address.inf<br>o.yml<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 5 Value of core_version_requirement: ^10 is not compatible <br> with the next major version of Drupal core. See <br> https://drupal.org/node/3070687. <br>--------------------------------------------------------------------------------<br><br>FILE:<br>web/modules/contrib/geo_entity/modules/geo_entity_area/geo_entity_area.info.yml<br><br>STATUS LINE MESSAGE <br>--------------------------------------------------------------------------------<br>Check manually 5 Value of core_version_requirement: ^10 is not compatible <br> with the next major version of Drupal core. See <br> https://drupal.org/node/3070687. <br>--------------------------------------------------------------------------------</pre>
issue