Thomas Flori
33d026bb06
fix code style to be PSR-2 conform
...
I tried to solve all PSR-2 style guide violations in files that I changed. One I could not solve: const can not concatenate in php 5.3.
8 years ago
Thomas Flori
597f834ae9
add getFileContent function
...
This function is very similar to a part from getComposerInformation - so we can use this function in getComposerInformation too. And because it is almost everywhere the same we can put it to abstract class.
By implementing getComposerInformation in abstract class we need to add the getChangeDate to interface too. Only Problem: perforce seems not to support a ChangeDate. For this we use 'now' to have at least something.
8 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
29312be4df
Strict typing fixes
9 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
10 years ago
Jordi Boggiano
91ac3e1426
Add support for unixy paths in git/hg local repo urls, closes #3294
10 years ago
Jordi Boggiano
effacc1185
Do not realpath relative local URLs, fixes #2916
10 years ago
Jordi Boggiano
b437c1cc05
Support github auth directly in the RemoteFilesystem class
11 years ago
Pádraic Brady
306ba77e93
Implement the RemoteFilesystem Factory everywhere...
...
- also fixes impacted test
11 years ago
Pascal Borreli
2f4df9d459
Fixed typos
11 years ago
Jordi Boggiano
11a0d16ccc
CS fixes
11 years ago
Jordi Boggiano
9a806658d6
Merge remote-tracking branch 'vuhl/master'
...
Conflicts:
src/Composer/Factory.php
11 years ago
Marc
30049637dc
Set some phpdoc to isLocalUrl
11 years ago
matt-whittom
dd81449998
Updated to remove vfsStreams (no longer needed by tests)
...
Updated Perforce to cleanup, modified VcsRepository to call cleanup on Driver class
Updated tests, perforce constructor to make tests cleaner/easier
11 years ago
Jordi Boggiano
bd345c3b43
Add IO to proc executor in a few more places to get more debug info out
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Justin Rovang
60e95aed76
Added realpath to VcsDriver constructor
...
See https://github.com/composer/composer/pull/1828
11 years ago
Igor Wiedler
4959c2bdc6
Replace references of a11n with a12n where appropriate
...
Authorization => Authentication.
12 years ago
Jordi Boggiano
39e69a3b12
Refactor OAuth acquisition code to generalize it
12 years ago
bboer
d1a452b00b
Made repoConfig available for the VcsDriver to be able to provide additional configuration options easily.
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Jordi Boggiano
7bfe031768
VcsDrivers now send proper originUrl for authentication
13 years ago
Jerome Tamarelle
949728f812
Remove redundant __contruct from VcsDriver implementations and move init code to initialize method
13 years ago
Jerome Tamarelle
017ebabcb5
Pass composer configuration to VcsDriver
13 years ago
Beau Simensen
38680998ed
Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback.
13 years ago
Beau Simensen
1e9cb6bac8
Use factory name instead of generator.
13 years ago
Beau Simensen
340ac49d87
Change `callback` to `callable`
13 years ago
Beau Simensen
6efbc7d531
Enhanced GitHub API/Private Repository support
13 years ago
Jordi Boggiano
3e22084ea4
Overhaul VcsDrivers, introduce TransportException for remote filesystem errors
13 years ago
Jordi Boggiano
32157a3904
Fix local git repo handling in GitDriver
13 years ago
François Pluchino
953f0992f7
Merge callback method of FileDownloader and VcsDriver
...
Required corrections added
13 years ago
François Pluchino
f5d90e1340
Download Dist Package when the info is defined in root composer file
13 years ago
François Pluchino
a0afb88d5d
Fix bug on authorization of file download for the private repositories
13 years ago
Jordi Boggiano
e218b811e0
Convert static Process into an executor that can be injected
13 years ago
Jordi Boggiano
434c9ecdeb
Cleanups of IOInterface
13 years ago
François Pluchino
03f5eee3fa
Fix some improvements
13 years ago
François Pluchino
541285022d
Replace CURL with copy() and file_get_contents()
13 years ago
François Pluchino
a5fb4abb36
Fix some improvements
13 years ago
François Pluchino
7888ec5313
Add Authentification in FileDownloader
13 years ago
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
13 years ago
François Pluchino
9af46ad800
Add Helper Wrapper
13 years ago
François Pluchino
86070a8b6e
Replace getHttpSupport() to getScheme()
13 years ago
François Pluchino
013d145bcd
Add InputInterface and OutputInterface
13 years ago
François Pluchino
fa793649fa
Add a VcsDriver abstract class.
...
All XxxDriver extends this abstract class now.
13 years ago