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

Fixed: deprecated notice with PHP 8.1 #666

Conversation

patrickallaert
Copy link

@patrickallaert patrickallaert commented Jun 17, 2021

As of PHP 8.1, the following notice could possibly appear:
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in ...

As of PHP 8.1, the following notice could possibly appear:
Deprecated: strlen(): Passing null to parameter justinrainbow#1 ($string) of type string is deprecated in ...
@andypost
Copy link

It affects composer on 8.1alpha1 Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48

@andypost
Copy link

Valid composer issue composer/composer#9718

@derrabus
Copy link

duplicate of #657

@Seldaek
Copy link
Collaborator

Seldaek commented Jul 21, 2021

Closing as I merged #657

@Seldaek Seldaek closed this Jul 21, 2021
SpacePossum added a commit to PHP-CS-Fixer/PHP-CS-Fixer that referenced this pull request Dec 1, 2021
This PR was merged into the master branch.

Discussion
----------

DX: test on PHP 8.1

Changes in `composer.json` must be reverted, this require:

- [x] [justinrainbow/json-schema](https://github.com/justinrainbow/json-schema) to be released with the fix: justinrainbow/json-schema#666
- [x] [mikey179/vfsstream](https://github.com/bovigo/vfsStream) new v1 version to be released
- [x] [mikey179/vfsstream](https://github.com/bovigo/vfsStream) another version (with bovigo/vfsStream#261) to be released
- [x] [symfony/symfony](https://github.com/symfony/symfony) new version (with symfony/symfony#42260) to be released

Commits
-------

a4358ec Test on PHP 8.1
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.

None yet

4 participants