We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f511b5 commit 38480a2Copy full SHA for 38480a2
src/BaseComponent.php
@@ -200,6 +200,10 @@ public function execute(): void
200
return;
201
}
202
203
+ // sync actions must write valid JSON directly to output
204
+ // do not report deprecations to not break the output
205
+ error_reporting(error_reporting() & ~E_USER_DEPRECATED & ~E_DEPRECATED);
206
+
207
$action = $this->getConfig()->getAction();
208
$syncActions = $this->getSyncActions();
209
if (array_key_exists($action, $syncActions)) {
0 commit comments