Kunal Mehta
0ad9e98a59
Don't use BasePackage::$stabilities in VersionParser
...
Working towards #3545 .
This adds VersionParser::$stabilities, which is an array of the
supported stability levels. This adds a little bit of duplication,
however we were already hardcoding the various stabilities in regular
expressions and functions like parseStability().
2015-07-03 17:54:30 -07:00
Jordi Boggiano
2438105e11
Merge pull request #4086 from legoktm/format-version
...
Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
2015-07-04 00:55:50 +01:00
Jordi Boggiano
e2b2f450dc
Merge pull request #4144 from staabm/patch-2
...
Dropped unnecessary break statements
2015-07-03 21:49:05 +01:00
Jordi Boggiano
9b3e8b963e
Merge pull request #4143 from staabm/patch-1
...
Dropped obsolete condition
2015-07-03 21:48:39 +01:00
Jordi Boggiano
01a9c3a0ce
Merge pull request #4208 from alcohol/update-spdx-updater
...
Updated SPDX related files in light of 2.0 release of SPDX specification
2015-07-03 11:54:16 +01:00
Rob Bast
4019f7bb44
Revert "apply a regex solution instead of tokenizer"
...
This reverts commit 33a7305e22c8d4e2ce38586855fd3d4b7b2af3dd.
2015-07-03 12:22:16 +02:00
Rob Bast
b5d286e27b
apply a regex solution instead of tokenizer
2015-07-03 12:22:16 +02:00
Rob Bast
e4118385a0
updated spdx related files
2015-07-03 12:22:16 +02:00
Jordi Boggiano
d1a9cfbd63
Merge pull request #4205 from gammamatrix/patch-2
...
Changing config.json to satis.json
2015-07-02 10:36:31 +01:00
Kunal Mehta
c5afb8f23a
Mark VersionParser::formatVersion() as deprecated
...
With 1753c275ff
, this will be handled nicely.
2015-07-02 00:07:04 -07:00
Kunal Mehta
f634c6946d
Update callers of VersionParser::formatVersion()
...
Tests were moved to BasePackageTest.
2015-07-02 00:06:56 -07:00
Kunal Mehta
99dab8aebd
Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
...
Working towards #3545 .
formatVersion() does not belong in VersionParser since it depends upon a
Package object, and is creating a more complete pretty formatted
version, not parsing anything.
The new getFullPrettyVersion() method can be seen as an extension to
getPrettyVersion(), and is located in BasePackage as a result.
Callers to VersionParser::formatVersion() were not updated in this
commit to demonstrate that no functionality was changed in this
refactor. They will be updated in a follow up commit.
2015-07-01 23:54:08 -07:00
Jeremy Postlethwaite
558fca8a23
Changing config.json to satis.json
...
Updating docs to use `satis.json` instead of `config.json`
2015-07-01 14:15:24 -07:00
Jonathan Eskew
4e3fbeabfc
"No files" was inaccurate; amend to specify "no files except"
2015-07-01 09:38:14 -07:00
Jonathan Eskew
56ffa407f1
House style requires concatenation in examples
2015-07-01 09:15:22 -07:00
Jordi Boggiano
8775c94895
Merge pull request #4196 from localheinz/fix/namespace
...
Fix: Import Symfony\Component\Finder\Finder
2015-07-01 10:29:53 +01:00
Andreas Möller
962f5a99ea
Fix: Import Symfony\Component\Finder\Finder
2015-06-30 21:03:59 -04:00
Jordi Boggiano
79f9158fb2
Merge pull request #4192 from localheinz/fix/import
...
Fix: Add missing imports
2015-06-30 15:38:46 +01:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Jordi Boggiano
4d36622ada
Merge pull request #4191 from localheinz/fix/docblock
...
Fix: Docblock
2015-06-30 15:25:49 +01:00
Jordi Boggiano
70f5150893
Merge pull request #4190 from localheinz/fix/unused-private-property
...
Fix: Remove unused private property
2015-06-30 15:14:03 +01:00
Jordi Boggiano
4307031e9b
Merge pull request #4189 from localheinz/fix/unused-imports
...
Fix: Remove unused imports
2015-06-30 15:13:46 +01:00
Rob Bast
16a7cf19fc
outside of table, no need to escape
2015-06-30 15:49:00 +02:00
Rob Bast
d8d2bcadde
added some links and some restructuring
2015-06-30 15:49:00 +02:00
Rob Bast
50db9393e5
better phrasing / structure + moved version testing link
2015-06-30 15:49:00 +02:00
Rob Bast
10b813fc40
reworking basic usage, added versions article
2015-06-30 15:49:00 +02:00
Rob Bast
eb98613672
add installer information
2015-06-30 15:49:00 +02:00
Rob Bast
4ddd5aa37f
cleaned up intro page a bit
2015-06-30 15:49:00 +02:00
Jordi Boggiano
a8e004c7e7
Merge pull request #4199 from sminnee/version-comparison-docs
...
>=2.3.0 now includes pre-releases, added docs for this and -stable suffix Fixes #4080 .
2015-06-30 14:32:20 +01:00
Jordi Boggiano
b17ccbfa0d
Avoid invalid warnings when scanning the same file twice, fixes #4195 , fixes #4197
2015-06-30 13:27:28 +01:00
Jordi Boggiano
05c4911f6c
Merge pull request #4193 from alcohol/fix-gitignore-parsing
...
Fix #4183 - exclude pattern containing delimiter used throws error
2015-06-30 13:10:34 +01:00
Sam Minnee
2cd698874f
Include pre-releases in >=2.3.0 comparison. Fixes #4080 .
...
This is a change to the >=2.3.0 comparison. Without this change, such a
comparison will exclude pre-release versions.
The rationale is that this makes the comparison more consistent with
<2.3.0 (which excludes all pre-releases) and ~2.3.0 (which includes
pre-releases).
2015-06-30 13:10:20 +01:00
Sam Minnee
5cd1b6d56f
Added documentation about -stable suffix in version range comparison. Fixes #4080 .
2015-06-30 13:10:16 +01:00
Rob Bast
0298cdc60d
change delimiter to curly braces
2015-06-30 13:52:47 +02:00
Jonathan Eskew
5fe37357a2
Reiterate the disclaimer in the context of callbacks
2015-06-29 14:44:28 -07:00
Rob Bast
e698636af4
added test to reproduce #4183
2015-06-29 09:42:40 +02:00
Andreas Möller
12ffe2b4d4
Fix: Add missing imports
2015-06-28 23:37:40 -04:00
Andreas Möller
e184118d76
Fix: Docblock
2015-06-28 23:28:45 -04:00
Andreas Möller
3854d2d457
Fix: Remove unused private property
2015-06-28 23:25:55 -04:00
Andreas Möller
eac5fbdee4
Fix: Remove unused imports
2015-06-28 23:20:54 -04:00
Jonathan Eskew
26a2e94e78
Add a line and example to the documentation covering the need to require the autoloader file in order to use autoloaded files
2015-06-27 14:38:09 -07:00
Jordi Boggiano
943107cfe7
Load most specific namespaces always, and dependents before dependencies when building classmaps
...
This also adds notifications of duplicate classes
2015-06-26 14:40:26 +01:00
Jordi Boggiano
84661296ff
Merge pull request #4178 from alcohol/update-code-of-conduct
...
code of conduct: 1.0.0 -> 1.1.0
2015-06-24 10:14:40 +01:00
Rob Bast
3dffdc8705
don't suggest packages already installed
2015-06-24 11:06:21 +02:00
Rob Bast
fd34c5883a
added php script handler info as well
2015-06-24 09:21:36 +02:00
Rob Bast
0a0f7f4db2
1.0.0 -> 1.1.0
2015-06-24 08:58:03 +02:00
Rob Bast
adc3e3a7f2
fixed typo (and auto whitespace)
2015-06-24 08:43:43 +02:00
Rob Bast
b523a22641
updated doc
2015-06-23 22:46:16 +02:00
Rob Bast
680082c5fe
output based purely on verbosity
2015-06-23 22:46:16 +02:00
Rob Bast
33f78b2ccc
limit suggestions to optional list of packages
2015-06-23 22:46:16 +02:00