Skip to content

feat(generators): Add Singleton pattern generator #134

feat(generators): Add Singleton pattern generator

feat(generators): Add Singleton pattern generator #134

Triggered via pull request February 6, 2026 19:24
Status Success
Total duration 2m 57s
Artifacts

pr-validation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Validate PR
No files were found with the provided path: ./dry-run-packages/. No artifacts will be uploaded.
Validate PR
'PdfDocument.Accept(IDocumentVisitorAction)' hides inherited member 'Document.Accept(IDocumentVisitorAction)'. Use the new keyword if hiding was intended.
Validate PR
'PdfDocument.Accept<TResult>(IDocumentVisitor<TResult>)' hides inherited member 'Document.Accept<TResult>(IDocumentVisitor<TResult>)'. Use the new keyword if hiding was intended.
Validate PR: src/PatternKit.Generators/Singleton/SingletonGenerator.cs#L93
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
Validate PR: src/PatternKit.Generators/Singleton/SingletonGenerator.cs#L316
Dereference of a possibly null reference.
Validate PR: src/PatternKit.Generators/Builders/BuilderGenerator.cs#L83
The type 'BuilderModel' in '/home/runner/work/PatternKit/PatternKit/src/PatternKit.Generators/Builders/BuilderGenerator.cs' conflicts with the imported type 'BuilderModel' in 'PatternKit.Generators.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/PatternKit/PatternKit/src/PatternKit.Generators/Builders/BuilderGenerator.cs'.
Validate PR: src/PatternKit.Generators/Builders/BuilderGenerator.cs#L66
The type 'BuilderModel' in '/home/runner/work/PatternKit/PatternKit/src/PatternKit.Generators/Builders/BuilderGenerator.cs' conflicts with the imported type 'BuilderModel' in 'PatternKit.Generators.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/PatternKit/PatternKit/src/PatternKit.Generators/Builders/BuilderGenerator.cs'.
Validate PR: src/PatternKit.Generators/DecoratorGenerator.cs#L664
Possible null reference return.