Skip to content

Commit 7e9fb03

Browse files
committed
[TASK] Update Codesnippets
1 parent 73662ca commit 7e9fb03

8 files changed

Lines changed: 43 additions & 25 deletions

File tree

Documentation/CodeSnippets/Flex2.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
<sheetTitle>section2</sheetTitle>
6767
<type>array</type>
6868
<el>
69-
<section_2>
70-
<title>section_2</title>
69+
<settings.section>
70+
<title>settings.section dotted name</title>
7171
<type>array</type>
7272
<section>1</section>
7373
<el>
@@ -105,7 +105,7 @@
105105
</el>
106106
</container_2>
107107
</el>
108-
</section_2>
108+
</settings.section>
109109
</el>
110110
</ROOT>
111111
</sSection2>

Documentation/ColumnsConfig/Type/Password/_Snippets/_Password_1.rst.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
.. code-block:: php
55
:caption: EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
6-
:emphasize-lines: 7
76
87
[
98
'columns' => [

Documentation/ColumnsConfig/Type/Password/_Snippets/_Password_2.rst.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
.. code-block:: php
55
:caption: EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
6-
:emphasize-lines: 8
76
87
[
98
'columns' => [

Documentation/ColumnsConfig/Type/Password/_Snippets/_Password_4.rst.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
.. code-block:: php
55
:caption: EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
6-
:emphasize-lines: 15
76
87
[
98
'columns' => [
@@ -17,10 +16,7 @@
1716
'renderType' => 'passwordGenerator',
1817
'options' => [
1918
'title' => 'Create random hex string',
20-
'passwordRules' => [
21-
'length' => 30,
22-
'random' => 'hex',
23-
],
19+
'passwordPolicy' => 'styleguideHex',
2420
],
2521
],
2622
],

Documentation/ColumnsConfig/Type/Password/_Snippets/_Password_5.rst.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
.. code-block:: php
55
:caption: EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
6-
:emphasize-lines: 13,16
76
87
[
98
'columns' => [
@@ -18,10 +17,7 @@
1817
'options' => [
1918
'title' => 'Create random base64 string',
2019
'allowEdit' => false,
21-
'passwordRules' => [
22-
'length' => 35,
23-
'random' => 'base64',
24-
],
20+
'passwordPolicy' => 'styleguideBase64',
2521
],
2622
],
2723
],

Documentation/ColumnsConfig/Type/Password/_Snippets/_Password_6.rst.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
.. code-block:: php
55
:caption: EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
6-
:emphasize-lines: 10,14
76
87
[
98
'columns' => [
@@ -17,9 +16,7 @@
1716
'renderType' => 'passwordGenerator',
1817
'options' => [
1918
'title' => 'Create random password',
20-
'passwordRules' => [
21-
'specialCharacters' => true,
22-
],
19+
'passwordPolicy' => 'styleguideAllCharacters',
2320
],
2421
],
2522
],

Documentation/ColumnsConfig/Type/Password/_Snippets/_Password_7.rst.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
44
.. code-block:: php
55
:caption: EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
6-
:emphasize-lines: 14,15,16
76
87
[
98
'columns' => [
@@ -17,11 +16,7 @@
1716
'renderType' => 'passwordGenerator',
1817
'options' => [
1918
'title' => 'Create random number',
20-
'passwordRules' => [
21-
'length' => 8,
22-
'lowerCaseCharacters' => false,
23-
'upperCaseCharacters' => false,
24-
],
19+
'passwordPolicy' => 'styleguideDigits',
2520
],
2621
],
2722
],

Documentation/codesnippets.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,42 @@
211211
'fields' => ['columns/none_1'],
212212
'targetFileName' => 'CodeSnippets/None1.rst.txt',
213213
],
214+
[
215+
'action' => 'createPhpArrayCodeSnippet',
216+
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php',
217+
'fields' => ['columns/password_1'],
218+
'targetFileName' => 'ColumnsConfig/Type/Password/_Snippets/_Password_1.rst.txt',
219+
],
220+
[
221+
'action' => 'createPhpArrayCodeSnippet',
222+
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php',
223+
'fields' => ['columns/password_2'],
224+
'targetFileName' => 'ColumnsConfig/Type/Password/_Snippets/_Password_2.rst.txt',
225+
],
226+
[
227+
'action' => 'createPhpArrayCodeSnippet',
228+
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php',
229+
'fields' => ['columns/password_4'],
230+
'targetFileName' => 'ColumnsConfig/Type/Password/_Snippets/_Password_4.rst.txt',
231+
],
232+
[
233+
'action' => 'createPhpArrayCodeSnippet',
234+
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php',
235+
'fields' => ['columns/password_5'],
236+
'targetFileName' => 'ColumnsConfig/Type/Password/_Snippets/_Password_5.rst.txt',
237+
],
238+
[
239+
'action' => 'createPhpArrayCodeSnippet',
240+
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php',
241+
'fields' => ['columns/password_6'],
242+
'targetFileName' => 'ColumnsConfig/Type/Password/_Snippets/_Password_6.rst.txt',
243+
],
244+
[
245+
'action' => 'createPhpArrayCodeSnippet',
246+
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php',
247+
'fields' => ['columns/password_7'],
248+
'targetFileName' => 'ColumnsConfig/Type/Password/_Snippets/_Password_7.rst.txt',
249+
],
214250
[
215251
'action' => 'createPhpArrayCodeSnippet',
216252
'sourceFile' => 'EXT:styleguide/Configuration/TCA/tx_styleguide_elements_select.php',

0 commit comments

Comments
 (0)