listIndexTemplates() as $file) { $content = $this->readProjectFile($file); $moduleContent = $this->readTemplatePageModule($file); $usesPartial = $this->usesSharedListFiltersPartial($content); $this->assertTrue( $usesPartial || str_contains($content, 'renderGridFilterToolbar('), $file . ' does not render toolbar directly and does not include shared list-filters partial.' ); $this->assertTrue( str_contains($moduleContent, 'createListPageModule('), $file . ' does not initialize list module via createListPageModule.' ); $this->assertStringNotContainsString('initStandardListPage(', $moduleContent, $file); $this->assertStringNotContainsString('gridFiltersFromSchema(', $content, $file); $this->assertSame(0, preg_match('/