Skip to content

Instantly share code, notes, and snippets.

@bkuhl
Last active February 7, 2017 20:57
Show Gist options
  • Save bkuhl/bb4fea3340c91d123b2d789b448f8c1b to your computer and use it in GitHub Desktop.
Save bkuhl/bb4fea3340c91d123b2d789b448f8c1b to your computer and use it in GitHub Desktop.
StyleCI before/after

The repository in question is 65315616. We're not using any custom configuration. My CI is encountering an issue where a unit test, expecting a null value throws a TypeError: Return value of Operator\Telephony\Steps\Voicemail\Builder::prompt() must implement interface Operator\Telephony\Steps\Prompt or be null, none returned

Before StyleCI

    public function prompt() : ?Prompt
    {
        return null;
    }

After StyleCI

    public function prompt() : ?Prompt
    {
    }

What setting am I missing? I don't see any fixers that control the removal of this return value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment