Skip to content

PHP 8.1 deprecation while searching for composer binary#434

Merged
corpsee merged 1 commit intophp-censor:masterfrom
StudioMaX:patch-1
Dec 7, 2022
Merged

PHP 8.1 deprecation while searching for composer binary#434
corpsee merged 1 commit intophp-censor:masterfrom
StudioMaX:patch-1

Conversation

@StudioMaX
Copy link
Contributor

Contribution type

Bug fix

Description of change

Exception: Deprecated: is_dir(): Passing null to parameter #1 ($filename) of type string is deprecated in <PHP_CENSOR_PATH>/src/Helper/CommandExecutor.php line 238

This is because CommandExecutor::getComposerBinDir may return null.

@corpsee corpsee merged commit e8740de into php-censor:master Dec 7, 2022
@corpsee corpsee added this to the 2.1.3 milestone Dec 7, 2022
@corpsee corpsee modified the milestones: 2.1.3, 2.0.11 Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants