@@ -42,60 +42,60 @@ public static function data_plugin_detail_sections(): array {
4242 return [
4343 'expected sections ' => [
4444 'sections ' => [
45- 'faq ' => '' ,
46- 'screenshots ' => '' ,
47- 'changelog ' => '' ,
48- 'description ' => '' ,
49- 'security ' => '' ,
50- 'reviews ' => '' ,
51- 'other_notes ' => '' ,
52- 'installation ' => '' ,
53- 'upgrade_notice ' => '' ,
45+ 'faq ' => 'faq ' ,
46+ 'screenshots ' => 'screenshots ' ,
47+ 'changelog ' => 'changelog ' ,
48+ 'description ' => 'description ' ,
49+ 'security ' => 'security ' ,
50+ 'reviews ' => 'reviews ' ,
51+ 'other_notes ' => 'other_notes ' ,
52+ 'installation ' => 'installation ' ,
53+ 'upgrade_notice ' => 'upgrade_notice ' ,
5454 ],
5555 'expected_order ' => [
56- 'description ' => '' ,
57- 'installation ' => '' ,
58- 'faq ' => '' ,
59- 'screenshots ' => '' ,
60- 'changelog ' => '' ,
61- 'upgrade_notice ' => '' ,
62- 'security ' => '' ,
63- 'other_notes ' => '' ,
64- 'reviews ' => '' ,
56+ 'description ' => 'description ' ,
57+ 'installation ' => 'installation ' ,
58+ 'faq ' => 'faq ' ,
59+ 'screenshots ' => 'screenshots ' ,
60+ 'changelog ' => 'changelog ' ,
61+ 'upgrade_notice ' => 'upgrade_notice ' ,
62+ 'security ' => 'security ' ,
63+ 'other_notes ' => 'other_notes ' ,
64+ 'reviews ' => 'reviews ' ,
6565 ],
6666 ],
6767 'unknown sections ' => [
6868 'sections ' => [
69- 'foo ' => '' ,
70- 'bar ' => '' ,
71- 'baz ' => '' ,
69+ 'foo ' => 'foo ' ,
70+ 'bar ' => 'bar ' ,
71+ 'baz ' => 'baz ' ,
7272 ],
7373 'expected_order ' => [
74- 'foo ' => '' ,
75- 'bar ' => '' ,
76- 'baz ' => '' ,
74+ 'foo ' => 'foo ' ,
75+ 'bar ' => 'bar ' ,
76+ 'baz ' => 'baz ' ,
7777 ],
7878 ],
7979 'expected and unknown sections ' => [
8080 'sections ' => [
81- 'faq ' => '' ,
82- 'foo ' => '' ,
83- 'screenshots ' => '' ,
84- 'changelog ' => '' ,
85- 'bar ' => '' ,
86- 'reviews ' => '' ,
87- 'installation ' => '' ,
88- 'security ' => '' ,
81+ 'faq ' => 'faq ' ,
82+ 'foo ' => 'foo ' ,
83+ 'screenshots ' => 'screenshots ' ,
84+ 'changelog ' => 'changelog ' ,
85+ 'bar ' => 'bar ' ,
86+ 'reviews ' => 'reviews ' ,
87+ 'installation ' => 'installation ' ,
88+ 'security ' => 'security ' ,
8989 ],
9090 'expected_order ' => [
91- 'installation ' => '' ,
92- 'faq ' => '' ,
93- 'screenshots ' => '' ,
94- 'changelog ' => '' ,
95- 'security ' => '' ,
96- 'reviews ' => '' ,
97- 'foo ' => '' ,
98- 'bar ' => '' ,
91+ 'installation ' => 'installation ' ,
92+ 'faq ' => 'faq ' ,
93+ 'screenshots ' => 'screenshots ' ,
94+ 'changelog ' => 'changelog ' ,
95+ 'security ' => 'security ' ,
96+ 'reviews ' => 'reviews ' ,
97+ 'foo ' => 'foo ' ,
98+ 'bar ' => 'bar ' ,
9999 ],
100100 ],
101101 'empty sections ' => [
0 commit comments