-
-
Notifications
You must be signed in to change notification settings - Fork 2
chore: fix formatting #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| { | ||
| [Sentry.SentryEvent]DoProcess([Sentry.SentryEvent] $event_) | ||
| { | ||
| class EventUpdater : SentryEventProcessor { |
Check notice
Code scanning / PSScriptAnalyzer
Ignoring 'TypeNotFound' parse error on type 'SentryEventProcessor'. Check if the specified type is correct. This can also be due the type not being known at parse time due to types imported by 'using' statements. Note
| @@ -1,9 +1,7 @@ | |||
| function Get-CurrentOptions | |||
| { | |||
| function Get-CurrentOptions { | |||
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Get-CurrentOptions' uses a plural noun. A singular noun should be used instead. Warning
| # Wrapper to expose Sentry.Internal.SdkComposer::CreateHttpTransport() | ||
| function New-HttpTransport | ||
| { | ||
| function New-HttpTransport { |
Check warning
Code scanning / PSScriptAnalyzer
Function 'New-HttpTransport' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
| @@ -1,5 +1,4 @@ | |||
| class StackTraceProcessor : SentryEventProcessor | |||
| { | |||
| class StackTraceProcessor : SentryEventProcessor { | |||
Check notice
Code scanning / PSScriptAnalyzer
Ignoring 'TypeNotFound' parse error on type 'SentryEventProcessor'. Check if the specified type is correct. This can also be due the type not being known at parse time due to types imported by 'using' statements. Note
|
|
||
| function Start-Sentry | ||
| { | ||
| function Start-Sentry { |
Check warning
Code scanning / PSScriptAnalyzer
Function 'Start-Sentry' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
| @@ -1,5 +1,4 @@ | |||
| function Start-SentryTransaction | |||
| { | |||
| function Start-SentryTransaction { | |||
Check warning
Code scanning / PSScriptAnalyzer
Function 'Start-SentryTransaction' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
| @@ -1,5 +1,4 @@ | |||
| function Stop-Sentry | |||
| { | |||
| function Stop-Sentry { | |||
Check warning
Code scanning / PSScriptAnalyzer
Function 'Stop-Sentry' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. Warning
The formatting PR changed code style (moving opening braces to the same line as function/control structure declarations), which shifted line numbers in stack traces. This updates test expectations to match the new line numbers: - integration.tests.ps1: Updated line numbers for funcA (21→19), funcC (12→11), and piped command tests (3→2, 4→3) - stacktrace.tests.ps1: Updated line numbers for funcB calls (19→16, 18→15, 17→14, 24→19) and funcA (7→6) - Updated PreContext expectations to reflect compressed formatting - Changed quote style from double to single quotes in throwingshort.ps1 references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
No description provided.