GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Modernize codebase and add more code quality tools by indy2kro · Pull Request #37 · Codeception/module-phpbrowser

Conversation

@indy2kro

@indy2kro indy2kro commented Jul 23, 2024

Copy link
Copy Markdown
Contributor
  • Added more code quality tools: phpcs, phpstan, rector
  • Updated project to be compatible with phpstan level 6
  • Added github actions for php 8.2 and 8.3
  • Added dependabot github action

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
indy2kro and others added 6 commits July 23, 2024 08:17
@indy2kro
Added github actions for php 8.2 and 8.3
13ed304
@indy2kro
Create dependabot.yml
82613e7
@indy2kro
Added more code quality tools
ac90f35
@indy2kro
Updated code quality for phpstan to level 6
9f82b04
@indy2kro
Update PhpBrowserTest.php
e03e2d9
@TavoNiievez
Fixes
e5de7b0
@TavoNiievez

TavoNiievez commented Jul 28, 2024

Copy link
Copy Markdown
Member

Hi @indy2kro

I agree with the changes you propose in your PR, however there were some that I took the liberty of undoing to continue (See e5de7b0):
For example, adding the rector dependency and its corresponding configuration file.
This specific dependency should not be part of the repository as it is not a linter itself but rather a tool to make refactor, which makes more sense when used locally.
I took the opportunity to remove PHP 8.0 support.
Regarding the typing you added, I had to undo the typing that specifies methods that are defined in an interface.
For congruence, the signature of the method must remain exactly the same in the implementation with respect to the interface.
That's why I lowered the phpstan level to 5 and undid those cases.
I also undid some naming changes that are not so relevant, and some specifications in conditionals that rector suggests but do not make sense in the logic being tested.

If you think I made a mistake in any of these changes please feel free to resubmit them in a new PR, arguing why.

Thank you very much for your contribution.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TavoNiievez
TavoNiievez approved these changes Jul 28, 2024
View reviewed changes
@TavoNiievez
TavoNiievez merged commit 8a7f950 into Codeception:master Jul 28, 2024
@indy2kro

indy2kro commented Jul 28, 2024

Copy link
Copy Markdown
Contributor Author

Hello,

Regarding the rector observations, while the tool itself indeed can be used locally, I have learned over time that integrating inside the CI/CD can actually bring benefits - in particular through the PHP version upgrades rector can enforce best practices. However, I understand the reluctance and it is a personal preference in the end. I am happy to contribute even with the other changes which hopefully will bring benefits for others as well.

Thanks for the time and effort for review and merge!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Sep 4, 2025

Copy link
Copy Markdown

🎉 This PR is included in version 3.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the released label Sep 4, 2025
@W0rma W0rma mentioned this pull request Dec 15, 2025
feat: allow symfony 8 #47
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@TavoNiievez TavoNiievez TavoNiievez approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

released

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@indy2kro @TavoNiievez
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.