Skip to content

style: apply repo-wide code formatting#18

Merged
tgiachi merged 1 commit into
developfrom
style/format-sweep
Jun 30, 2026
Merged

style: apply repo-wide code formatting#18
tgiachi merged 1 commit into
developfrom
style/format-sweep

style: apply repo-wide code formatting

38562a3
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Jun 30, 2026 in 15s

168 new alerts

New alerts in code changed by this pull request

  • 45 warnings
  • 123 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 30 in tests/SquidStd.Tests/Integration/Mail/MailPollingServiceTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MimeMessage' is created but not disposed.

Check warning on line 1378 in src/SquidStd.Scripting.Lua/Services/LuaScriptEngineService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
metatableValue
is useless, since its value is never read.

Check warning on line 1246 in src/SquidStd.Scripting.Lua/Services/LuaScriptEngineService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
Object[]
to
Object
- the conversion can be done implicitly.

Check warning on line 33 in tests/SquidStd.Tests/Integration/Mail/MailQueueIntegrationTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'Container' is created but not disposed.

Check warning on line 82 in tests/SquidStd.Tests/Integration/Mail/MailReaderTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MimeMessage' is created but not disposed.

Check warning on line 105 in tests/SquidStd.Tests/Integration/Search/ElasticSearchServiceTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'Container' is created but not disposed.

Check warning on line 1038 in src/SquidStd.Scripting.Lua/Services/LuaScriptEngineService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
elapsedMs
is useless, since its value is never read.

Check warning on line 51 in tests/SquidStd.Tests/Bootstrap/SquidStdBootstrapTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dispose may not be called if an exception is thrown during execution Warning test

Dispose missed if exception is thrown by
call to method Same
.
Dispose missed if exception is thrown by
call to method Same
.
Dispose missed if exception is thrown by
call to method Resolve
.
Dispose missed if exception is thrown by
call to method Same
.
Dispose missed if exception is thrown by
call to method Resolve
.

Check warning on line 54 in tests/SquidStd.Tests/Crypto/Vfs/EntryCipherTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 792 in src/SquidStd.Scripting.Lua/Utils/LuaDocumentationGenerator.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
methodName
is useless, since its value is never read.

Check warning on line 54 in tests/SquidStd.Tests/Crypto/Vfs/EntryCipherTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 15 in src/SquidStd.Search.Elasticsearch/Extensions/SearchRegistrationExtensions.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning

Disposable 'ElasticsearchClientSettings' is created but not disposed.

Check warning on line 38 in tests/SquidStd.Tests/Crypto/Vfs/EntryCipherTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 33 in tests/SquidStd.Tests/Crypto/Vfs/EntryCipherTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 18 in tests/SquidStd.Tests/Crypto/Vfs/EntryCipherTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 75 in tests/SquidStd.Tests/Bootstrap/SquidStdBootstrapTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Dispose may not be called if an exception is thrown during execution Warning test

Dispose missed if exception is thrown by
call to method RegisterInstance
.
Dispose missed if exception is thrown by
call to method Equal
.
Dispose missed if exception is thrown by
call to method Resolve
.

Check warning on line 96 in src/SquidStd.Crypto/Pgp/Services/PgpKeyring.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 33 in tests/SquidStd.Tests/Crypto/Pgp/Support/PgpTestKeys.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'PGP' is created but not disposed.

Check warning on line 141 in src/SquidStd.Storage.S3/Services/S3StorageService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning

Disposable 'MinioClient' is created but not disposed.

Check notice on line 29 in tests/SquidStd.Tests/Bootstrap/SquidStdBootstrapTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to 'System.IO.Path.Combine' may silently drop its earlier arguments Note test

Call to 'System.IO.Path.Combine' may silently drop its earlier arguments.

Check notice on line 136 in tests/SquidStd.Tests/Bootstrap/SquidStdBootstrapTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to 'System.IO.Path.Combine' may silently drop its earlier arguments Note test

Call to 'System.IO.Path.Combine' may silently drop its earlier arguments.

Check notice on line 21 in tests/SquidStd.Tests/Crypto/Pgp/AesGcmPgpKeyStoreTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to 'System.IO.Path.Combine' may silently drop its earlier arguments Note test

Call to 'System.IO.Path.Combine' may silently drop its earlier arguments.

Check notice on line 108 in src/SquidStd.Workers/Services/WorkerHeartbeatService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 24 in src/SquidStd.Workers/Services/WorkerHeartbeatService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed 'using' opportunity Note

This variable is manually
disposed
in a
finally block
- consider a C# using statement as a preferable resource management technique.

Check notice on line 82 in src/SquidStd.Workers.Manager/Services/WorkerOfflineSweepService.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.