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

Remove redundant variable #6326

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Remove redundant variable #6326

merged 2 commits into from
Jun 4, 2024

Conversation

michalbundyra
Copy link
Member

@michalbundyra michalbundyra commented Mar 5, 2024

Q A
Type improvement
Fixed issues

Summary

Just removing unused variable and redundant array_merge. As I see Psalm fails here, and not really sure how to fix it, adding array_values probably would solve the issue, but I guess this is not what we want there?

Also updated return type on _getCreateTableSQL method, to fix the Psalm issue.

Copy link

github-actions bot commented Jun 4, 2024

There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.
If you want to continue working on it, please leave a comment.

@github-actions github-actions bot added the Stale label Jun 4, 2024
@michalbundyra
Copy link
Member Author

Rebased and Psalm issue solved. It's a very minor improvement and it's ready to go whenever you have a sec. Thanks 🙏

@greg0ire greg0ire added Improvement and removed Stale labels Jun 4, 2024
@greg0ire greg0ire changed the base branch from 4.0.x to 4.1.x June 4, 2024 08:03
@greg0ire
Copy link
Member

greg0ire commented Jun 4, 2024

Retargeted to 4.1.x since it's an improvement.

@derrabus derrabus changed the title QA: Remove redundant variable Remove redundant variable Jun 4, 2024
@derrabus derrabus added this to the 4.1.0 milestone Jun 4, 2024
@derrabus derrabus merged commit 754e3ee into doctrine:4.1.x Jun 4, 2024
77 checks passed
@michalbundyra michalbundyra deleted the patch-1 branch June 4, 2024 14:04
derrabus added a commit to derrabus/dbal that referenced this pull request Jun 19, 2024
* 4.1.x: (25 commits)
  Simplify signature of fetchTableOptionsByTable
  Add MariaDb1010Platform for fetchTableOptionsByTable
  PHPUnit 10.5.21 (doctrine#6447)
  Move schema split for SQLite CREATE INDEX only (doctrine#6352)
  PHPStan 1.11.5 (doctrine#6446)
  Default to distinct union queries (doctrine#6439)
  Revert "Merge pull request doctrine#6413 from achterin/bugfix/foreign_key_name_change_detection"
  Add `QueryBuilder` support for `UNION` clause (doctrine#6369)
  CI: Update MariaDB versions (doctrine#6426)
  CI MariaDB: add 11.4, remove 11.0 (doctrine#6432)
  Display warnings when running PHPUnit in CI (doctrine#6431)
  Fix typo in the portability documentation (doctrine#6430)
  Fix MariaDB fetching of default table character-set (doctrine#6361) (doctrine#6425)
  Fix the portability documentation (doctrine#6429)
  Update tests/Platforms/AbstractPlatformTestCase.php
  Update tests/Platforms/AbstractPlatformTestCase.php
  add test
  Fix: Skip type comparison if disableTypeComments is true
  Remove redundant variable (doctrine#6326)
  Fix test names to reflect their actual purpose
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants