1
0
Fork 0
Commit Graph

7529 Commits (a6d0ecd13f4974bd4c1c5cb48a243347d1022986)

Author SHA1 Message Date
Rob Bast 7d67da3ffa
guard against non array value 2016-11-21 10:45:26 +01:00
Rob Bast 611d6a0364
use array as default value
rather than assigning empty array in constructor. the latter can cause
issues with mocks in some scenarios (if constructor does not get called)
2016-11-21 10:00:05 +01:00
Jordi Boggiano 0762aa1e2c Merge pull request #5887 from sectus/windows_remote_paths
windows remote path treats as remote now
2016-11-21 09:40:38 +01:00
Sergey Beresnev 2717e115c8 windows remote path treats as remote now 2016-11-21 15:41:15 +08:00
Rob 75f8954e2c Merge pull request #5886 from alcohol/fix-5884
mardown issue + move urls to footnotes
2016-11-21 08:19:14 +01:00
Rob Bast 4abb02dbe8
fix #5884 - mardown issues + move urls to footnotes 2016-11-21 08:19:10 +01:00
johnstevenson 379fb70ad9 Use random name for tmp ini and delete after use
Thanks to Patrick Rose for reporting this issue.
2016-11-20 10:59:05 +00:00
Jordi Boggiano de9f333ec6 Merge pull request #5846 from markingman/master
Fixing local file VCS URLs with encoded characters
2016-11-18 19:45:28 +01:00
Jordi Boggiano b2e1d4cb9d Merge remote-tracking branch 'tflori/feature-getFileContent' 2016-11-18 19:37:33 +01:00
Rob fd5fca615d Merge pull request #5876 from copitz/patch-1
Add documentation for providers option
2016-11-18 14:33:33 +01:00
Rob Bast 96540d4139
apply proper word wrapping 2016-11-18 14:33:42 +01:00
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