Skip to content

Improve phan config - #9302

Merged
MorrisJobke merged 1 commit into
masterfrom
update-phan-config
Apr 26, 2018
Merged

Improve phan config#9302
MorrisJobke merged 1 commit into
masterfrom
update-phan-config

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member
  • exclude routes
  • ignore some more templates of apps

Part of #8375 to get it in in smaller steps

@MorrisJobkeMorrisJobke added the 3. to review Waiting for reviews label Apr 25, 2018
@MorrisJobkeMorrisJobke added this to the Nextcloud 14 milestone Apr 25, 2018
@codecov

codecovBot commented Apr 25, 2018

Copy link
Copy Markdown

Codecov Report

Merging #9302 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@ Coverage Diff @@## master #9302 +/- ##
============================================
+ Coverage 51.92% 51.93% +<.01% 
Complexity 25388 25388 ============================================
Files 1608 1608 Lines 95429 95429 Branches 1394 1394 ============================================
+ Hits 49555 49559 +4 + Misses 45874 45870 -4
Impacted FilesCoverage ΔComplexity Δ
apps/files_trashbin/lib/Trashbin.php72.46% <0%> (-0.25%)136% <0%> (ø)
core/js/js.js65.96% <0%> (+0.55%)0% <0%> (ø)⬇️

Comment threadbuild/.phan/config.php Outdated
'apps/comments/composer',
'apps/comments/tests',
'apps/dav/composer',
'apps/dav/templates',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm this caught php errors in templates, any reason to exclude them?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Because there are many undefined variables from phan‘s point of view :/

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Let's drop this for now and get the remaining stuff in.

* exclude routes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke

Copy link
Copy Markdown
MemberAuthor

@nickvergessen Please re-review ;)

@MorrisJobke
MorrisJobke merged commit bb82bfa into masterApr 26, 2018
@MorrisJobke
MorrisJobke deleted the update-phan-config branch April 26, 2018 11:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@MorrisJobke@rullzer@nickvergessen@LukasReschke