133 Commits (d98b134dc3ef7d5bd4b6e37c9621a811f8f1599d)

Author SHA1 Message Date
Jeroen Seegers 279b5f0156 Drop irrelevant properties from composer_commit-ref.json 9 years ago
Jeroen Seegers f3dc31839f Refactor commit-ref validation
The require and require-dev arrays have been merged into one and no
longer user private methods/properties to collect warnings.
9 years ago
Jeroen Seegers 476c6f279b Add fixture for composer.json with commit-ref 9 years ago
Jeroen Seegers 73e73c90fb Generate a warning when a commit reference is used
Closes #4485
9 years ago
Rob Bast b523fc0b7b ran fixers 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano 06feb19b2c Merge pull request #4169 from remicollet/patch-1
Set this test as slow
9 years ago
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Rob Bast 4019f7bb44 Revert "apply a regex solution instead of tokenizer"
This reverts commit 33a7305e22c8d4e2ce38586855fd3d4b7b2af3dd.
9 years ago
Rob Bast b5d286e27b apply a regex solution instead of tokenizer 9 years ago
Rob Bast e4118385a0 updated spdx related files 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Remi Collet c350bceeea Set this test as slow 9 years ago
gmsantosxl 84c9c30b63 Remove extra '/' when findShortestPath $from is a directory 9 years ago
Jordi Boggiano 52d290f5f2 trim token just in case and update tests 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Adrian Dragus 7834dacb88 Forgot to remove the actual calls 9 years ago
Adrian Dragus 96ff1c5014 Use PHPUnit pre-conditions
See https://phpunit.de/manual/current/en/incomplete-and-skipped-tests.html#incomplete-and-skipped-tests.requires.tables.api
9 years ago
Jordi Boggiano 46924cf5f5 Merge pull request #3854 from hakre/fix/symlink-missing
Prevent fatal error on missing symlink() function in tests
9 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
9 years ago
hakre 03b634d114 Prevent fatal error on missing symlink() function in tests
The testsuite didn't run through for me because the php symlink() function
was missing.

It is only available on Windows Visa/Server 2008 or higher.

This commit fixes the issue by checking if the method exists, and if not,
marks the test as skipped because of a non-matching precondition.
9 years ago
Rob Bast 3d329622d7 overwrite -> overwriteError 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 0b4a9235f4 CS fixes 9 years ago
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
10 years ago
Jordi Boggiano da881c118b Fix failures 10 years ago
Jordi Boggiano 8dad846613 Add SNI settings for SSL URLs that are proxied, fixes #3204 10 years ago
Jordi Boggiano 7b13507dd4 Fix typo in test 10 years ago
Jordi Boggiano 4a6503fe36 Add suppor for https_proxy, fixes #3204 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 6e4a21d700 Merge remote-tracking branch 'hakre/patch-2' 10 years ago
Jordi Boggiano 923191a489 Merge remote-tracking branch 'hakre/patch-1' 10 years ago
Bastian Hofmann 204fc207fa Moved config option to not save subversion credentials to repository configuration, added documentation. 10 years ago
Bastian Hofmann 0d0ed59e5c Codestyle fix 10 years ago
Bastian Hofmann b132e4eae0 Added cacheCredentials config flag for saved SVN credentials to control the --no-auth-cache flag
Example config:

{
    "http-basic": {
        "svn.example.com": {
            "username": "user",
            "password": "password",
            "cacheCredentials": false
        }
    }
}
10 years ago
hakre 343d0b5af2 added test removing directory with trailing slash that is symlinked
#3144
#3157
10 years ago
hakre ed507dec9f added test unlinking directory
#3157
10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano 08e34858d6 Fix code to use hostname only, refs #3026 10 years ago
Benjamin Grandfond a21b0f82db Allow SVN to connect with credentials provided with the auth.json file 10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Clark Stuth a12c4e2a17 Removed getWindowsFlag and setWindowsFlag methods from Perforce object. 10 years ago
Clark Stuth 2651cbc5fe Fixing perforce dev-master stored reference bug. 10 years ago
Clark Stuth 8fc1961463 Fixing delete client workspace bug. 10 years ago
Clark Stuth c11105dd60 Fixing bug not cleaning up workspaces. 10 years ago
Clark Stuth 24dd42267f almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods 10 years ago
Clark Stuth 0f7b078d6c added new dependency to Perforce object, updating some tests. 10 years ago
Jordi Boggiano 5067d76dbc Adjust test suite 10 years ago
ptarjan 09c0d971d3 don't require the error message have the first line of HTTP output in it 11 years ago
Jordi Boggiano e2671b6510 Add test and fix patch for #2304, refs #2341 11 years ago