-
Notifications
You must be signed in to change notification settings - Fork 1
Use different PHP version information for PHPCS and PHPStan #23
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
rdss-sknott
commented
Feb 13, 2024
- Split version decorators in MinimalVersionDecorator and VersionDecorator
b6b1063 to
f94e568
Compare
* Split version decorators in MinimalVersionDecorator and VersionDecorator * Updated min versions of some dependencies
f94e568 to
9a0db79
Compare
| use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\Multiprocess\MultiprocessTerminalCommand; | ||
| use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\Multiprocess\MultiprocessTrait; | ||
| // phpcs:ignore -- I did not find a way to either break this line or to make it shorter. | ||
| use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\PhpVersion\MinimalVersionDependantTerminalCommand; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be possible, but does not quite make it more readable I think 😅
use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\PhpVersion\{
MinimalVersionDependantTerminalCommand,
MinimalVersionDependentTrait,
PhpVersionConverter
};There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah. thought about that but came to the same conclusion as you did. :/
| use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\PhpVersion\ComposerInterpreter; | ||
| use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\PhpVersion\ConstraintToVersionConverter; | ||
| use Zooroyal\CodingStandard\CommandLine\StaticCodeAnalysis\Generic\TerminalCommand\PhpVersion\MinimalVersionDecorator; | ||
| // phpcs:ignore -- I did not find a way to either break this line or to make it shorter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like above: could be shortened with use MyNamespace\{ClassA, ClassB}