Skip to content

Code cleanup and modernization#144

Merged
Rafikooo merged 1 commit intoSylius:2.5from
Rafikooo:cleanup/code-modernization
Feb 6, 2026
Merged

Code cleanup and modernization#144
Rafikooo merged 1 commit intoSylius:2.5from
Rafikooo:cleanup/code-modernization

Conversation

@Rafikooo
Copy link
Copy Markdown
Contributor

@Rafikooo Rafikooo commented Feb 6, 2026

Use #[AsCommand] attribute instead of deprecated Command::__construct(null) pattern. Remove dead TemplateReferenceInterface code from removed symfony/templating package. Remove all @psalm-suppress annotations (Psalm was removed). Replace get_class() with ::class syntax. Fix ?\Exception to ?\Throwable in exception constructor. Update LICENSE copyright. Clean up CI workflow. Fix branch-alias in composer.json.

Remove MessageSelector compatibility shim and transChoice() - both were removed in Symfony 5.0.

@Rafikooo Rafikooo force-pushed the cleanup/code-modernization branch from 6629f63 to 9c91ab2 Compare February 6, 2026 13:05
@Rafikooo Rafikooo force-pushed the cleanup/code-modernization branch from 9c91ab2 to bb9fbe6 Compare February 6, 2026 13:21
@Rafikooo Rafikooo merged commit 3249ad4 into Sylius:2.5 Feb 6, 2026
12 checks passed
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.

1 participant