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

Code quality/psr1 and short array #31250

Merged
merged 3 commits into from
Apr 24, 2018

Conversation

DeepDiver1975
Copy link
Member

@DeepDiver1975 DeepDiver1975 commented Apr 23, 2018

Description

We move on with php-cs-fixer and now enforce PSR1 rule set and the short array syntax rule.

How Has This Been Tested?

  • manual local test
  • unit tests
  • ci

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@phil-davis
Copy link
Contributor

phil-davis commented Apr 24, 2018

Fails because of the existing phpcs fail that was accidentally merged yesterday. PR #31252 will fix it. Then a rebase here.

@phil-davis
Copy link
Contributor

@ownclouders rebase

@ownclouders
Copy link
Contributor

Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently ⚠️

@ownclouders
Copy link
Contributor

Automated rebase with GitMate.io was successful! 🎉

@ownclouders ownclouders force-pushed the code-quality/psr1-and-short-array branch from b14fda7 to cc2eedb Compare April 24, 2018 01:24
@codecov
Copy link

codecov bot commented Apr 24, 2018

Codecov Report

Merging #31250 into master will decrease coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #31250      +/-   ##
============================================
- Coverage     62.57%   62.57%   -0.01%     
- Complexity    18234    18397     +163     
============================================
  Files          1145     1145              
  Lines         68396    68397       +1     
  Branches       1234     1234              
============================================
  Hits          42799    42799              
- Misses        25236    25237       +1     
  Partials        361      361
Flag Coverage Δ Complexity Δ
#javascript 52.05% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 63.77% <50%> (-0.01%) 18397 <12> (+163)
Impacted Files Coverage Δ Complexity Δ
lib/private/Files/External/LegacyUtil.php 4.06% <ø> (ø) 38 <0> (ø) ⬇️
lib/private/Installer.php 55.7% <ø> (ø) 87 <0> (ø) ⬇️
index.php 0% <0%> (ø) 0 <0> (ø) ⬇️
...private/DB/MySqlSchemaColumnDefinitionListener.php 5.35% <0%> (-0.05%) 46 <0> (ø)
lib/private/legacy/app.php 62.5% <0%> (ø) 187 <0> (ø) ⬇️
lib/private/Preview/Movie.php 0% <0%> (ø) 24 <0> (ø) ⬇️
core/ajax/share.php 0% <0%> (ø) 0 <0> (ø) ⬇️
lib/private/Group/Manager.php 90.16% <100%> (ø) 77 <0> (ø) ⬇️
lib/private/Share20/DefaultShareProvider.php 98.37% <100%> (ø) 114 <0> (ø) ⬇️
lib/private/Files/View.php 84.46% <100%> (ø) 383 <0> (ø) ⬇️
... and 3 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 cc8a353...cc2eedb. Read the comment docs.

Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍 fine by me

@PVince81
Copy link
Contributor

wait, what about version.php ? the release script might break... remember we tried to change the array syntax a while ago... needs careful testing

@DeepDiver1975 DeepDiver1975 merged commit 20c2e13 into master Apr 24, 2018
@DeepDiver1975 DeepDiver1975 deleted the code-quality/psr1-and-short-array branch April 24, 2018 13:42
@phil-davis
Copy link
Contributor

Effective backport is included in #31453

@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants