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

Allow xdebug-handler 3.x, update deps #10416

Merged
merged 1 commit into from Jan 5, 2022
Merged

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Jan 3, 2022

cc @johnstevenson see the hack I had to do in bootstrap.php - I am not sure why this is required with v3, or rather I am not sure why it worked before :)

But it would be nice if isXdebugActive would be working standalone as it is static.

I guess all of the following could be moved into it really, I don't know why this stuff is stored on instance props and not static ones:

https://github.com/composer/xdebug-handler/blob/ec6aa897c8b6cab05ebaeddade62bb6e4a69ef38/src/XdebugHandler.php#L94-L100

Keeping this PR open as reminder, if it gets fixed in xdebug-handler I will drop the hack on this end.

@private-packagist
Copy link

private-packagist bot commented Jan 3, 2022

composer.lock

Package changes

Package Operation From To Changes
composer/semver upgrade 3.2.6 3.2.7 diff
composer/xdebug-handler upgrade 2.0.3 3.0.1 diff
symfony/console upgrade v5.4.1 v5.4.2 diff
symfony/finder upgrade v5.4.0 v5.4.2 diff
symfony/polyfill-ctype upgrade v1.23.0 v1.24.0 diff
symfony/polyfill-intl-grapheme upgrade v1.23.1 v1.24.0 diff
symfony/polyfill-intl-normalizer upgrade v1.23.0 v1.24.0 diff
symfony/polyfill-mbstring upgrade v1.23.1 v1.24.0 diff
symfony/polyfill-php73 upgrade v1.23.0 v1.24.0 diff
symfony/polyfill-php80 upgrade v1.23.1 v1.24.0 diff
symfony/process upgrade v5.4.0 v5.4.2 diff
symfony/string upgrade v5.4.0 v5.4.2 diff

Dev Package changes

Package Operation From To Changes
phpstan/phpstan upgrade 1.2.0 1.3.1 diff

Settings · Docs · Powered by Private Packagist

@Seldaek Seldaek added this to the 2.3 milestone Jan 3, 2022
@Seldaek Seldaek added the Feature label Jan 3, 2022
@johnstevenson
Copy link
Member

Okay, this is a bug because calling isXdebugActive() before the class has been created results in a type error in version 3 because null is returned rather than a bool, so I definitely need to fix this.

But it would be nice if isXdebugActive would be working standalone as it is static.

Yes, I think it should do this.

I guess all of the following could be moved into it really, I don't know why this stuff is stored on instance props and not static ones...

Indeed. It just evolved this way, as things often do.

@private-packagist
Copy link

The composer.lock diff comment has been updated to reflect new changes in this PR.

@Seldaek Seldaek merged commit 9d6cf58 into composer:main Jan 5, 2022
@Seldaek
Copy link
Member Author

Seldaek commented Jan 5, 2022

@johnstevenson thanks!

@Seldaek Seldaek deleted the update_deps branch January 5, 2022 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants