Skip to content

Conversation

shmax
Copy link
Contributor

@shmax shmax commented Nov 2, 2019

Experimenting with replacing Scrutinizer's proprietary checker with PHPStan.

This doesn't work yet--supposedly any tool that implements the general-checkstyle format can replace Scrutinizer's own checks, but while Scrutinizer does parse the new data, it doesn't seem to display it in its report. Please let me know if you have any ideas...

@vladar
Copy link
Member

vladar commented Nov 2, 2019

Cool, thanks! Will merge after #566 to avoid broken builds %)

Copy link
Collaborator

@simPod simPod left a comment

Choose a reason for hiding this comment

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

Screenshot 2019-11-02 at 13 21 54

These reports are often handy but now they're gone. Wouldn't it be better to remove problematic failure conditions rather than fully disabling scrutinizer-run?

    - 'issues.severity(>= MAJOR).new.exists'                    # New issues of major or higher severity
    - 'project.metric_change("scrutinizer.test_coverage", < 0)' # Code Coverage decreased from previous inspection

@simPod
Copy link
Collaborator

simPod commented Nov 2, 2019

Also just noticed it seems to be possible to set check as not required.

image

@shmax
Copy link
Contributor Author

shmax commented Nov 2, 2019

Oh, sorry, this isn't finished yet--I only opened a PR because the branches don't seem to run checks...

@shmax
Copy link
Contributor Author

shmax commented Nov 2, 2019

These reports are often handy

Absolutely; I'm trying to figure out how to generate the reports from our tools instead of Scrutnizer's black box crap.

@shmax
Copy link
Contributor Author

shmax commented Nov 21, 2019

Superseded by #583 👍

@shmax shmax closed this Nov 21, 2019
@shmax shmax deleted the use-phpstan branch November 21, 2019 03:25
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