Skip to content

Adjust getMimeType for guzzle7 dependencies - #470

Merged
phil-davis merged 3 commits into
masterfrom
guzzle-psr-change
Jun 27, 2022
Merged

phil-davis merged 3 commits into
masterfrom
guzzle-psr-change

Conversation

@phil-davis

@phil-davis phil-davis commented Jun 19, 2022 •

Copy link
Copy Markdown
Contributor
$ make test-php-phpstan
composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating autoload files
1 package you are using is looking for funding.
Use the `composer fund` command to find out more!
php -d zend.enable_gc=0 vendor-bin/phpstan/vendor/bin/phpstan analyse --memory-limit=4G --configuration=./phpstan.neon --no-progress --level=5 appinfo lib
 ------ ------------------------------------------------------------------------------------ 
  Line   lib/Controller/WebAssetController.php                                               
 ------ ------------------------------------------------------------------------------------ 
  80     Call to static method fromFilename() on an unknown class GuzzleHttp\Psr7\Mimetype.  
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                  
 ------ ------------------------------------------------------------------------------------ 

 [ERROR] Found 1 error                                                                                                  
                                                                                                                        
make: *** [Makefile:168: test-php-phpstan] Error 1

Part of issue owncloud/core#39387

@phil-davis phil-davis mentioned this pull request Jun 19, 2022
8 of 42 tasks
@phil-davis
phil-davis marked this pull request as draft June 19, 2022 11:39
@phil-davis

Copy link
Copy Markdown
Contributor Author

@jnweiger this small change is needed for richdocuments to make it work correctly with upcoming core 10.11

I don't want to merge it yet. Maybe there are things to release waiting in the existing master? See issue #471

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@jnweiger

Copy link
Copy Markdown
Contributor

I don't want to merge it yet. Maybe there are things to release waiting in the existing master? See issue #471

I see your point. I've created a release-2.8.0 branch and tagged v2.8.0-rc1 there.
Now we can decide to release or release later or not release a 2.8.0 from that branch.

As these decisions are now decoupled from the master branch, it should unblock you here. Does that work for you?

@phil-davis
phil-davis marked this pull request as ready for review June 25, 2022 03:49
@phil-davis

Copy link
Copy Markdown
Contributor Author

As these decisions are now decoupled from the master branch, it should unblock you here. Does that work for you?

Yes, that will work fine. I can proceed with getting this PR merged and checking that things work with core master.

We will just need to release and merge-back 2.8.0 before we start the official 2.9.0 release process. But that should not be any problem.

@phil-davis
phil-davis requested a review from individual-it June 26, 2022 09:32
@phil-davis
phil-davis merged commit af99c41 into master Jun 27, 2022
@delete-merged-branch
delete-merged-branch Bot deleted the guzzle-psr-change branch June 27, 2022 05:39
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.

3 participants