31 Commits (b85e0eebc115688653d3739aa4928c1ddfc45311)

Author SHA1 Message Date
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Alexander M. Turek 36da81bec2
Remove obsolete Symfony feature detections (#10425) 3 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 3 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 3 years ago
Jordi Boggiano 126f95a8d7
Get rid of gitignore/hgignore handling (fixes #7358), Add support for -export-ignore (fixes #9153) 3 years ago
Martin Herndl bcbd8fdb61
Add types to `Package` tests (#10245) 3 years ago
Jordi Boggiano c3c6969cf5
Type annotations 3 years ago
Jordi Boggiano 21ab2f85bb
Fix 7.4 build 4 years ago
Jordi Boggiano 169fb2347a
Avoid issues with git signatures when running tests 5 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
jbixler dac51c7f4b Add ignore filters option to archive command 8 years ago
AnrDaemon ab70601700 Skip git-related tests if no git found. 8 years ago
Rob Bast adf3b956d0 try to use unique test directories
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Rob Bast e698636af4 added test to reproduce #4183 9 years ago
David Prévot e5ede671d2 Config Git repository user
One can’t assume a Git user is already setup for the tests.
10 years ago
Sandy Pleyte 3e161e8ea9 Updated the regexp and added an other test case for sub dirs 11 years ago
Sandy Pleyte 1d51e54a31 Updated the regexp and added more test cases. 11 years ago
Sandy Pleyte 21109ada22 Fix for #2739 (and #1755), added support for directory excludes in the .gitignore file like /directory or directory/ 11 years ago
Jordi Boggiano 3aa7843146 Use ExecutableFinder instead of relying on exit codes, refs #1829 11 years ago
Rob Loach 692c63cdd2 Fix for tests when Mercurial or git are not available 11 years ago
Nils Adermann 57c34033ff Merge pull request #1754 from njam/issue-1754
Fix file pattern start matching if no slash
11 years ago
Jordi Boggiano fc54a48b52 Fix archiver tests on windows 11 years ago
Reto Kaiser 6f72e9570c Add a / to the beginning of a file matchin pattern if no / in rule.
See https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
11 years ago
Reto Kaiser 918a55659e Call realpath() on result of sys_get_temp_dir()
On OSX the temp dir is within /var, which is a symlink to /private/var.
If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().
11 years ago
Nils Adermann 6066359944 Skip directories in zip generation, empty dirs won't get archived
This seems ok as we currently rely on git generating archives which does
not archive empty directories either.
11 years ago
Nils Adermann deae50392f Respect gitignore, gitattributes and hgignore files in archiving 11 years ago