-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for the base-less tests and symlinks.
- Loading branch information
1 parent
8822a5e
commit 0bbf794
Showing
30 changed files
with
254 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# Ignore files for distribution archives. | ||
|
||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.gitignore export-ignore | ||
/logo.png export-ignore | ||
/phpcs.xml export-ignore | ||
/phpmd.xml export-ignore | ||
/phpstan.neon export-ignore | ||
/rector.php export-ignore | ||
/renovate.json export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.gitignore export-ignore | ||
/logo.png export-ignore | ||
/phpcs.xml export-ignore | ||
/phpmd.xml export-ignore | ||
/phpstan.neon export-ignore | ||
/phpunit.xml export-ignore | ||
/rector.php export-ignore | ||
/renovate.json export-ignore | ||
/tests/phpunit/Fixtures export-ignore | ||
/tests/phpunit/Functional/CreateProjectTest.php export-ignore | ||
/tests/phpunit/Unit export-ignore |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir1/d32f2_symlink_deep.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d32f2l1 |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir1/dir1_flat/d1f1_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d1f1.txt |
1 change: 1 addition & 0 deletions
1
...ures/assert_fixture_files/files_equal/dir1/dir3_subdirs/dir32-unignored/d32f1_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d32f1.txt |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir1/dir3_subdirs_symlink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dir3_subdirs |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir1/f2_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f2.txt |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir2/d32f2_symlink_deep.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d32f2l1 |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir2/dir1_flat/d1f1_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d1f1.txt |
1 change: 1 addition & 0 deletions
1
...ures/assert_fixture_files/files_equal/dir2/dir3_subdirs/dir32-unignored/d32f1_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d32f1.txt |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir2/dir3_subdirs_symlink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dir3_subdirs |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_equal/dir2/f2_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f2.txt |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_not_equal/dir1/d32f2_symlink_deep.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d32f2l1 |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_not_equal/dir1/dir1_flat/d1f1_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d1f1.txt |
1 change: 1 addition & 0 deletions
1
.../assert_fixture_files/files_not_equal/dir1/dir3_subdirs/dir32-unignored/d32f1_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d32f1.txt |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_not_equal/dir1/dir3_subdirs_symlink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dir3_subdirs |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/assert_fixture_files/files_not_equal/dir1/f2_symlink.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f2.txt |
5 changes: 5 additions & 0 deletions
5
tests/phpunit/Fixtures/install_no_base/post_install/.ignorecontent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.idea/ | ||
.coverage-html/ | ||
.phpunit.cache/ | ||
vendor/ | ||
^composer.lock |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/install_no_base/post_install/CustomizeCommand.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../CustomizeCommand.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../Plugin.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../README.md |
1 change: 1 addition & 0 deletions
1
tests/phpunit/Fixtures/install_no_base/post_install/SECURITY.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../SECURITY.md |
64 changes: 64 additions & 0 deletions
64
tests/phpunit/Fixtures/install_no_base/post_install/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"name": "testorg/testpackage", | ||
"description": "Test description", | ||
"license": "MIT", | ||
"type": "composer-plugin", | ||
"authors": [ | ||
{ | ||
"name": "Alex Skrypnyk", | ||
"email": "[email protected]", | ||
"homepage": "https://alexskrypnyk.com", | ||
"role": "Maintainer" | ||
} | ||
], | ||
"homepage": "https://github.com/alexskrypnyk/customizer", | ||
"support": { | ||
"issues": "https://github.com/alexskrypnyk/customizer/issues", | ||
"source": "https://github.com/alexskrypnyk/customizer" | ||
}, | ||
"require": { | ||
"php": ">=8.2", | ||
"composer-plugin-api": "^2.0" | ||
}, | ||
"require-dev": { | ||
"composer/composer": "^2.7", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^1.0", | ||
"drupal/coder": "^8.3", | ||
"ergebnis/composer-normalize": "^2.42", | ||
"phpcompatibility/php-compatibility": "^9.3", | ||
"phpstan/phpstan": "^2", | ||
"phpunit/phpunit": "^11.1", | ||
"rector/rector": "^2" | ||
}, | ||
"prefer-stable": true, | ||
"autoload": { | ||
"psr-4": { | ||
"AlexSkrypnyk\\Customizer\\": "" | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"ergebnis/composer-normalize": true | ||
}, | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"class": "AlexSkrypnyk\\Customizer\\Plugin", | ||
"customizer": true | ||
}, | ||
"scripts": { | ||
"lint": [ | ||
"phpcs", | ||
"phpstan", | ||
"rector --clear-cache --dry-run" | ||
], | ||
"lint-fix": [ | ||
"rector --clear-cache", | ||
"phpcbf" | ||
], | ||
"reset": "rm -Rf vendor vendor-bin composer.lock", | ||
"test": "phpunit --no-coverage", | ||
"test-coverage": "phpunit" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
tests/phpunit/Fixtures/install_no_base/post_install/composer.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...nit/Fixtures/install_no_base/post_install/tests/phpunit/Functional/CustomizerTestCase.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../../../tests/phpunit/Functional/CustomizerTestCase.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters