Skip to content

feat: upgrade project to Symfony 5.4 and PHP 8.1 with complete test coverage - #60

Merged
Mike031289 merged 17 commits into
developfrom
revert-59-feature/upgrade-symfony-5.4
Jul 26, 2026
Merged

feat: upgrade project to Symfony 5.4 and PHP 8.1 with complete test coverage#60
Mike031289 merged 17 commits into
developfrom
revert-59-feature/upgrade-symfony-5.4

Conversation

@Mike031289

Copy link
Copy Markdown
Owner

Description

This Pull Request marks the complete modernization of the ToDo & Co application, migrating from the legacy stack (Symfony 3 / PHP 5.5) to a modern, maintainable, and secure architecture under Symfony 5.4 and PHP 8.1.


Key Changes Implemented

1. Technical Migration & Upgrade

  • Framework & PHP: Upgraded to Symfony 5.4 (LTS) with PHP 8.1 compatibility.
  • Project Restructuring: Adopted modern Symfony directory layout (removed legacy app/ and web/ directories in favor of config/, public/, and templates/).
  • Quality & Analysis: Cleaned up code using Rector and ensured compliance with coding standards (PSR-12).

2. Security & Access Control

  • Voters: Implemented a custom TaskVoter to secure resource access and prevent unauthorized modifications (strict deletion rules for standard users and administrators regarding anonymous tasks).
  • CLI Commands: Added a maintenance command to safely migrate orphaned tasks to the system anonyme user account.

3. Testing & Quality Assurance (QA)

  • PHPUnit 9.6 Suite: The entire suite of functional and unit tests has been updated and validated (35 tests / 94 assertions passing successfully).
  • Documentation: Fully updated the README.md, technical security documentation (doc/TECHNICAL_SECURITY.md), and integrated the final quality audit report (v1.0.0).

✅ Checklist

  • All unit and functional tests pass successfully (vendor/bin/phpunit).
  • Code style complies with PSR-12 standards.
  • Documentation and audit reports are up to date.

Mike031289 and others added 17 commits June 24, 2026 12:24
chore: initialize database schema and run initial migrations
release: v1.0.0 - Core Application Modernization and QA Overhaul
…strengthening

test(testing) : code coverage test suite strengthen test suite and resolve structural gaps to achieve minimum 80% code coverage
v1.0.0 - Release Officielle & Audit Validé
feat: upgrade project to Symfony 5.4 and PHP 8.1 with complete test coverage
@Mike031289 Mike031289 self-assigned this Jul 26, 2026
@Mike031289 Mike031289 added bug Something isn't working documentation Improvements or additions to documentation feature Extra attention is needed labels Jul 26, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Mike031289
Mike031289 merged commit e9b95ad into develop Jul 26, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in @Mike031289's ToDo-Co Jul 26, 2026
@Mike031289
Mike031289 deleted the revert-59-feature/upgrade-symfony-5.4 branch July 26, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation feature Extra attention is needed security

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant