Skip to content

Minor cs-fixer change and add count to phpstan.neon#93

Merged
phil-davis merged 1 commit into
sabre-io:masterfrom
phil-davis:cs-fixer-change
Jun 9, 2023
Merged

Minor cs-fixer change and add count to phpstan.neon#93
phil-davis merged 1 commit into
sabre-io:masterfrom
phil-davis:cs-fixer-change

Conversation

@phil-davis
Copy link
Copy Markdown
Contributor

I some recent cs-fixer release it seems that it wants and/or && || to be at the start of continuation lines of complex logic conditions. This little change fixes composer cs-fixer.

I updated all the require-dev dependencies to show what minor version they are currently at, because that is what is really used in CI and what we know passes.

Added count in phpstan.neon ignoreErrors. That is a bit of extra validation, in case someone accidentally adds more code that happens to have the same problem - the CI will fail because count will b 2 and so the person will know and will have to think about it.

@phil-davis phil-davis self-assigned this Jun 9, 2023
@phil-davis phil-davis merged commit 3b1d3f8 into sabre-io:master Jun 9, 2023
@phil-davis phil-davis deleted the cs-fixer-change branch June 9, 2023 04:14
@phil-davis phil-davis mentioned this pull request Jun 9, 2023
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.

1 participant