Skip to content

fix non conventions based SentryLog engine#58

Merged
LordSimal merged 1 commit into3.xfrom
3.x-log-engine-naming
Apr 6, 2026
Merged

fix non conventions based SentryLog engine#58
LordSimal merged 1 commit into3.xfrom
3.x-log-engine-naming

Conversation

@LordSimal
Copy link
Copy Markdown
Owner

Closes #57

@LordSimal LordSimal force-pushed the 3.x-log-engine-naming branch from 9360a49 to 2cea16a Compare April 6, 2026 18:15
@LordSimal
Copy link
Copy Markdown
Owner Author

@ADmad looks good?

$sentryLogger->flush();
}
}
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class_alias() call missing at the bottom of the file, similar to https://github.com/cakephp/cakephp/blob/5.next/src/Console/Helper/BannerHelper.php#L110

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@LordSimal LordSimal force-pushed the 3.x-log-engine-naming branch from 2cea16a to 2e1317c Compare April 6, 2026 18:25
{
public bool $logsWillBeFlushed = false;
$msg = 'Use `CakeSentry\Log\Engine\SentryLog` instead of `CakeSentry\Log\Engines\SentryLog`.';
deprecationWarning('3.5.3', $msg);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People usually don't like explicit deprecation warnings in a patch release.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then people can complain about that to me 😉

@LordSimal LordSimal merged commit 0ff5f49 into 3.x Apr 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use short name CakeSentry.Sentry for the SentryLog log engine

2 participants