Skip to content

feat: allow features command to run without commands or multiple folders#52

Closed
shakaran wants to merge 10 commits intoTomasVotruba:mainfrom
shakaran:feat/allow-features-without-arguments
Closed

feat: allow features command to run without commands or multiple folders#52
shakaran wants to merge 10 commits intoTomasVotruba:mainfrom
shakaran:feat/allow-features-without-arguments

Conversation

@shakaran
Copy link
Contributor

Related #50

- Modified FeaturesCommand to reassign SymfonyStyle in execute() with correct input/output streams for proper test output capture.
- Updated ResultPrinter to accept SymfonyStyle as a parameter in print() method.
- Changed command title from "Collected features" to "PHP features".
- Updated test assertions to check for "PHP features" in output.
- Ensured SymfonyStyle is used from constructor property, reassigned in execute() to meet requirements.

This resolves the issue where CommandTester was not capturing console output due to incorrect SymfonyStyle streams.
ssnepenthe and others added 8 commits January 7, 2026 20:42
* Fix throw expression detection.

Requires adding ParentConnectingVisitor to node traverser

* Introduce ThrowExpressionFlaggingNodeVisitor

Replaces the ParentConnectingVisitor in an attempt to reduce memory usage.

* Fix phpstan errors

* Stop relying on parent in throw flagging visitor

* Fix phpstan errors

* Bring all throw expr detection logic back into FeatureCollector
* fixed ordered imports CS issue

* apply ClosureReturnTypeRector rule

* fix issue TomasVotruba#61
- Modified FeaturesCommand to reassign SymfonyStyle in execute() with correct input/output streams for proper test output capture.
- Updated ResultPrinter to accept SymfonyStyle as a parameter in print() method.
- Changed command title from "Collected features" to "PHP features".
- Updated test assertions to check for "PHP features" in output.
- Ensured SymfonyStyle is used from constructor property, reassigned in execute() to meet requirements.

This resolves the issue where CommandTester was not capturing console output due to incorrect SymfonyStyle streams.
@TomasVotruba
Copy link
Owner

I've cherry picked your commit and rebased in #66 👍
There was an enormous amount of changes on the main since your PR.

Thank you!

@shakaran shakaran deleted the feat/allow-features-without-arguments branch January 8, 2026 09:00
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.

5 participants