Changeset 3327929
- Timestamp:
- 07/15/2025 06:12:40 AM (9 months ago)
- Location:
- aweos-google-maps-iframe-load-per-click
- Files:
-
- 10 edited
- 1 copied
-
tags/1.9.4 (copied) (copied from aweos-google-maps-iframe-load-per-click/trunk)
-
tags/1.9.4/aweos-google-maps-iframe-load-per-click.php (modified) (2 diffs)
-
tags/1.9.4/vendor/zendframework/zend-dom/src/Document.php (modified) (2 diffs)
-
tags/1.9.4/vendor/zendframework/zend-dom/src/Document/NodeList.php (modified) (10 diffs)
-
tags/1.9.4/vendor/zendframework/zend-dom/src/NodeList.php (modified) (10 diffs)
-
tags/1.9.4/vendor/zendframework/zend-dom/src/Query.php (modified) (2 diffs)
-
trunk/aweos-google-maps-iframe-load-per-click.php (modified) (2 diffs)
-
trunk/vendor/zendframework/zend-dom/src/Document.php (modified) (2 diffs)
-
trunk/vendor/zendframework/zend-dom/src/Document/NodeList.php (modified) (10 diffs)
-
trunk/vendor/zendframework/zend-dom/src/NodeList.php (modified) (10 diffs)
-
trunk/vendor/zendframework/zend-dom/src/Query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aweos-google-maps-iframe-load-per-click/tags/1.9.4/aweos-google-maps-iframe-load-per-click.php
r3121142 r3327929 11 11 * Plugin URI: - 12 12 * Description: Google Maps can't be used directly anymore, this plugin asks for the users permission. It should work automatically. 13 * Version: 1.9. 313 * Version: 1.9.4 14 14 * Author: AWEOS GmbH 15 15 * Author URI: https://aweos.de … … 20 20 Google Maps can't be used directly anymore, this plugin asks for the users permission. 21 21 This plugin helps with the GDPR for your website. 22 23 Changelog: 24 = 1.9.4 = 25 * Fix: PHP 8+ deprecation warnings behoben 26 * Compatibility: PHP 8.4 Support hinzugefügt 27 * Update: Zend DOM Library PHP 8+ kompatibel gemacht 22 28 23 29 */ -
aweos-google-maps-iframe-load-per-click/tags/1.9.4/vendor/zendframework/zend-dom/src/Document.php
r1885462 r3327929 233 233 { 234 234 libxml_use_internal_errors(true); 235 libxml_disable_entity_loader(true); 235 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 236 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 237 libxml_disable_entity_loader(true); 238 } 236 239 237 240 $encoding = $this->getEncoding(); … … 263 266 } 264 267 265 libxml_disable_entity_loader(false); 268 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 269 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 270 libxml_disable_entity_loader(false); 271 } 266 272 libxml_use_internal_errors(false); 267 273 -
aweos-google-maps-iframe-load-per-click/tags/1.9.4/vendor/zendframework/zend-dom/src/Document/NodeList.php
r1885462 r3327929 48 48 * @return DOMNode 49 49 */ 50 public function rewind() 50 public function rewind(): void 51 51 { 52 52 $this->position = 0; 53 54 return $this->list->item(0);55 53 } 56 54 … … 60 58 * @return bool 61 59 */ 62 public function valid() 60 public function valid(): bool 63 61 { 64 62 return $this->offsetExists($this->position); … … 70 68 * @return DOMNode 71 69 */ 72 public function current() 70 public function current(): mixed 73 71 { 74 72 return $this->list->item($this->position); … … 80 78 * @return int 81 79 */ 82 public function key() 80 public function key(): mixed 83 81 { 84 82 return $this->position; … … 90 88 * @return DOMNode 91 89 */ 92 public function next() 90 public function next(): void 93 91 { 94 92 ++$this->position; 95 96 return $this->list->item($this->position);97 93 } 98 94 … … 102 98 * @return int 103 99 */ 104 public function count() 100 public function count(): int 105 101 { 106 102 return $this->list->length; … … 113 109 * @return bool 114 110 */ 115 public function offsetExists( $key)111 public function offsetExists(mixed $offset): bool 116 112 { 117 113 // DOMNodeList return `null` if item not exists. 118 return (null !== $this->list->item($ key));114 return (null !== $this->list->item($offset)); 119 115 } 120 116 … … 125 121 * @return mixed 126 122 */ 127 public function offsetGet( $key)123 public function offsetGet(mixed $offset): mixed 128 124 { 129 return $this->list->item($ key);125 return $this->list->item($offset); 130 126 } 131 127 … … 137 133 * @throws Exception\BadMethodCallException when attempting to write to a read-only item 138 134 */ 139 public function offsetSet( $key, $value)135 public function offsetSet(mixed $offset, mixed $value): void 140 136 { 141 137 throw new Exception\BadMethodCallException('Attempting to write to a read-only list'); … … 148 144 * @throws Exception\BadMethodCallException when attempting to unset a read-only item 149 145 */ 150 public function offsetUnset( $key)146 public function offsetUnset(mixed $offset): void 151 147 { 152 148 throw new Exception\BadMethodCallException('Attempting to unset on a read-only list'); -
aweos-google-maps-iframe-load-per-click/tags/1.9.4/vendor/zendframework/zend-dom/src/NodeList.php
r1885462 r3327929 125 125 * @return DOMNode 126 126 */ 127 public function rewind() 127 public function rewind(): void 128 128 { 129 129 $this->position = 0; 130 131 return $this->nodeList->item(0);132 130 } 133 131 … … 137 135 * @return bool 138 136 */ 139 public function valid() 137 public function valid(): bool 140 138 { 141 139 if (in_array($this->position, range(0, $this->nodeList->length - 1)) && $this->nodeList->length > 0) { … … 151 149 * @return DOMNode 152 150 */ 153 public function current() 151 public function current(): mixed 154 152 { 155 153 return $this->nodeList->item($this->position); … … 161 159 * @return int 162 160 */ 163 public function key() 161 public function key(): mixed 164 162 { 165 163 return $this->position; … … 171 169 * @return DOMNode 172 170 */ 173 public function next() 171 public function next(): void 174 172 { 175 173 ++$this->position; 176 177 return $this->nodeList->item($this->position);178 174 } 179 175 … … 183 179 * @return int 184 180 */ 185 public function count() 181 public function count(): int 186 182 { 187 183 return $this->nodeList->length; … … 194 190 * @return bool 195 191 */ 196 public function offsetExists( $key)197 { 198 if (in_array($ key, range(0, $this->nodeList->length - 1)) && $this->nodeList->length > 0) {192 public function offsetExists(mixed $offset): bool 193 { 194 if (in_array($offset, range(0, $this->nodeList->length - 1)) && $this->nodeList->length > 0) { 199 195 return true; 200 196 } … … 208 204 * @return mixed 209 205 */ 210 public function offsetGet( $key)211 { 212 return $this->nodeList->item($ key);206 public function offsetGet(mixed $offset): mixed 207 { 208 return $this->nodeList->item($offset); 213 209 } 214 210 … … 220 216 * @throws Exception\BadMethodCallException when attempting to write to a read-only item 221 217 */ 222 public function offsetSet( $key, $value)218 public function offsetSet(mixed $offset, mixed $value): void 223 219 { 224 220 throw new Exception\BadMethodCallException('Attempting to write to a read-only list'); … … 231 227 * @throws Exception\BadMethodCallException when attempting to unset a read-only item 232 228 */ 233 public function offsetUnset( $key)229 public function offsetUnset(mixed $offset): void 234 230 { 235 231 throw new Exception\BadMethodCallException('Attempting to unset on a read-only list'); -
aweos-google-maps-iframe-load-per-click/tags/1.9.4/vendor/zendframework/zend-dom/src/Query.php
r1885462 r3327929 234 234 $encoding = $this->getEncoding(); 235 235 libxml_use_internal_errors(true); 236 libxml_disable_entity_loader(true); 236 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 237 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 238 libxml_disable_entity_loader(true); 239 } 237 240 if (null === $encoding) { 238 241 $domDoc = new DOMDocument('1.0'); … … 263 266 libxml_clear_errors(); 264 267 } 265 libxml_disable_entity_loader(false); 268 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 269 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 270 libxml_disable_entity_loader(false); 271 } 266 272 libxml_use_internal_errors(false); 267 273 -
aweos-google-maps-iframe-load-per-click/trunk/aweos-google-maps-iframe-load-per-click.php
r3121142 r3327929 11 11 * Plugin URI: - 12 12 * Description: Google Maps can't be used directly anymore, this plugin asks for the users permission. It should work automatically. 13 * Version: 1.9. 313 * Version: 1.9.4 14 14 * Author: AWEOS GmbH 15 15 * Author URI: https://aweos.de … … 20 20 Google Maps can't be used directly anymore, this plugin asks for the users permission. 21 21 This plugin helps with the GDPR for your website. 22 23 Changelog: 24 = 1.9.4 = 25 * Fix: PHP 8+ deprecation warnings behoben 26 * Compatibility: PHP 8.4 Support hinzugefügt 27 * Update: Zend DOM Library PHP 8+ kompatibel gemacht 22 28 23 29 */ -
aweos-google-maps-iframe-load-per-click/trunk/vendor/zendframework/zend-dom/src/Document.php
r1885462 r3327929 233 233 { 234 234 libxml_use_internal_errors(true); 235 libxml_disable_entity_loader(true); 235 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 236 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 237 libxml_disable_entity_loader(true); 238 } 236 239 237 240 $encoding = $this->getEncoding(); … … 263 266 } 264 267 265 libxml_disable_entity_loader(false); 268 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 269 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 270 libxml_disable_entity_loader(false); 271 } 266 272 libxml_use_internal_errors(false); 267 273 -
aweos-google-maps-iframe-load-per-click/trunk/vendor/zendframework/zend-dom/src/Document/NodeList.php
r1885462 r3327929 48 48 * @return DOMNode 49 49 */ 50 public function rewind() 50 public function rewind(): void 51 51 { 52 52 $this->position = 0; 53 54 return $this->list->item(0);55 53 } 56 54 … … 60 58 * @return bool 61 59 */ 62 public function valid() 60 public function valid(): bool 63 61 { 64 62 return $this->offsetExists($this->position); … … 70 68 * @return DOMNode 71 69 */ 72 public function current() 70 public function current(): mixed 73 71 { 74 72 return $this->list->item($this->position); … … 80 78 * @return int 81 79 */ 82 public function key() 80 public function key(): mixed 83 81 { 84 82 return $this->position; … … 90 88 * @return DOMNode 91 89 */ 92 public function next() 90 public function next(): void 93 91 { 94 92 ++$this->position; 95 96 return $this->list->item($this->position);97 93 } 98 94 … … 102 98 * @return int 103 99 */ 104 public function count() 100 public function count(): int 105 101 { 106 102 return $this->list->length; … … 113 109 * @return bool 114 110 */ 115 public function offsetExists( $key)111 public function offsetExists(mixed $offset): bool 116 112 { 117 113 // DOMNodeList return `null` if item not exists. 118 return (null !== $this->list->item($ key));114 return (null !== $this->list->item($offset)); 119 115 } 120 116 … … 125 121 * @return mixed 126 122 */ 127 public function offsetGet( $key)123 public function offsetGet(mixed $offset): mixed 128 124 { 129 return $this->list->item($ key);125 return $this->list->item($offset); 130 126 } 131 127 … … 137 133 * @throws Exception\BadMethodCallException when attempting to write to a read-only item 138 134 */ 139 public function offsetSet( $key, $value)135 public function offsetSet(mixed $offset, mixed $value): void 140 136 { 141 137 throw new Exception\BadMethodCallException('Attempting to write to a read-only list'); … … 148 144 * @throws Exception\BadMethodCallException when attempting to unset a read-only item 149 145 */ 150 public function offsetUnset( $key)146 public function offsetUnset(mixed $offset): void 151 147 { 152 148 throw new Exception\BadMethodCallException('Attempting to unset on a read-only list'); -
aweos-google-maps-iframe-load-per-click/trunk/vendor/zendframework/zend-dom/src/NodeList.php
r1885462 r3327929 125 125 * @return DOMNode 126 126 */ 127 public function rewind() 127 public function rewind(): void 128 128 { 129 129 $this->position = 0; 130 131 return $this->nodeList->item(0);132 130 } 133 131 … … 137 135 * @return bool 138 136 */ 139 public function valid() 137 public function valid(): bool 140 138 { 141 139 if (in_array($this->position, range(0, $this->nodeList->length - 1)) && $this->nodeList->length > 0) { … … 151 149 * @return DOMNode 152 150 */ 153 public function current() 151 public function current(): mixed 154 152 { 155 153 return $this->nodeList->item($this->position); … … 161 159 * @return int 162 160 */ 163 public function key() 161 public function key(): mixed 164 162 { 165 163 return $this->position; … … 171 169 * @return DOMNode 172 170 */ 173 public function next() 171 public function next(): void 174 172 { 175 173 ++$this->position; 176 177 return $this->nodeList->item($this->position);178 174 } 179 175 … … 183 179 * @return int 184 180 */ 185 public function count() 181 public function count(): int 186 182 { 187 183 return $this->nodeList->length; … … 194 190 * @return bool 195 191 */ 196 public function offsetExists( $key)197 { 198 if (in_array($ key, range(0, $this->nodeList->length - 1)) && $this->nodeList->length > 0) {192 public function offsetExists(mixed $offset): bool 193 { 194 if (in_array($offset, range(0, $this->nodeList->length - 1)) && $this->nodeList->length > 0) { 199 195 return true; 200 196 } … … 208 204 * @return mixed 209 205 */ 210 public function offsetGet( $key)211 { 212 return $this->nodeList->item($ key);206 public function offsetGet(mixed $offset): mixed 207 { 208 return $this->nodeList->item($offset); 213 209 } 214 210 … … 220 216 * @throws Exception\BadMethodCallException when attempting to write to a read-only item 221 217 */ 222 public function offsetSet( $key, $value)218 public function offsetSet(mixed $offset, mixed $value): void 223 219 { 224 220 throw new Exception\BadMethodCallException('Attempting to write to a read-only list'); … … 231 227 * @throws Exception\BadMethodCallException when attempting to unset a read-only item 232 228 */ 233 public function offsetUnset( $key)229 public function offsetUnset(mixed $offset): void 234 230 { 235 231 throw new Exception\BadMethodCallException('Attempting to unset on a read-only list'); -
aweos-google-maps-iframe-load-per-click/trunk/vendor/zendframework/zend-dom/src/Query.php
r1885462 r3327929 234 234 $encoding = $this->getEncoding(); 235 235 libxml_use_internal_errors(true); 236 libxml_disable_entity_loader(true); 236 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 237 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 238 libxml_disable_entity_loader(true); 239 } 237 240 if (null === $encoding) { 238 241 $domDoc = new DOMDocument('1.0'); … … 263 266 libxml_clear_errors(); 264 267 } 265 libxml_disable_entity_loader(false); 268 // libxml_disable_entity_loader ist deprecated in PHP 8.0+ und wirkungslos in PHP 8.3+ 269 if (LIBXML_VERSION < 20900 && function_exists('libxml_disable_entity_loader')) { 270 libxml_disable_entity_loader(false); 271 } 266 272 libxml_use_internal_errors(false); 267 273
Note: See TracChangeset
for help on using the changeset viewer.