Skip to content

Add sulu/sulu replaces sulu/article-bundle to composer fix phpstan issues in smart content #7659

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

Conversation

alexander-schranz
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #
Related issues/PRs #7653
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Add sulu/sulu replaces sulu/article-bundle to composer.

Why?

The article bundle was merged into sulu/sulu #7653 .

@alexander-schranz alexander-schranz added the DX Affecting the end developer label Nov 15, 2024
@alexander-schranz alexander-schranz force-pushed the enhancement/replaces-article-bundle branch from e4ae199 to b3eb9ac Compare November 15, 2024 12:16
@alexander-schranz alexander-schranz changed the title Add sulu/sulu replaces sulu/article-bundle to composer Add sulu/sulu replaces sulu/article-bundle to composer fix phpstan issues in smart content Nov 15, 2024
Comment on lines +101 to +104
$result[] = new ArrayAccessItem($article->getId(), [
'id' => $article->getId(),
'title' => $dimensionContent->getTitle(),
];
], $article);
Copy link
Member Author

@alexander-schranz alexander-schranz Nov 15, 2024

Choose a reason for hiding this comment

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

hopefully we will remove this classes soon but currently phpstan requires ResourceItemInterface. hope this breaks nothing for your case.

@alexander-schranz alexander-schranz merged commit 607efe4 into sulu:3.0 Nov 15, 2024
8 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/replaces-article-bundle branch November 15, 2024 13:21
Comment on lines +191 to +193
/** @var int[] $tags */ // TODO check whats correct here sulu defines string, content bundle int
$tags = $filters['tags'];
$filter['tagIds'] = $tags;
Copy link
Member Author

Choose a reason for hiding this comment

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

need to check this cast whats correct here. may content and sulu is handling tags here differently and so differently typed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant