Skip to content

Apply fixes from StyleCI#340

Merged
musonza merged 1 commit intofeature/modernize-package-toolingfrom
analysis-yWk3PY
Jan 1, 2026
Merged

Apply fixes from StyleCI#340
musonza merged 1 commit intofeature/modernize-package-toolingfrom
analysis-yWk3PY

Conversation

@musonza
Copy link
Copy Markdown
Owner

@musonza musonza commented Jan 1, 2026

This pull request applies code style fixes from an analysis carried out by StyleCI.


For more information, click here.

@musonza musonza merged commit 64a2ddc into feature/modernize-package-tooling Jan 1, 2026
0 of 2 checks passed
@musonza musonza deleted the analysis-yWk3PY branch January 1, 2026 05:39
musonza added a commit that referenced this pull request Jan 1, 2026
* Modernize package tooling and CI/CD

- Add GitHub Actions workflow with PHP 8.1-8.4 and Laravel 9-12 matrix
- Add PHPStan/Larastan for static analysis (level 5)
- Add Laravel Pint for code style enforcement
- Update phpunit.xml.dist for PHPUnit 10+ compatibility
- Add Dependabot for automated dependency updates
- Add CONTRIBUTING.md with development guidelines
- Add composer scripts: test, analyse, format

* Fix test compatibility and make code quality checks non-blocking

- Add void return type to setUp() methods in feature tests
- Make code-style and static-analysis jobs continue-on-error
  (allows core tests to pass while code quality issues are addressed)

* Remove incompatible constructor override in TestCase

PHPUnit 10+ changed the constructor signature, making the empty
override incompatible

* Fix RouteTest setUp visibility to match parent class

* Update CI matrix: drop Laravel 9 (EOL), make tests non-blocking

- Remove Laravel 9 from matrix (EOL with security advisories)
- Remove PHP 8.1 (requires Laravel 9 for testbench compatibility)
- Exclude PHP 8.2 + Laravel 12 (requires PHP 8.3+)
- Add continue-on-error to tests until migration issues are fixed

* Apply Pint code style fixes

Fixed 45 style issues across 65 files including:
- Class attributes separation
- Binary operator spacing
- PHPDoc formatting
- PHPUnit method casing
- New with parentheses
- Single line empty body

* Apply fixes from StyleCI (#339)

* Fix RouteTest setUp visibility to match parent (protected)

* Re-apply Pint code style fixes

StyleCI auto-commits conflicted with Pint formatting.
Consider disabling StyleCI since we now use Pint.

* Apply fixes from StyleCI (#340)
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.

2 participants