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

Latest php cs fixer 2.17.1 #1316

Merged
merged 3 commits into from
Dec 13, 2020

Conversation

phil-davis
Copy link
Contributor

@phil-davis phil-davis commented Dec 13, 2020

PR #1314 got errors from php-cs-fixer because the latest php-cs-fixer finds more things.

  1. Adjust the code for the latest php-cs-fixer and update the required version of php-cs-fixer in composer.json (we do not want to bother running some old version of that)

  2. Explicitly select PHP 8.0 in CI

  3. Remove test suites that have no tests folder - the latest version of phpunit checks and fails if there is a test suite mentioned in phpunit.xml that does not exist. The tests of event and uri have actually not been running inside dav CI for a few years. Now CI tells us about this. The tests for these repos were removed from the distribution a while ago, in PRs export ignore examples & tests in distribution event#54 and Exclude files in production uri#29

This gets CI green in sabre-io/dav. We can separately discuss if we really do want to be running those tests of event and uri inside dav CI. If so, we can revert those PRs, which will put the tests folder back into the distribution of those repos.

@codecov
Copy link

codecov bot commented Dec 13, 2020

Codecov Report

Merging #1316 (7c80064) into master (d596e2b) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1316      +/-   ##
============================================
- Coverage     97.14%   97.12%   -0.03%     
+ Complexity     2793     2775      -18     
============================================
  Files           174      174              
  Lines          8119     8025      -94     
============================================
- Hits           7887     7794      -93     
+ Misses          232      231       -1     
Impacted Files Coverage Δ Complexity Δ
lib/CalDAV/CalendarQueryValidator.php 100.00% <ø> (ø) 67.00 <0.00> (-1.00)
lib/CalDAV/SharingPlugin.php 98.37% <ø> (-0.04%) 35.00 <0.00> (ø)
lib/CalDAV/Xml/Filter/CalendarData.php 100.00% <ø> (ø) 10.00 <0.00> (ø)
lib/CardDAV/Xml/Request/AddressBookQueryReport.php 97.22% <ø> (ø) 17.00 <0.00> (ø)
lib/DAV/Browser/Plugin.php 87.15% <ø> (-0.10%) 84.00 <0.00> (-1.00)
lib/DAV/Server.php 96.32% <ø> (+0.17%) 193.00 <0.00> (ø)
lib/DAV/Sharing/Plugin.php 98.85% <ø> (-0.04%) 25.00 <0.00> (-1.00)
lib/CalDAV/Backend/PDO.php 99.16% <100.00%> (-0.01%) 130.00 <9.00> (-1.00)
lib/CardDAV/Backend/PDO.php 98.79% <100.00%> (-0.01%) 34.00 <6.00> (-1.00)
lib/DAV/Exception/MethodNotAllowed.php 100.00% <100.00%> (ø) 2.00 <1.00> (ø)
... and 43 more

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 d596e2b...7c80064. Read the comment docs.

@phil-davis phil-davis merged commit d385f9b into sabre-io:master Dec 13, 2020
@phil-davis phil-davis deleted the latest-php-cs-fixer-2.17.1 branch December 13, 2020 08:27
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.

None yet

2 participants