Skip to content

Update README to reflect composer test usage instead of `vendor/bin… #23

Update README to reflect composer test usage instead of `vendor/bin…

Update README to reflect composer test usage instead of `vendor/bin… #23

Triggered via push November 26, 2025 03:10
Status Success
Total duration 35s
Artifacts

phpunit.yml

on: push
Matrix: Build
Psalm Static Analyzer
32s
Psalm Static Analyzer
Documentation  /  add_doc
7s
Documentation / add_doc
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
UnsafeInstantiation: src/FeatureFlagSelector.php#L22
src/FeatureFlagSelector.php:22:16: UnsafeInstantiation: Cannot safely instantiate class ByJG\FeatureFlag\FeatureFlagSelector with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/FeatureFlagSelector.php#L17
src/FeatureFlagSelector.php:17:16: UnsafeInstantiation: Cannot safely instantiate class ByJG\FeatureFlag\FeatureFlagSelector with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
ClassMustBeFinal: src/FeatureFlagSelector.php#L5
src/FeatureFlagSelector.php:5:7: ClassMustBeFinal: Class ByJG\FeatureFlag\FeatureFlagSelector is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
MissingParamType: src/FeatureFlagDispatcher.php#L204
src/FeatureFlagDispatcher.php:204:47: MissingParamType: Parameter $args has no provided type (see https://psalm.dev/154)
MissingParamType: src/FeatureFlagDispatcher.php#L136
src/FeatureFlagDispatcher.php:136:84: MissingParamType: Parameter $args has no provided type (see https://psalm.dev/154)
MissingParamType: src/FeatureFlagDispatcher.php#L112
src/FeatureFlagDispatcher.php:112:101: MissingParamType: Parameter $args has no provided type (see https://psalm.dev/154)
MissingParamType: src/FeatureFlagDispatcher.php#L102
src/FeatureFlagDispatcher.php:102:33: MissingParamType: Parameter $args has no provided type (see https://psalm.dev/154)
RiskyTruthyFalsyComparison: src/FeatureFlagDispatcher.php#L71
src/FeatureFlagDispatcher.php:71:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
ClassMustBeFinal: src/FeatureFlagDispatcher.php#L11
src/FeatureFlagDispatcher.php:11:7: ClassMustBeFinal: Class ByJG\FeatureFlag\FeatureFlagDispatcher is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
ClassMustBeFinal: src/Attributes/FeatureFlagAttribute.php#L8
src/Attributes/FeatureFlagAttribute.php:8:7: ClassMustBeFinal: Class ByJG\FeatureFlag\Attributes\FeatureFlagAttribute is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)