Gabriel Caruso
b4fc3b7eef
Make usage of foreach to improve readability
...
Instead of count and comparing, we can simple use a foreach.
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
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Jad Bitar
8625efd551
Fix support for testing exit code
...
The `$sectionData` was being overwritten, causing its assertion
(`$this->assertSame()`) to fail.
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
414cf70008
Fix phar build test
9 years ago
Jordi Boggiano
b80038804f
Fix env override regression, fixes #3820
10 years ago
Rob Bast
85955d82a6
Raise timeout to 5 minutes
10 years ago
Jordi Boggiano
fc3c7838b2
CS fixes
10 years ago
Christophe Coevoet
ea44412476
Skip the phar building on HHVM
...
Building a phar does not work on HHVM. It looks like it tries to read the phar file which does not exist yet.
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago
Jordi Boggiano
1dd8bffce5
CS fixes
11 years ago
Nils Adermann
4af69c85ca
Fix tests by passing proper working directory to processes
12 years ago
Jordi Boggiano
cfc8bf0730
Make phar build fails more debuggable
12 years ago
Jordi Boggiano
5f3814bd05
Add test building phar and run functional tests with the phar, refs #1155
12 years ago
Jordi Boggiano
62d0ea7656
Circumvent cache in functional tests
12 years ago
Jordi Boggiano
487e66d0a9
Allow loading of multiple composer autoloaders concurrently, fixes #1248
12 years ago
Jordi Boggiano
6d38709fe8
Fix create project test
12 years ago
Jordi Boggiano
5b419c76ca
Fix tests
12 years ago