Denis Sokolov
836534067b
Avoid ambiguity warning for example directories as well
...
In particular, PEAR repositories use a classmap and example directories trigger
multiple false positive warnings.
2014-04-10 21:03:35 +09:00
Denis Sokolov
65b9cca7b5
Fix ClassMapGenerator unambiguousReference test coverage
...
Without this fix the test only covers having files in "test", the "fixture"
portion it is not covered at all, because all fixtures in phpunit tests
are already in "test" directory
2014-04-10 21:03:26 +09:00
Jordi Boggiano
e7b82cdd88
Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320
2014-04-09 15:37:50 +02:00
Jordi Boggiano
e0004d0656
Merge remote-tracking branch 'stof/validate_unbound_constraints'
2014-04-09 14:51:14 +02:00
Jordi Boggiano
d99212da52
Fix integration tests
2014-04-07 11:10:57 +02:00
Jordi Boggiano
0902305196
Fix classmap generator warnings and tests
2014-04-01 14:38:31 +02:00
Jordi Boggiano
8974a1ac92
Ignore ambiguous classes in tests/fixtures dirs, fixes #2858
2014-03-31 21:36:48 +02:00
Daniel Karp
e3be04c443
Don't show Ambiguous class resolution warning if class when not ambiguous
...
if a class or interface is defined twice in the same class, this should not produce a warning
2014-03-30 12:53:15 -04:00
Jordi Boggiano
7daf876d70
Fix test because the order of filesystem iteration is non deterministic
2014-03-29 18:10:32 +01:00
Jordi Boggiano
781c97fa9b
Refactor to avoid global static state
2014-03-29 17:46:55 +01:00
Jordi Boggiano
c3ab09750d
Merge remote-tracking branch 'johnikx/ambiguous-reference-warning'
2014-03-29 17:29:55 +01:00
Jordi Boggiano
f233383de8
Merge pull request #2834 from vuhl/master
...
Fixing perforce driver/downloader bugs
2014-03-26 18:28:52 +01:00
Clark Stuth
a12c4e2a17
Removed getWindowsFlag and setWindowsFlag methods from Perforce object.
2014-03-25 08:30:44 -05:00
Clark Stuth
dd1fd0e306
fixed perforce to reference labels instead of invalid tags
2014-03-24 15:19:35 -05:00
Jan Brecka
b94838169d
show warning only instead of throwing exception
2014-03-24 14:34:02 +01:00
Jan Brecka
de09c5e371
remove duplicity
2014-03-24 10:35:44 +01:00
Jan Brecka
5763685e69
use statement
2014-03-24 10:30:50 +01:00
Jordi Boggiano
808e65f7de
Merge pull request #2769 from sndpl/issue/2739
...
Fix for #2739 (and #1755 ), added support for directory excludes in the gitignore file
2014-03-23 22:01:39 +01:00
Clark Stuth
2651cbc5fe
Fixing perforce dev-master stored reference bug.
2014-03-21 13:51:18 -05:00
Clark Stuth
8fc1961463
Fixing delete client workspace bug.
2014-03-21 13:51:18 -05:00
Clark Stuth
c11105dd60
Fixing bug not cleaning up workspaces.
2014-03-21 13:51:18 -05:00
Clark Stuth
492539101c
got all unit tests passing
2014-03-21 13:51:18 -05:00
Clark Stuth
24dd42267f
almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods
2014-03-21 13:51:18 -05:00
Clark Stuth
0f7b078d6c
added new dependency to Perforce object, updating some tests.
2014-03-21 13:51:18 -05:00
Jan Brecka
ea7717c8e5
improve exception message
2014-03-20 14:24:42 +01:00
Jan Brecka
13b57112a9
Throw RuntimeException when ambiguous reference was found.
2014-03-20 13:37:05 +01:00
Christian Flothmann
2241328934
fix "replace-alias.test" test
2014-03-12 16:35:04 +01:00
Christophe Coevoet
b639005f29
Added a failing test for #2626
2014-03-12 15:10:25 +01:00
Jordi Boggiano
604a65cc31
Fix indenting, refs #2788
2014-03-06 10:26:16 +01:00
Sylvain Filteau
92e283973f
Skip test requiring mbstring when it's not installed
2014-03-05 20:30:09 -05:00
Jordi Boggiano
790a25c348
Adjust dump command, add another test, update docs, refs #1344
2014-03-01 21:21:00 +01:00
Jordi Boggiano
023ff131aa
Merge remote-tracking branch 'bamarni/autoload-dev'
2014-03-01 20:28:31 +01:00
Jordi Boggiano
1f2d8908f3
Merge remote-tracking branch 'olvlvl/fix_issue_2598'
2014-03-01 19:56:33 +01:00
Sandy Pleyte
3e161e8ea9
Updated the regexp and added an other test case for sub dirs
2014-02-28 16:30:55 +01:00
Sandy Pleyte
1d51e54a31
Updated the regexp and added more test cases.
2014-02-28 11:43:28 +01:00
Bilal Amarni
db91454a13
added an autoload-dev section
2014-02-28 00:27:03 +01:00
Sandy Pleyte
21109ada22
Fix for #2739 (and #1755 ), added support for directory excludes in the .gitignore file like /directory or directory/
2014-02-27 15:17:15 +01:00
Jordi Boggiano
0d4c2bb7d7
Fix github test
2014-02-26 17:38:58 +01:00
Jordi Boggiano
5067d76dbc
Adjust test suite
2014-02-26 16:01:31 +01:00
Nils Adermann
1ccf4b0fc3
Correct the tests for dist urls for github
2014-02-24 19:51:03 +01:00
Nils Adermann
5ed18d9aa2
Fail over from source to dist and vice versa when downloads fail
...
Any RuntimeException descendent will be caught and cause another
download attempt using either source or dist depending on what was
attempted first.
2014-02-24 18:40:33 +01:00
Nils Adermann
33e872d7d3
Merge pull request #2733 from naderman/limit-replace-provide
...
Whitelist packages with names matching those specified before generating rules
2014-02-21 13:46:50 +01:00
Nils Adermann
5b80144ad0
Resolve job packages after whitelist generation
2014-02-21 13:41:21 +01:00
Nils Adermann
ec12b8a675
Add tests for the changes in #2690
2014-02-21 13:15:07 +01:00
Nils Adermann
3148ffd355
Whitelist packages with names matching those specified before generating rules
...
Addresses #2690 doesn't do any performance optimisations yet which we
could do now
2014-02-21 12:25:15 +01:00
Jordi Boggiano
eb3384445b
Merge pull request #2188 from Danack/GetRootComposerJson
...
Find root composer.json in zip artifact more reliably.
2014-02-21 11:33:01 +01:00
Danack
e4d4a7ae17
Added comment for generating files.
2014-02-21 09:49:12 +00:00
Danack
24aba5b51f
Moved file back to correct location. (+1 squashed commit)
...
Squashed commits:
[eec32aa] Updated detection to only allow composer.josn in root or first level dir.
2014-02-21 09:46:12 +00:00
Olivier Laviale
40e484ed38
Fixed an issue that would lead to scattered autoloading files
2014-02-20 23:18:48 +01:00
Danack
bc76e0014b
Moved tests that are expected to work into their own directory.
...
Added test for composer.json in incorrect directory.
2014-02-20 17:30:51 +00:00