Skip to content

feature branch: add Psalm static analysis#227

Open
COil wants to merge 3 commits intomainfrom
psalm
Open

feature branch: add Psalm static analysis#227
COil wants to merge 3 commits intomainfrom
psalm

Conversation

@COil
Copy link
Copy Markdown
Member

@COil COil commented Jan 18, 2026

Q A
Branch? main
Cleanup? no
Bug fix? no
New feature? yes
Doc added? yes
Tests pass? yes
Deprecations? no

@COil COil self-assigned this Jan 18, 2026
Copilot AI review requested due to automatic review settings January 18, 2026 20:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Psalm static analysis tooling to the project alongside the existing PHPStan setup. The changes include configuring Psalm, integrating it into the build pipeline, and making necessary code adjustments to satisfy Psalm's type checking requirements.

Changes:

  • Added Psalm configuration and dependency
  • Integrated Psalm into CI/CD workflows and build tools (Makefile, Castor, GitHub Actions)
  • Modified User entity properties to allow null values for createdAt/updatedAt fields

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
psalm.xml New Psalm configuration file with project files and issue handlers
composer.json Added vimeo/psalm dependency
castor.php Added psalm() task and integrated it into lint_all(), extracted warmupDevCache() helper
Makefile Added psalm target and integrated into lint command
.github/workflows/symfony.yml Added Psalm static analysis step to CI workflow
src/Entity/User.php Made createdAt and updatedAt properties nullable to satisfy Psalm requirements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@COil COil force-pushed the psalm branch 2 times, most recently from 01204f8 to a32afbd Compare January 18, 2026 20:28
COil added 3 commits January 26, 2026 20:35
- Add Psalm to composer dependencies
- Add psalm configuration file
- Add Psalm task to castor and make commands
- Add Psalm to GitHub Actions workflow
- Add Psalm to CI and lint workflows
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@COil COil added the feature branch Feeature branch demo label Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature branch Feeature branch demo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants