Skip to content

Chore/processing of depreciations and updating code to php72 minimum#5504

Merged
Alkarex merged 4 commits intoFreshRSS:edgefrom
ColonelMoutarde:chore/processing-of-depreciations-and-updating-code-to-php72-minimum
Jul 7, 2023
Merged

Chore/processing of depreciations and updating code to php72 minimum#5504
Alkarex merged 4 commits intoFreshRSS:edgefrom
ColonelMoutarde:chore/processing-of-depreciations-and-updating-code-to-php72-minimum

Conversation

@ColonelMoutarde
Copy link
Contributor

Changes proposed in this pull request:

  • processing of depreciation and updating code to php72 minimum

Pull request checklist:

  • clear commit messages
  • code manually tested

@Alkarex Alkarex added the System care Everything related to system care label Jul 3, 2023
@Alkarex Alkarex added this to the 1.22.0 milestone Jul 3, 2023
@Alkarex Alkarex merged commit f8f163d into FreshRSS:edge Jul 7, 2023
Alkarex added a commit to Alkarex/FreshRSS that referenced this pull request Jan 13, 2024
Take advantage of
https://phpstan.org/blog/bring-your-exceptions-under-control

Minimum changes to pass `tooWideThrowType` and `implicitThrows`.

Revert some mistakes from:
FreshRSS#5504
Preparation needed before new PRs of the same type:
FreshRSS#5962

Fix several wrong PHPDocs and catches:

> Method ... has ...Exception in PHPDoc @throws tag but it's not thrown.

> Dead catch - ...Exception is never thrown in the try block.

/**
* @throws Minz_ConfigurationNamespaceException
* @throws JsonException
Copy link
Member

Choose a reason for hiding this comment

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

This line (several instances) looks wrong. Fixed in #6037

Alkarex added a commit that referenced this pull request Jan 15, 2024
Take advantage of
https://phpstan.org/blog/bring-your-exceptions-under-control

Minimum changes to pass `tooWideThrowType` and `implicitThrows`.

Revert some mistakes from:
#5504
Preparation needed before new PRs of the same type:
#5962

Fix several wrong PHPDocs and catches:

> Method ... has ...Exception in PHPDoc @throws tag but it's not thrown.

> Dead catch - ...Exception is never thrown in the try block.
@ColonelMoutarde ColonelMoutarde deleted the chore/processing-of-depreciations-and-updating-code-to-php72-minimum branch August 29, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

System care Everything related to system care

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants