Commit ca5d00b
authored
fix: Use default file cache key if
As per PHPStan, it is possible that the version of the `behat/gherkin`
package, (which we use as cache key), cannot be retrieved. This
would cause a php deprecation due to attempting to hash a null
value.
This PR makes it default to `'unknown'` in that case.
This change was extracted from #364.behat/gherkin version is unknown (#370)1 parent 19c27aa commit ca5d00b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments