The fungi were growing in an area that had been burnt last year. The second photo shows the patch of moss (mostly Funaria hygrometrica) in which I collected the specimens.
I revisited this patch of moss on July 15th and collected two other fungi. The Pholiota was still going strong a month and a half since my previous visit. There were numerous fresh fruitbodies at various stages of growth, some with caps only a few millimetres wide and therefore likely to develop to maturity over the following days.