Skip to content

Commit f34bba7

Browse files
committed
Fixed more init processing.
1 parent c454304 commit f34bba7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+215
-77
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ indent_size = 4
2626
[*.{yml,yaml}]
2727
indent_size = 2
2828

29+
#;< SHELL
2930
[*.{sh,bash,bats}]
3031
indent_size = 2
32+
#;> SHELL
3133

3234
[*.xml]
3335
indent_size = 4

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# To ignore OS temporary files use global .gitignore
22
# https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
33

4-
/.build
54
#;< PHP
5+
#;< PHP_PHAR
6+
/.build
7+
#;> PHP_PHAR
68
/.logs
79
/.phpunit.cache
810
/composer.lock

.scaffold/tests/phpunit/fixtures/init/_baseline/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
/phpunit.xml export-ignore
1313
/rector.php export-ignore
1414
/.npmignore export-ignore
15-
# /renovate.json export-ignore
15+
/renovate.json export-ignore

.scaffold/tests/phpunit/fixtures/init/_baseline/.github/.yamllint-for-gha.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.scaffold/tests/phpunit/fixtures/init/_baseline/.github/workflows/test-actions.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.scaffold/tests/phpunit/fixtures/init/_baseline/README.md

Lines changed: 2 additions & 0 deletions

.scaffold/tests/phpunit/fixtures/init/name/README.md

Lines changed: 3 additions & 3 deletions

.scaffold/tests/phpunit/fixtures/init/no_languages/-box.json

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-composer.json

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-force-crystal

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-force-crystal.sh

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-package.json

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-phpcs.xml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-phpmd.xml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-phpstan.neon

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-phpunit.xml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/-rector.php

Whitespace-only changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@@ -10,11 +10,7 @@
2+
trim_trailing_whitespace = true
3+
insert_final_newline = true
4+
5+
-[*.php]
6+
-indent_size = 2
7+
8+
-[*.js]
9+
-indent_size = 2
10+
11+
[*.{json,lock}]
12+
indent_size = 4
13+
@@ -22,8 +18,6 @@
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
17+
-[*.{sh,bash,bats}]
18+
-indent_size = 2
19+
20+
[*.xml]
21+
indent_size = 4
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@@ -5,11 +5,4 @@
2+
/.github export-ignore
3+
/.gitignore export-ignore
4+
/docs export-ignore
5+
-/tests export-ignore
6+
-/phpcs.xml export-ignore
7+
-/phpmd.xml export-ignore
8+
-/phpstan.neon export-ignore
9+
-/phpunit.xml export-ignore
10+
-/rector.php export-ignore
11+
-/.npmignore export-ignore
12+
/renovate.json export-ignore

.scaffold/tests/phpunit/fixtures/init/no_languages/.github/workflows/-release-nodejs.yml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/.github/workflows/-release-php.yml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/.github/workflows/-test-nodejs.yml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/.github/workflows/-test-php.yml

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/.github/workflows/-test-shell.yml

Whitespace-only changes.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@@ -1,12 +1,3 @@
2+
# To ignore OS temporary files use global .gitignore
3+
# https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
4+
5+
-/.build
6+
-/.logs
7+
-/.phpunit.cache
8+
-/composer.lock
9+
-/vendor
10+
-/vendor-bin
11+
-/node_modules
12+
-/package-lock.json
13+
-/yarn.lock
Lines changed: 62 additions & 0 deletions

.scaffold/tests/phpunit/fixtures/init/no_languages/src/-app.php

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/src/Command/-JokeCommand.php

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/src/Command/-SayHelloCommand.php

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/bats/-.gitignore

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/bats/-_helper.bash

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/bats/-package-lock.json

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/bats/-package.json

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/bats/-shell-command.bats

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/phpunit/Fixtures/-.gitkeep

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/phpunit/Functional/-JokeCommandTest.php

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_languages/tests/phpunit/Functional/-SayHelloCommandTest.php

Whitespace-only changes.

.scaffold/tests/phpunit/fixtures/init/no_renovate/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/phpunit.xml export-ignore
33
/rector.php export-ignore
44
/.npmignore export-ignore
5-
-# /renovate.json export-ignore
5+
-/renovate.json export-ignore

.scaffold/tests/phpunit/fixtures/init/nodejs/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
-/phpunit.xml export-ignore
1010
-/rector.php export-ignore
1111
/.npmignore export-ignore
12-
# /renovate.json export-ignore
12+
/renovate.json export-ignore

.scaffold/tests/phpunit/fixtures/init/nodejs/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
@@ -2,11 +2,6 @@
1+
@@ -1,12 +1,6 @@
2+
# To ignore OS temporary files use global .gitignore
23
# https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
34

4-
/.build
5+
-/.build
56
-/.logs
67
-/.phpunit.cache
78
-/composer.lock

.scaffold/tests/phpunit/fixtures/init/nodejs/README.md

Lines changed: 12 additions & 2 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@@ -22,8 +22,6 @@
2+
[*.{yml,yaml}]
3+
indent_size = 2
4+
5+
-[*.{sh,bash,bats}]
6+
-indent_size = 2
7+
8+
[*.xml]
9+
indent_size = 4

.scaffold/tests/phpunit/fixtures/init/php_command/README.md

Lines changed: 3 additions & 2 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@@ -22,8 +22,6 @@
2+
[*.{yml,yaml}]
3+
indent_size = 2
4+
5+
-[*.{sh,bash,bats}]
6+
-indent_size = 2
7+
8+
[*.xml]
9+
indent_size = 4
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@@ -1,7 +1,6 @@
2+
# To ignore OS temporary files use global .gitignore
3+
# https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
4+
5+
-/.build
6+
/.logs
7+
/.phpunit.cache
8+
/composer.lock

.scaffold/tests/phpunit/fixtures/init/php_script/README.md

Lines changed: 3 additions & 2 deletions

.scaffold/tests/phpunit/fixtures/init/shell/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
-/phpunit.xml export-ignore
1010
-/rector.php export-ignore
1111
/.npmignore export-ignore
12-
# /renovate.json export-ignore
12+
/renovate.json export-ignore

.scaffold/tests/phpunit/fixtures/init/shell/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
@@ -2,11 +2,6 @@
1+
@@ -1,12 +1,6 @@
2+
# To ignore OS temporary files use global .gitignore
23
# https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
34

4-
/.build
5+
-/.build
56
-/.logs
67
-/.phpunit.cache
78
-/composer.lock

.scaffold/tests/phpunit/fixtures/init/shell/README.md

Lines changed: 12 additions & 2 deletions

.scaffold/tests/phpunit/src/InitTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ public static function dataProviderInit(): array {
9696
'use_shell' => static::$tuiYes,
9797
],
9898
],
99+
'no languages' => [
100+
[
101+
'use_php' => static::$tuiNo,
102+
'use_php_command' => static::TUI_SKIP,
103+
'php_command_name' => static::TUI_SKIP,
104+
'use_php_command_build' => static::TUI_SKIP,
105+
'use_php_script' => static::TUI_SKIP,
106+
'use_nodejs' => static::$tuiNo,
107+
'use_shell' => static::$tuiNo,
108+
],
109+
],
99110
'no release drafter' => [
100111
[
101112
'use_release_drafter' => static::$tuiNo,

0 commit comments

Comments
 (0)