1
0
Fork 0
Commit Graph

7218 Commits (7d5d884669a4e1502f7deb028bffdf619e2519ac)

Author SHA1 Message Date
copitz cc932e5bda Add documentation for providers option
With composer/satis#295 an option for dumping provider includes was added which is missing here in the docs
2016-11-18 11:48:26 +01:00
Jordi Boggiano 30e8845b1e Add security email for sensitive reports 2016-11-17 14:40:36 +01:00
Thomas Flori 7896b1ffab cache only rendered composer information
As suggested we cache now only composer information and also the rendered version again. Perforce is using the same property cache as others and the `Util\Perforce::getComposerInformation()` is using the newly created methods.
2016-11-15 07:52:17 +01:00
Thomas Flori ec27777341 code improvements as suggested
Thanks for your input!
2016-11-12 11:10:13 +01:00
Thomas Flori d70dfd2df3 revert style changes 2016-11-12 10:48:19 +01:00
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.
2016-11-12 09:33:05 +01:00
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.
2016-11-11 09:06:03 +01:00
Mark Ingman a330d27b10 Code formatting
Updating variable name and whitespace formats inline with the project’s
standards
2016-11-06 21:32:46 +00:00
Mark Ingman 0a3145821f Merge remote-tracking branch 'composer/master' 2016-11-06 21:01:07 +00:00
Jordi Boggiano 8ad6385ffb Merge remote-tracking branch 'fabpot/more-debug' 2016-11-06 18:18:52 +01:00
Jordi Boggiano f3af3da16f Add more comments in ConsoleIO, closes #5836 2016-11-06 18:16:45 +01:00
Jordi Boggiano 43903a3979 Merge branch '1.2' 2016-11-06 17:38:53 +01:00
Jordi Boggiano 98a599d6c3 Merge pull request #5843 from stof/enforce_map_types
Enhance the json schema with validation for map objects
2016-11-06 17:02:38 +01:00
Jordi Boggiano 027de2960b Merge pull request #5794 from andrewjt71/issue-5769
Issue 5769 dev mode varaible
2016-11-06 16:58:41 +01:00
Jordi Boggiano 9801d831ed Merge pull request #5852 from fabpot/io-fix
Remove usage of echo when executing Composer script
2016-11-06 16:49:08 +01:00
Jordi Boggiano adfdb888f0 Merge pull request #5851 from szepeviktor/patch-1
Make download shell script PSR-2 compatible
2016-11-06 16:47:47 +01:00
Jordi Boggiano d6499b7c4a Merge pull request #5748 from kassner/hgdriver-bitbucket
HgDriver does not identify bitbucket mercurial repos correctly
2016-11-06 12:36:13 +01:00
Fabien Potencier 103624d4ed Remove usage of echo when executing Composer script 2016-11-05 22:10:39 -07:00
Viktor Szépe d0918b0594 Make download shell script PSR-2 compatible
Avoid `else`
2016-11-04 23:25:21 +01:00
Mark Ingman 98d2fcb4d8 Fixing local file VCS URLs with encoded characters
realpath() returns FALSE for paths with URL encoding like %20, and
decoded path needs file:/// reapplied.
2016-11-03 21:38:14 +00:00
Mark Ingman 98ba6d8bf4 Fixing empty VCS URL for file:/// paths with spaces
realpath() returns FALSE for fFile paths with URL encoding like %20 for
spaces.
2016-11-03 17:37:14 +00:00
Jordi Boggiano 4dd2e633fd Update changelog 2016-11-03 17:42:32 +01:00
Jordi Boggiano cd5fdf246e Merge branch '1.2' 2016-11-03 15:16:58 +01:00
Jordi Boggiano 0ffa1db489 Update changelog for 1.2.2 2016-11-03 15:16:48 +01:00
Christophe Coevoet 1882f9a502 Enhance the json schema with validation for map objects 2016-11-03 13:19:20 +01:00
Jordi Boggiano 208086d8e3 Merge remote-tracking branch 'channelgrabber/GitSpeedIncrease' 2016-11-03 12:08:28 +01:00
Jordi Boggiano a1e81c38f9 Merge branch '1.2' 2016-11-03 12:05:14 +01:00
Jordi Boggiano f320c67534 Avoid choking on non-string constraints, fixes #5807 2016-11-03 12:05:07 +01:00
Jordi Boggiano adee0ff132 Fix tests 2016-11-03 11:30:35 +01:00
Jordi Boggiano eb40287691 Bump symfony deps to 2.7 and update all deps, closes #5840, closes #5831 2016-11-03 11:18:22 +01:00
Jordi Boggiano 66bb195233 Add zlib warning to diagnose command 2016-11-03 11:09:37 +01:00
Jordi Boggiano 9c8617cd33 Merge branch '1.2' 2016-11-03 11:05:42 +01:00
Jordi Boggiano 0f455be01c Add CI flag in UA header 2016-11-03 11:00:40 +01:00
Jordi Boggiano e38ebefc7e Update packagist default repo to be packagist.org 2016-11-03 11:00:40 +01:00
Jordi Boggiano f7475c6ff6 Merge pull request #5830 from fabpot/logic-refactoring
Refactor some common logic in Command classes
2016-11-03 10:58:19 +01:00
Jordi Boggiano 9cf93b0c88 Merge pull request #5824 from fabpot/small-refacto
Code simplification
2016-11-03 01:01:45 +01:00
Jordi Boggiano e32c09e13a Merge pull request #5829 from fabpot/post-dependencies-solving-bug
Fix POST_DEPENDENCIES_SOLVING trigger
2016-11-02 22:57:25 +01:00
Rob 8c71e52d9d Merge pull request #5832 from curry684/issue-5823
Clarify documentation that commit refs are unsupported
2016-10-31 16:33:12 +01:00
Niels Keurentjes f99a33bfc7 Clarify documentation that commit refs are unsupported
Following the discussion in #5823 it has become clear that this feature is supplied at-your-own-risk, this should be more explicitly reflected in its documentation.
2016-10-31 16:26:37 +01:00
Jordi Boggiano cf48bfccb4 Merge pull request #5827 from fabpot/deprecated-usages
fixed deprecated class usages
2016-10-31 15:24:24 +01:00
Fabien Potencier 07cbb73184 fixed deprecated class usages 2016-10-31 06:57:17 -07:00
Fabien Potencier 5d742fd38b Fix POST_DEPENDENCIES_SOLVING trigger 2016-10-31 06:54:38 -07:00
Fabien Potencier 69740bbbee Refactor some common logic in Command classes 2016-10-30 14:50:44 -07:00
Fabien Potencier 57ec0d1815 added more information in the output 2016-10-29 11:37:23 -07:00
Fabien Potencier b823242ae3 Code simplification 2016-10-28 12:21:32 -07:00
Jordi Boggiano d4547fba06 Merge pull request #5804 from msiebeneicher/bugfix/fix_rename_usage_in_archive_manager_for_v1_2
fixed direct rename() usage for v1.2
2016-10-27 10:14:20 +02:00
Jordi Boggiano 15d8b7a84d Merge pull request #5813 from curry684/issue-5808
Fix crash when listing root package without versions
2016-10-27 08:53:22 +02:00
Niels Keurentjes 6de7feeb86 Fix crash when listing root package without versions
When using certain parameters together in 'composer show', specifically '-s --outdated', the root package itself is inspected for its latest version. If the git repository it belongs to does not have any tags yet this would return FALSE, while the next call to printMeta requires a PackageInterface or NULL, causing a crash.

Refs #5808
2016-10-25 09:54:03 +02:00
Rob 8cf9733001 Merge pull request #5810 from hason/doc
Fix class in DocBlock
2016-10-24 13:10:31 +02:00
Martin Hasoň 2b67a9044e Fix class in DocBlock 2016-10-24 12:31:27 +02:00