Commit Graph

7 Commits

Author SHA1 Message Date
Carsten Brandt
187c44e43e implement suggestion for unknown command in console application
suggestion is based on two principles:

- first suggest commands the begin with the unknown name, to suggest
  commands after accidentally hitting enter
- second find similar commands by computing the levenshtein distance
  which is a measurement on how many changes need to be made to convert
  one string into another. This is perfect for finding typos.
2016-12-03 01:17:50 +01:00
Carsten Brandt
1d3495d84d Alternative implementation for Unknown command suggestions
alternative implementation for #12661, proof of concept, does not
include filtering by similarity yet.

issue #12659
2016-12-03 01:13:28 +01:00
Nikola Kovacs
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
Alexander Makarov
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
Carsten Brandt
7511de6cab added errorInfo to exception views 2014-05-12 13:31:33 +02:00
Jurmarcus Allen
6099e85160 HHVM compatibility Fixes for Yii 2 Console Application 2014-05-06 01:18:37 -05:00
Carsten Brandt
89f6a00147 created console errorHandler 2014-03-30 01:04:43 +01:00