Skip to content
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

[Tests-Only] Fix phpstan settings for 0.12.27 #37500

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented Jun 9, 2020

Description

phpstan https://github.com/phpstan/phpstan/releases/tag/0.12.27 was released last night. That fixed some problems with 0.12.26 so now we can reverse some of the changes that were made yesterday to make 0.12.26 pass.

Related Issue

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

Comment on lines -16 to -19
- %currentWorkingDirectory%/apps/files_external/lib/Lib/Backend/DAV.php
- %currentWorkingDirectory%/apps/files_external/lib/Lib/Backend/Google.php
- %currentWorkingDirectory%/apps/files_external/lib/Lib/Backend/SMB.php
- %currentWorkingDirectory%/apps/files_external/lib/Lib/Backend/SMB_OC.php
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: these had been added to excludes_analyse yesterday, because phpstan 0.12.26 could not analyse them successfully. Now 0.12.27 does analyze them OK.

The other lines that are deleted are for code that is nowadays successfully analyzed by some new/recent phpstan version.

@codecov
Copy link

codecov bot commented Jun 9, 2020

Codecov Report

Merging #37500 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #37500   +/-   ##
=========================================
  Coverage     64.68%   64.68%           
  Complexity    19336    19336           
=========================================
  Files          1277     1277           
  Lines         75535    75535           
  Branches       1331     1331           
=========================================
  Hits          48860    48860           
  Misses        26283    26283           
  Partials        392      392           
Flag Coverage Δ Complexity Δ
#javascript 54.14% <ø> (ø) 0.00 <ø> (ø)
#phpunit 65.84% <ø> (ø) 19336.00 <ø> (ø)
Impacted Files Coverage Δ Complexity Δ
lib/private/legacy/image.php 47.15% <ø> (ø) 170.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13103ee...ae83901. Read the comment docs.

@individual-it individual-it merged commit b817b59 into master Jun 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix-phpstan-20200609 branch June 9, 2020 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

phpstan failing
2 participants