1
0
Fork 0
Commit Graph

5574 Commits (6582c337d0a56fb1bd62f9325d67c2b8a52eda4d)

Author SHA1 Message Date
nevvermind 00da5945ec Update docs 2015-06-02 19:09:57 +01:00
nevvermind 3032f0a538 Refactor based on code review
- Move the version api getter to the PluginManager And make it such that it can be mocked, but not pollute the public interface. That means "protected" visibility.
- The plugin api version constant should still be used throughout the code.
- Use different fixtures class names
- Use regex possessive quantifiers for performance
- Use full words for readability
2015-06-02 17:40:32 +01:00
Jordi Boggiano 65dd1f7137 Update 00-intro.md 2015-06-02 14:47:52 +01:00
Jordi Boggiano ba8114dd49 Merge pull request #3258 from FraGoTe/master
Windows Installation Details this closes #3186
2015-06-02 14:47:13 +01:00
Jordi Boggiano 22369266e4 Merge pull request #4097 from alcohol/allow-unicode-keywords
Allow unicode keywords, fixes #4087
2015-06-02 14:19:31 +01:00
Rob Bast 0f04f97088 Fixed failing testcase 2015-06-02 15:15:30 +02:00
nevvermind eb2aa14830 Make plugins have actual constraints instead of fixed versions
Instead of developing plugins against a single, fixed Plugin API version - `"composer-plugin-api": "1.0.0"`, this change will allow plugin developers to use versions like `"composer-plugin-api": "~1.1"` or `"composer-plugin-api": ">=2.1 <3.0"`, aka actual Composer-compatible constraints.

Only the "1.0", "1.0.0" and "1.0.0" Plugin API versions will be regarded as BC versions, and internally converted to "^1.0"; every other declared version string will be kept as it is.

Because of this new constraint flexibility, plugin version mismatches will be skipped, which means those plugin will NOT be registered to the system. Previously, a mismatch triggered a warning, but plugins were still registered.
2015-06-02 14:10:09 +01:00
Rob Bast 89885140d3 Created a failing test case 2015-06-02 15:04:58 +02:00
Jordi Boggiano d4dbeeacc4 Merge pull request #4096 from alcohol/fix-hyphen-range-constraint
Fix hyphen range constraint
2015-06-02 13:23:11 +01:00
Rob Bast 46e0a506b9 Added another testcase + fix 2015-06-02 14:20:48 +02:00
Rob Bast a0ca1d4d96 Consider 0 as part of a version 2015-06-02 14:14:29 +02:00
Rob Bast a256f3dfca Added one failing testcase and one successful
Demonstrates that it handles x.y.z properly as long as z !== 0
2015-06-02 14:03:45 +02:00
nevvermind 8c0d4857ef Fix "Invalid argument supplied for foreach()" on a new PlaformRepository obj
This happens on "new PlatformRepository(array($somePackage))".
The parent constructor calls "\Composer\Repository\ArrayRepository::addPackage()",
which, on a brand new repo object, further calls "\Composer\Repository\PlatformRepository::initialize()"
and finally this iterates over a NULLd "$this->overrides", triggering the error.
2015-05-31 15:44:12 +01:00
Jordi Boggiano 0ec86be5e9 Merge remote-tracking branch 'origin/master' 2015-05-31 12:54:08 +01:00
Jordi Boggiano 0081964428 Merge remote-tracking branch 'colinodell/fix-tag-ambiguity'
Conflicts:
	src/Composer/Downloader/GitDownloader.php
	tests/Composer/Test/Downloader/GitDownloaderTest.php
2015-05-31 12:52:27 +01:00
Jordi Boggiano ce0f617ee1 Merge pull request #4083 from nevvermind/php-dox
Added phpdocs + change to yoda comparison
2015-05-31 12:45:02 +01:00
Jordi Boggiano 1753c275ff Handle deprecation notices softer 2015-05-31 12:26:57 +01:00
nevvermind 8e79a3766d Added phpdocs + change to yoda comparison 2015-05-30 01:38:14 +01:00
Jordi Boggiano e64470c987 Merge pull request #4071 from nevvermind/patch-2
Update 02-libraries.md
2015-05-28 15:52:12 +01:00
Jordi Boggiano b181822e90 Fix case where touch() fails due to incorrect ownership, fixes #4070 2015-05-28 15:26:56 +01:00
Jordi Boggiano fbc0fa9688 Fix line endings 2015-05-28 14:54:42 +01:00
Jordi Boggiano 27aac31970 Fix tests for autocrlf=true checkouts, fixes #4049 2015-05-28 14:43:52 +01:00
Jordi Boggiano ac17e4a32f Merge pull request #4077 from alcohol/force-lf-eol-for-functional-test-fixtures
force eol LF style, php diff, and some whitespace flags
2015-05-28 14:20:53 +01:00
Rob Bast 899d9e5134 enable blank-at-eof check 2015-05-28 15:20:26 +02:00
Rob Bast 0c288ed39b composer doesn't use tabs 2015-05-28 14:38:07 +02:00
Rob Bast bd476ca201 added/disabled whitespace error flags 2015-05-28 14:36:38 +02:00
Jordi Boggiano 8cae147572 Merge pull request #4076 from alcohol/force-lf-eol-for-functional-test-fixtures
apply .gitattributes much more widely
2015-05-28 13:30:23 +01:00
Rob Bast bbef618d08 apply .gitattributes much more widely 2015-05-28 14:18:36 +02:00
Jordi Boggiano d286143d72 Merge pull request #4074 from alcohol/force-lf-eol-for-functional-test-fixtures
Make sure the .test files always have LF eol in the working directory
2015-05-28 12:53:53 +01:00
Jordi Boggiano eef1294123 Merge pull request #4075 from alcohol/add-docs-to-support-in-schema
Add docs to composer schema in support section - closes #4055
2015-05-28 12:17:36 +01:00
Rob Bast 782cce376a make sure the .test files always have LF eol in the working directory, fixes #4049 2015-05-28 13:17:27 +02:00
Rob Bast 95dbb6d9db add docs to support section in composer schema, closes #4055
Note that this does not yet add this attribute @ packagist though
2015-05-28 13:15:56 +02:00
nevvermind baf6ba06be Update 02-libraries.md
Small copy text fix.
2015-05-27 20:02:06 +01:00
Jordi Boggiano 69210d5bc1 Move deprecation notice where it belongs, closes #4065 2015-05-25 14:29:26 +01:00
Jordi Boggiano eea42c4df7 Merge pull request #4064 from Maks3w/patch-1
[travis-ci] Enable PHPUnit color output
2015-05-25 11:30:12 +01:00
Jordi Boggiano 98b339e87a Make --keep-vcs imply --prefer-source, closes #4063 2015-05-25 11:28:07 +01:00
Maks3w bc08940724 [travis-ci] Enable PHPUnit color output 2015-05-25 10:31:23 +02:00
coderstephen 8534d881f9 Fix non-feature-branches schema example not syntax highlighted 2015-05-24 16:02:58 -05:00
Jordi Boggiano bc45d91855 Merge pull request #4019 from reiz/master
Adding dependency badge and reference badge
2015-05-11 15:49:39 +01:00
Robert Reiz 26d869f77d Adding dependency badge and reference badge
All dependencies are up-to-date and ~400 other packages are referencing composer. Keep up the good work.
2015-05-11 13:32:10 +02:00
Jordi Boggiano 4eb8ecff9c Merge pull request #4018 from olavmrk/fix-link-to-installerinterface
Fix link to Composer\Installer\InstallerInterface.
2015-05-10 20:56:28 +01:00
Olav Morken b0a7c2612d Fix link to Composer\Installer\InstallerInterface.
The link was pointing to Composer\Plugin\PluginInterface since
commit 98e5eab. Fix the link by updating the reference from
`[3]` to `[4]`.
2015-05-10 20:34:05 +02:00
Jordi Boggiano c8c452de13 Add code of conduct to contrib docs as well 2015-05-10 15:20:27 +01:00
Jordi Boggiano 1c190cb181 Update readme 2015-05-10 15:17:42 +01:00
Jordi Boggiano 723babbb15 Merge pull request #4012 from hhamon/fix-licence-references
[Pear] replaces "licence" to "license".
2015-05-09 18:18:12 +01:00
Hugo Hamon e51ff60f59 [Pear] replaces "licence" to "license". 2015-05-08 06:42:59 -04:00
Jordi Boggiano 4d5d524704 Clear stat cache after a git failure as it might have modified the filesystem 2015-05-07 16:28:18 +01:00
Jordi Boggiano 9df08ec82f Merge pull request #4010 from joshdifabio/patch-1
Add GitHub compare links to CHANGELOG.md
2015-05-07 10:57:08 +01:00
Josh Di Fabio e753d174fd Correct format of alpha1 heading in CHANGELOG.md 2015-05-07 09:23:03 +01:00
Josh Di Fabio ae261c04e9 Fix dates in CHANGELOG.md 2015-05-07 09:08:27 +01:00