We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a22e56b commit 236f09cCopy full SHA for 236f09c
src/Context/FeatureContext.php
@@ -943,7 +943,12 @@ protected static function bootstrap_feature_context(): void {
943
return;
944
}
945
946
- $composer = json_decode( (string) file_get_contents( $project_composer ) );
+ $composer_contents = file_get_contents( $project_composer );
947
+ if ( false === $composer_contents ) {
948
+ return;
949
+ }
950
+
951
+ $composer = json_decode( $composer_contents );
952
if ( empty( $composer->autoload->files ) ) {
953
954
0 commit comments