Skip to content

DISPLAY-1030: Remaining updates, cleanup deprectaions #174

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

Merged
merged 16 commits into from
Nov 24, 2023

Conversation

turegjorup
Copy link
Contributor

@turegjorup turegjorup commented Nov 23, 2023

Link to ticket

https://jira.itkdev.dk/browse/DISPLAY-1030

Description

  • Update composer dependencies
  • Update symfony/flex 1.x -> 2.x
  • Update vich/uploader-bundle 1.x -> 2.x
  • Update debril/feed-io 5.x -> 6.x
  • Enforce strict types
  • Switch from doctrine annotations to attributes
  • Add rector as dev dependency and apply rules
  • Handle doctrine deprecations

Screenshot of the result

If your change affects the user interface you should include a screenshot of the result with the pull request.

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

If your code does not pass all the requirements on the checklist you have to add a comment explaining why this change
should be exempt from the list.

Additional comments or questions

If you have any further comments or questions for the reviewer please add them here.

@turegjorup turegjorup self-assigned this Nov 23, 2023
@turegjorup turegjorup marked this pull request as draft November 23, 2023 10:58
@turegjorup turegjorup changed the title DISPLAY-1030: <Composer update flex 1.x -> 2.x, update dependencies DISPLAY-1030: Remaining updates, cleanup deprectaions Nov 23, 2023
@turegjorup turegjorup requested a review from rimi-itk November 24, 2023 13:39
@turegjorup turegjorup marked this pull request as ready for review November 24, 2023 13:39
$this->addSql('ALTER TABLE user_role_tenant CHANGE roles roles LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\'');
}

private function convertDbValues(string $table, string $column): void
Copy link
Contributor

Choose a reason for hiding this comment

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

A little documentation block here telling what this function does would be handy. The code (and inline comments) tell what is done, but a short recap would be nice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@turegjorup turegjorup merged commit 8517c8f into develop Nov 24, 2023
@turegjorup turegjorup deleted the feature/DISPLAY-1030_extended_cleanup branch November 24, 2023 14:12
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