Skip to content

Conversation

@bapcltd-marv
Copy link
Contributor

hadn't noticed these until I was rebasing for our drop/php-7.3 branch.

this pr fixes the travis build failures caused by recent commits.

currently feeling unsure about the psalm-type introduced in 332aebf, thoughts?

* const is not a type that psalm recognises
* declaring a psalm-type with the supported consts hardcoded might not
  be preferrable in the long-run
* a method with a scalar return type whose body returns null should not
  use a non-nullable scalar return type
one does not need to perform a conditional return for falsey types if
one returns inside a try-catch loop against an object constructor.
properties not initialised in a class constructor that have no default
value need to be nullable.
@Sebbo94BY
Copy link
Collaborator

@bapcltd-marv did you see my review comment? :)

@bapcltd-marv
Copy link
Contributor Author

bapcltd-marv commented May 19, 2020

nope?

i.e. didn't see any notification about a review comment and it may have disappeared when I did a force-push (which they normally don't?)

Copy link
Collaborator

@Sebbo94BY Sebbo94BY left a comment

Choose a reason for hiding this comment

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

SignpostMarv pushed a commit to bapcltd/php-imap that referenced this pull request May 25, 2020
@bapcltd-marv bapcltd-marv mentioned this pull request May 25, 2020
1 task
@Sebbo94BY Sebbo94BY merged commit 1ba8304 into barbushin:develop May 25, 2020
@bapcltd-marv bapcltd-marv deleted the fixing/travis-build-2020-05-18 branch May 25, 2020 09:31
SignpostMarv pushed a commit to bapcltd/php-imap that referenced this pull request May 25, 2020
markovlatkovic added a commit to markovlatkovic/php-imap that referenced this pull request May 24, 2024
Patrici97 added a commit to Patrici97/php-imap that referenced this pull request Jun 5, 2025
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.

2 participants