Add Laravel Pint configuration for Shift compatibility #564

Merged
Copilot merged 4 commits from copilot/add-code-styling-setup into main 2026-01-29 05:16:17 +00:00
Copilot commented 2026-01-29 05:10:08 +00:00 (Migrated from github.com)

Shift requires a code style configuration file to normalize code during framework upgrades. Laravel Pint was already installed but unconfigured.

Changes

  • Added pint.json — Laravel preset with standard rules (simplified null returns, unused import removal)
  • Added composer scriptscomposer pint to fix styles, composer pint-test for CI checks
  • Documented in README — Code style section with usage examples

Shift will now detect and apply consistent code formatting during Laravel version migrations.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Shift requires a code style configuration file to normalize code during framework upgrades. Laravel Pint was already installed but unconfigured. ## Changes - **Added `pint.json`** — Laravel preset with standard rules (simplified null returns, unused import removal) - **Added composer scripts** — `composer pint` to fix styles, `composer pint-test` for CI checks - **Documented in README** — Code style section with usage examples Shift will now detect and apply consistent code formatting during Laravel version migrations. <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey).
nomadjimbob (Migrated from github.com) reviewed 2026-01-29 05:10:08 +00:00
Sign in to join this conversation.