5170 Commits (a6d23dcec8b47a8703d395bd908c0c64993de531)
 

Author SHA1 Message Date
Jordi Boggiano a6d23dcec8 Update deps 9 years ago
Jordi Boggiano 4f80e7ff68 Merge pull request #4122 from nevvermind/revert-plugin-constraints
Revert the plugin versions converting from "1.0.0" to "^1.0" feature
9 years ago
nevvermind 12c833864c Revert converting `1.0.0` to `^1.0`. 9 years ago
Jordi Boggiano 9fb2d4f2d6 Merge pull request #4113 from alcohol/reword-contributing
Typo
9 years ago
Rob Bast b081f583e8 Typo 9 years ago
Jordi Boggiano 92e01130b1 Merge pull request #4112 from alcohol/reword-contributing
added some info on reporting issues and some rewording
9 years ago
Rob Bast 7f2f393aea added some info on reporting issues and some rewording 9 years ago
Jordi Boggiano 7351136205 Merge pull request #4105 from gmsantosxl/master
Remove extra '/' when findShortestPath $from is a directory
9 years ago
Jordi Boggiano d3d3bb4698 Merge pull request #4111 from alcohol/disable-path-when-composer-unavailable
disable path if no composer available, fixes #4101
9 years ago
Rob Bast dfbee6a532 cleaner solution 9 years ago
Rob Bast 7a50225389 disable path if no composer available, fixes #4101
gracefully remove the option and continue, after informing the user
9 years ago
gmsantosxl a060c536bb Remove extra '/' when findShortestPath $from ends with '/' 9 years ago
gmsantosxl 84c9c30b63 Remove extra '/' when findShortestPath $from is a directory 9 years ago
Jordi Boggiano 8c81ec0d0e Merge pull request #4103 from nevvermind/patch-1
Change doc wording
9 years ago
nevvermind 5ba1dd67c0 Change wording 9 years ago
Jordi Boggiano cdcc99e73d Merge pull request #4088 from nevvermind/override_init_array
Fix "Invalid argument supplied for foreach()" on a new PlaformRepository obj
9 years ago
Jordi Boggiano 17c2a8019e Merge pull request #4089 from nevvermind/plugin-api-versions
Make plugins have actual constraints instead of fixed versions
9 years ago
Jordi Boggiano c16ee53935 Merge pull request #4100 from alcohol/load-xml-as-string
load xml as string from local file, fixes #3942
9 years ago
Rob Bast d59115d7fa make unit tests assume a disabled entity loader 9 years ago
Rob Bast b957d1c4a6 load xml as string from local file, fixes #3942
If the entity loader is disabled on a system, loading files, even from
the local file system, is considered as external to the running php
process, and thus not allowed by the libxml extension. Reading the file
contents and loading the xml as a string is a valid alternative however.
9 years ago
nevvermind ec00a4dbfa Set the platform overrides first 9 years ago
nevvermind a747b293b3 Merge remote-tracking branch 'upstream/master' into override_init_array 9 years ago
nevvermind 4fd9a3ceee compare against correct format 9 years ago
nevvermind 994b1324bc fix alignment 9 years ago
nevvermind 00da5945ec Update docs 9 years ago
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
9 years ago
Jordi Boggiano 65dd1f7137 Update 00-intro.md 9 years ago
Jordi Boggiano ba8114dd49 Merge pull request #3258 from FraGoTe/master
Windows Installation Details this closes #3186
9 years ago
Jordi Boggiano 22369266e4 Merge pull request #4097 from alcohol/allow-unicode-keywords
Allow unicode keywords, fixes #4087
9 years ago
Rob Bast 0f04f97088 Fixed failing testcase 9 years ago
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.
9 years ago
Rob Bast 89885140d3 Created a failing test case 9 years ago
Jordi Boggiano d4dbeeacc4 Merge pull request #4096 from alcohol/fix-hyphen-range-constraint
Fix hyphen range constraint
9 years ago
Rob Bast 46e0a506b9 Added another testcase + fix 9 years ago
Rob Bast a0ca1d4d96 Consider 0 as part of a version 9 years ago
Rob Bast a256f3dfca Added one failing testcase and one successful
Demonstrates that it handles x.y.z properly as long as z !== 0
9 years ago
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.
9 years ago
Jordi Boggiano 0ec86be5e9 Merge remote-tracking branch 'origin/master' 9 years ago
Jordi Boggiano 0081964428 Merge remote-tracking branch 'colinodell/fix-tag-ambiguity'
Conflicts:
	src/Composer/Downloader/GitDownloader.php
	tests/Composer/Test/Downloader/GitDownloaderTest.php
9 years ago
Jordi Boggiano ce0f617ee1 Merge pull request #4083 from nevvermind/php-dox
Added phpdocs + change to yoda comparison
9 years ago
Jordi Boggiano 1753c275ff Handle deprecation notices softer 9 years ago
nevvermind 8e79a3766d Added phpdocs + change to yoda comparison 9 years ago
Jordi Boggiano e64470c987 Merge pull request #4071 from nevvermind/patch-2
Update 02-libraries.md
9 years ago
Jordi Boggiano b181822e90 Fix case where touch() fails due to incorrect ownership, fixes #4070 9 years ago
Jordi Boggiano fbc0fa9688 Fix line endings 9 years ago
Jordi Boggiano 27aac31970 Fix tests for autocrlf=true checkouts, fixes #4049 9 years ago
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
9 years ago
Rob Bast 899d9e5134 enable blank-at-eof check 9 years ago
Rob Bast 0c288ed39b composer doesn't use tabs 9 years ago
Rob Bast bd476ca201 added/disabled whitespace error flags 9 years ago