Skip to content

updated codebase, composer, workflow, tests - #33

Open
bidi47 wants to merge 2 commits into
4.0from
upgrade
Open

bidi47 wants to merge 2 commits into
4.0from
upgrade

Conversation

@bidi47

@bidi47 bidi47 commented Nov 20, 2026

Copy link
Copy Markdown
Member
  • updated composer
    • removed PHP 8.2
    • added PHP 8.6
    • removed psr/http-message - not used in src/ or test/
    • added laminas/laminas-stdlib - used in AbstractOptions
    • added psr/container - used in ContainerInterface and two exception interfaces
    • updated phpunit/phpunit: ^12.5
  • updated docs
    • added v4
    • updated readme, security, changelog
  • code refactoring
  • implemented render() (returned '' initially)
  • updated tests, workflows, phpstan from level 5 to 8

Signed-off-by: bidi <bidi@apidemia.com>
Signed-off-by: bidi <bidi@apidemia.com>
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (4.0@70d323e). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             4.0       #33   +/-   ##
=======================================
  Coverage       ?   100.00%           
  Complexity     ?        68           
=======================================
  Files          ?         7           
  Lines          ?       171           
  Branches       ?         0           
=======================================
  Hits           ?       171           
  Misses         ?         0           
  Partials       ?         0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bidi47
bidi47 requested a review from alexmerlin November 20, 2026 18:55
@bidi47 bidi47 linked an issue Nov 21, 2026 that may be closed by this pull request
/**
* Render the messages as HTML lists, one list for each message type. All messages are escaped.
*/
public function render(?string $type = null, string $channel = FlashMessengerInterface::DEFAULT_CHANNEL): string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This was never implemented in the package because projects implementing dot-flashmessenger always had their custom implementations.

For the purpose of providing a missing functionality for others using this package, we can keep this solution.

This branch has not been deployed

No deployments
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.

Bump PHP 8.6

2 participants