You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->logger->warning('Deprecated method "ImageSource->setWidth" is used that will be removed with kaleidoscope 8. Use "withWidth" instead!', LogEnvironment::fromMethodName(__METHOD__));
$this->logger->warning('Deprecated method "ImageSource->setHeight" is used that will be removed with kaleidoscope 8. Use "withHeight" instead!', LogEnvironment::fromMethodName(__METHOD__));
$this->logger->warning('Deprecated method "ImageSource->setQuality" is used that will be removed with kaleidoscope 8. Use "withQuality" instead!', LogEnvironment::fromMethodName(__METHOD__));
117
120
return$this->withQuality($quality);
118
121
}
119
122
@@ -130,6 +133,7 @@ public function withQuality(int $quality): ImageSourceInterface
$this->logger->warning('Deprecated method "ImageSource->setFormat" is used that will be removed with kaleidoscope 8. Use "withFormat" instead!', LogEnvironment::fromMethodName(__METHOD__));
133
137
return$this->withFormat($format);
134
138
}
135
139
@@ -146,6 +150,7 @@ public function withFormat(string $format): ImageSourceInterface
$this->logger->warning('Deprecated method "ImageSource->setDimensions" is used that will be removed with kaleidoscope 8. Use "withDimensions" instead!', LogEnvironment::fromMethodName(__METHOD__));
$this->logger->warning('Deprecated method "ImageSource->applyPreset" is used that will be removed with kaleidoscope 8. Use "withThumbnailPreset" instead!', LogEnvironment::fromMethodName(__METHOD__));
166
172
return$this->withThumbnailPreset($name);
167
173
}
168
174
@@ -171,6 +177,7 @@ public function applyPreset(string $name): ImageSourceInterface
$this->logger->warning('Deprecated method "ImageSource->applyThumbnailPreset" is used that will be removed with kaleidoscope 8. Use "withThumbnailPreset" instead!', LogEnvironment::fromMethodName(__METHOD__));
174
181
return$this->withThumbnailPreset($name);
175
182
}
176
183
@@ -201,6 +208,7 @@ public function withThumbnailPreset(string $name): ImageSourceInterface
$this->logger->warning('Deprecated method "ImageSource->useVariantPreset" is used that will be removed with kaleidoscope 8. Use "withVariantPreset" instead!', LogEnvironment::fromMethodName(__METHOD__));
@@ -233,6 +241,7 @@ public function srcset($mediaDescriptors): string
233
241
*/
234
242
publicfunctionsetTitle(?string$title): void
235
243
{
244
+
$this->logger->warning('Deprecated method "ImageSource->setTitle" is used that will be removed with kaleidoscope 8. Use "withTitle" instead!', LogEnvironment::fromMethodName(__METHOD__));
236
245
$this->title = $title;
237
246
}
238
247
@@ -249,6 +258,7 @@ public function withTitle(?string $title): ImageSourceInterface
249
258
*/
250
259
publicfunctionsetAlt(?string$alt): void
251
260
{
261
+
$this->logger->warning('Deprecated method "ImageSource->setAlt" is used that will be removed with kaleidoscope 8. Use "withAlt" instead!', LogEnvironment::fromMethodName(__METHOD__));
0 commit comments