Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ready for review] Core dependency and tool updates with PHP 8.1 #11

Closed
wants to merge 1 commit into from

Conversation

ToshY
Copy link

@ToshY ToshY commented Nov 19, 2023

Fixes #9


Hey @Guikingone 👋

Took me couple of days after but here's my shot at updating the bundle. I went straight to PHP 8.1 (as 8.0 is EOL next week). While I haven't tested it manually in one of my projects yet, the unit tests are (finally) passing 😌

While updating the code quality tools (phpcs, phpunit, phpstan) I've took the liberty to incorperate some addtional Github workflows. Hope that's not a major dealbreaker.

I'd appreciate if you have the time to review it and give feedback. You're also more than welcome to make any changes to the PR yourself if you think it's needed.

Let me know 🙂

make boot fix with php 8.1

bumped dependencies

refactored rector config file

refactored github workflows

added temporary phpstan baseline to keep track on what to fix

phpstan; resolved meilisearch incorrect case

phpstan; added phpstan phpunit dev depenecies; started fixing tests

removing doctrine annotations; replaced document annotation with attribute; further fixing tests

phpunit fixed errors, left with 19 failures

fixed test regarding document reader

bumped psr/log constraint

fixed constraints back for apt in dockerfile

no lowerest composer install for phpcs phpstan and phpunit workflows

ran phpcs fixer with created config

ran phpcs fixer for tests directory

updated phpstan parameters

added gitattributes, updated gitignore, removed composer.lock

fixed renaming annotation to attribute in docs + composer.json tests namespace

updated rector with skip rules

ran rector + phpcsfixer

updated badges for workflows in readme

fixed typo in readme

updated readme for support 8.1 and up

phpunit fixes; left with search extension failure test

phpunit resolved final test cases

tried running infection with fixed config; i have no idea what core files are that are generated

phpstan ignoreerrors and start fixing

reformating codestyle

phpstan issues resolved mostly by phpdoc typing

ran phpcsfixer

updated gitattributes

added command attributes

added asmessagehandler attributes
@Guikingone Guikingone self-requested a review November 20, 2023 14:58
@ToshY ToshY closed this Dec 25, 2024
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.

build(core): update dependencies
1 participant