Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

@ColonelMoutarde ColonelMoutarde force-pushed the chore/processing-of-depreciations-and-updating-code-to-php72-minimum branch 5 times, most recently from b1d5bdc to efe044d Compare July 3, 2023 16:44
app/install.php Outdated Show resolved Hide resolved
app/Models/FormAuth.php Outdated Show resolved Hide resolved
app/Models/FeedDAO.php Outdated Show resolved Hide resolved
@Alkarex Alkarex added the System care Everything related to the system care label Jul 3, 2023
@Alkarex Alkarex added this to the 1.22.0 milestone Jul 3, 2023
@ColonelMoutarde ColonelMoutarde force-pushed the chore/processing-of-depreciations-and-updating-code-to-php72-minimum branch 2 times, most recently from ad98b9e to ca55386 Compare July 4, 2023 07:07
@ColonelMoutarde ColonelMoutarde force-pushed the chore/processing-of-depreciations-and-updating-code-to-php72-minimum branch from 7130a58 to bec3c20 Compare July 4, 2023 07:11
@Alkarex Alkarex merged commit f8f163d into FreshRSS:edge Jul 7, 2023
1 check passed
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.
@@ -722,13 +720,18 @@ public function actualizeAction(): int {
return $updated_feeds;
}

/**
* @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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
System care Everything related to the system care
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants