Skip to content

Major update - added strict types, added code quality tools#4

Open
indy2kro wants to merge 19 commits into
bluemoehre:masterfrom
indy2kro:master
Open

Major update - added strict types, added code quality tools#4
indy2kro wants to merge 19 commits into
bluemoehre:masterfrom
indy2kro:master

Conversation

@indy2kro

Copy link
Copy Markdown

Major update, modernize tool, contains breaking changes from previous version.

  • Dropped support for php versions older than PHP 8.2 (not compatible with all changes)
  • Added Rector support
  • Added PHPinsights support
  • Added PHPstan support
  • Updated PHPstan to level 9
  • Added strict_types to all files
  • Updated github actions to use caching, added more tools execution
  • Split class in multiple files to reduce complexity
  • Added more tests

@bluemoehre

Copy link
Copy Markdown
Owner

Hey @indy2kro , many thanks for your contribution.

As already said in your other PR, it will take some time to be able to check all the changes you squeezed in this single PR. Again, I can just recommend providing smaller PRs, because that helps in getting code merged quickly and efficiently.

@indy2kro

Copy link
Copy Markdown
Author

Well, this one is .. basically a re-write of the app. I understand your request, but the truth is there is so much changed it's easier to just consider a review from scratch or just to keep it as a separate fork.

@bluemoehre

Copy link
Copy Markdown
Owner

Keep in mind, that making small codebases "more professional" by introducing more tools and rules (like you would do in an enterprise project) sometimes adds a lot of overhead to simple pragmatic things.

I will check it as soon as I find some time.

dependabot Bot and others added 8 commits February 3, 2025 20:40
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 11.5.3 to 11.5.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/11.5.6/ChangeLog-11.5.md)
- [Commits](sebastianbergmann/phpunit@11.5.3...11.5.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.11.2 to 3.12.2.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](PHPCSStandards/PHP_CodeSniffer@3.11.2...3.12.2)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-version: 3.12.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.1 to 2.1.12.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@2.1.1...2.1.12)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.1.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…tan-2.1.12

Bump phpstan/phpstan from 2.1.1 to 2.1.12
…p_codesniffer-3.12.2

Bump squizlabs/php_codesniffer from 3.11.2 to 3.12.2
…it-11.5.6

Bump phpunit/phpunit from 11.5.3 to 11.5.6
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 11.5.3 to 11.5.50.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/11.5.50/ChangeLog-11.5.md)
- [Commits](sebastianbergmann/phpunit@11.5.3...11.5.50)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 11.5.50
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…nit-11.5.50

Bump phpunit/phpunit from 11.5.3 to 11.5.50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants