Skip to content

Remove unneeded casts that were found by Psalm - #25073

Merged
MorrisJobke merged 1 commit into
masterfrom
psalm/24521/remove-unneeded-casts
Jan 11, 2021
Merged

Remove unneeded casts that were found by Psalm#25073
MorrisJobke merged 1 commit into
masterfrom
psalm/24521/remove-unneeded-casts

Conversation

@MorrisJobke

Copy link
Copy Markdown
Member

In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see #24521)

This is basically a split from the above PR to isolate the problem in that PR.

In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see #24521)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
MorrisJobkeforce-pushed the psalm/24521/remove-unneeded-casts branch from 31ca28d to 24d436cCompareJanuary 11, 2021 12:14
$index = $index + 1;

$x = (int) 1;
$x = 1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🙈

@MorrisJobke
MorrisJobke merged commit 5ed673e into masterJan 11, 2021
@MorrisJobke
MorrisJobke deleted the psalm/24521/remove-unneeded-casts branch January 11, 2021 13:15
@MorrisJobkeMorrisJobke added this to the Nextcloud 21 milestone Jan 11, 2021
@rullzerrullzer mentioned this pull request Jan 12, 2021
14 tasks
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.

3 participants

@MorrisJobke@ChristophWurst@kesselb