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

Fix Yii debugger issues in test run #478

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

szepeviktor
Copy link
Contributor

@szepeviktor szepeviktor commented Jan 18, 2025

Closes #476

@szepeviktor
Copy link
Contributor Author

szepeviktor commented Jan 18, 2025

@alexander-schranz Success! 🍏

only a minor thing on PHP 8.4, not related to debugging

roave/infection-static-analysis-plugin[1.25.0, ..., 1.25.x-dev] require php ~8.0.0|~8.1.0|~8.2.0 -> your php version (8.4.3) does not satisfy that requirement.

@alexander-schranz
Copy link
Member

Thx for the pull request, the default yii app skeleton seems also not have this enabled, are we sure this is expected now:

https://github.com/yiisoft/app/blob/7e3746ae652402bc5e071550f821b3496daacc35/config/environments/test/params.php#L7

Maybe @samdark or @vjik can confirm what in the app template should be changed? To avoid this errors: https://github.com/PHP-CMSIG/search/actions/runs/12847334123/job/35823522845

@alexander-schranz alexander-schranz added DX Improves the developer experience Integration: Yii Yii related issue bug Something isn't working and removed DX Improves the developer experience labels Jan 19, 2025
@vjik
Copy link
Contributor

vjik commented Jan 19, 2025

We also faced this problem after last changes in Yii Debug. I think, we will fix it soon.

@alexander-schranz
Copy link
Member

@vjik thx for the fast feedback. Let us know if there is a fix available or change required on our app example.

@vjik
Copy link
Contributor

vjik commented Jan 20, 2025

Hello @alexander-schranz ! We made changes in Yii Debug API. Can you run tests with latest version of yiisoft/yii-debug-api:dev-master?

@alexander-schranz
Copy link
Member

Looks good. The PHP 8.4 is related to Roave/infection-static-analysis-plugin#499 if somebody know how to fix that issues let me know.

@alexander-schranz alexander-schranz merged commit d83e2e4 into PHP-CMSIG:0.6 Jan 20, 2025
46 of 47 checks passed
@alexander-schranz alexander-schranz changed the title Enable Yii debugger for tests Fix Yii debugger issues in test run Jan 20, 2025
@alexander-schranz
Copy link
Member

@szepeviktor @vjik thank you!

@szepeviktor szepeviktor deleted the patch-2 branch January 20, 2025 12:02
alexander-schranz added a commit that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in #478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-elasticsearch-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-opensearch-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-solr-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-redisearch-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-loupe-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-meilisearch-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-typesense-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-algolia-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-memory-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-read-write-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-multi-adapter that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-symfony-bundle that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-spiral-bridge that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-laravel-package that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-mezzio-module that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
alexander-schranz added a commit to PHP-CMSIG/seal-yii-module that referenced this pull request Jan 23, 2025
PHP 8.4 is not yet supported in infection plugin by @Roave as we found
out in PHP-CMSIG/search#478 @szepeviktor.

So we will remove the unneeded infection part of the example to make the
CI green again.

Else I tried where possible to update the composer.json to match current
state of https://github.com/yiisoft/app with changes by @vjik and the
yii team.

This PR will update all deps also to the latest version.

Co-authored-by: Viktor Szépe <[email protected]>
Co-authored-by: Sergei Predvoditelev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Integration: Yii Yii related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Yii Integration tests fail
3 participants