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

Feat/queues #224

Merged
merged 118 commits into from
May 3, 2024
Merged

Feat/queues #224

merged 118 commits into from
May 3, 2024

Conversation

djklim87
Copy link
Contributor

No description provided.

@djklim87 djklim87 changed the title Feat/queues draft: Feat/queues Mar 6, 2024
Copy link
Contributor

@donhardman donhardman left a comment

Choose a reason for hiding this comment

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

  1. Do we really need the #[Override] annotation? We haven't used attributes so far, and I think it's a good idea not to use them until we really need them.

  2. The doc blocks (documentation comments) are missing in the functions. Please consider adding them. It would also be great to include some explanatory text because when we revisit the code later, we might forget what each part is for and why it exists. So, adding information about critical sections is crucial.

  3. We should avoid having multiple blank lines after an opening curly brace { and before a closing curly brace } because it's unnecessary. Also, avoid using more than one blank line to separate code blocks, as it's useless.

composer.json Outdated Show resolved Hide resolved
docker-compose-dev.yml Outdated Show resolved Hide resolved
src/Plugin/Queue/Handlers/BaseDropHandler.php Show resolved Hide resolved
src/Plugin/Queue/Handlers/BaseDropHandler.php Show resolved Hide resolved
src/Plugin/Queue/Handlers/BaseGetHandler.php Outdated Show resolved Hide resolved
src/Plugin/Queue/Handlers/Source/DropSourceHandler.php Outdated Show resolved Hide resolved
src/Plugin/Queue/Models/Factories/ShowFactory.php Outdated Show resolved Hide resolved
/** @var Model<T>|null $model */
return $model;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Try to avoid 2++ blank lines, one is enough

Copy link
Contributor Author

@djklim87 djklim87 May 2, 2024

Choose a reason for hiding this comment

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

Add this to codestyle as discussed, to make this fixes automatically, if you really think that's important or somehow can help

src/Plugin/Queue/QueueProcess.php Outdated Show resolved Hide resolved
@djklim87 djklim87 changed the title draft: Feat/queues Feat/queues May 3, 2024
@djklim87 djklim87 merged commit 799aa5d into main May 3, 2024
3 checks passed
@djklim87 djklim87 deleted the feat/queues branch May 3, 2024 11:05
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.

None yet

2 participants