homersimpsons
1997bb8f36
🚨 Fix `strpos()` deprecation notice with `null` ( #11310 )
...
Deprecation Notice: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in composer/src/Composer/DependencyResolver/SolverProblemsException.php:80
2023-02-10 13:25:03 +01:00
Jordi Boggiano
a02802b109
Warn 1.x users when a package is not found that it may be due to our deprecation policy
2021-06-08 21:12:49 +02:00
Nils Adermann
f40f95b269
Add a note that a user could have forgotten to add a custom repo if package not found
2017-11-16 10:15:37 +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
Jefferson Carpenter
8d57c3e743
Update SolverProblemsException.php
2016-01-28 19:56:25 -06:00
Jordi Boggiano
1818b95149
CS fixes
2016-01-26 13:07:18 +00:00
Jordi Boggiano
e0ff9598c3
Tweak wording a bit, refs #3177
2016-01-25 22:24:34 +00:00
Radek Benkel
09417cae50
Composer gives .ini hints about missing extensions
2016-01-19 21:02:40 +01:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Possum
2e99b9fdf5
Use https where possible
2015-05-04 19:37:57 +02:00
Robert Gruendler
5160dd2f5e
Return different error code for SolverProblemsException
...
To make it easier for external tools to detect SolverProblems and react
to them accordingly,
this PR introduces a new exit code.
2013-04-25 14:37:47 +02:00
Tim Heil
6c1820d006
Add troubleshooting URL to error message
2012-08-28 00:10:17 +02:00
Jordi Boggiano
6573fd3f77
Add hint in solver exceptions as to what may be wrong
2012-07-04 15:57:51 +02:00
Nils Adermann
cc7632489d
Make problem report messages more readable
...
Added pretty strings to constraints
2012-06-20 19:06:36 +02:00
Nils Adermann
2c87fe5a22
Collect solver problems in Problem objects with human readable output.
2012-03-18 20:41:10 +01:00
Nils Adermann
52d876e11e
Add SolverProblemsException and test basic solver failures
2012-02-19 00:15:23 +01:00