Skip to content

Catch Up With Some Scrutinizer Messages #3043

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

Merged
merged 2 commits into from
Sep 4, 2022

Conversation

oleibman
Copy link
Collaborator

@oleibman oleibman commented Sep 2, 2022

Scrutinizer is buggy (PR #2759) and we expect it to fail almost all the time. There is a workaround which will succeed, but it runs for a long time and isn't suitable for regular use. Nevertheless, I do run it from time to time. Since we stopped relying on it, there are 99 new errors of varying severity that it reports. Some are legitimate. This PR makes changes responding to some (not all) of the new errors, mostly in tests, but some source code is involved as well.

This is:

- [x] a bugfix
- [ ] a new feature
- [ ] refactoring
- [ ] additional unit tests

Checklist:

Why this change is needed?

Provide an explanation of why this change is needed, with links to any Issues (if appropriate).
If this is a bugfix or a new feature, and there are no existing Issues, then please also create an issue that will make it easier to track progress with this PR.

Eliminate most Phpstan messages in Xlsx Reader. In combination with similar changes to Xlsx Writer, baseline will shrink to just over 3,000 lines.
@oleibman oleibman merged commit adbda63 into PHPOffice:master Sep 4, 2022
oleibman added a commit to oleibman/PhpSpreadsheet that referenced this pull request Sep 5, 2022
Continue the work of PR PHPOffice#3043 by attending to the 12 remaining 'new' issues.
@oleibman oleibman mentioned this pull request Sep 5, 2022
7 tasks
oleibman added a commit that referenced this pull request Sep 9, 2022
* More Scrutinizer Catch Up

Continue the work of PR #3043 by attending to the 12 remaining 'new' issues.

* Php 8.1 Problem

One new null-instead-of-string problem.
@oleibman oleibman deleted the scrut2208 branch September 22, 2022 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant