PHPCheckstyle / phpcheckstyle

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions.
https://github.com/PHPCheckstyle/phpcheckstyle
GNU Lesser General Public License v3.0
164 stars 31 forks source link

Autoloader problem when not using Composer #48

Closed tchule closed 7 years ago

tchule commented 10 years ago

See : https://code.google.com/p/phpcheckstyle/issues/detail?id=89

We have added the vendor directory in .gitignore. We need to find a way to be compatible for people who use the project directly through GitHub and COmposer and for the people who download the source to use locally without Composer.

tchule commented 10 years ago

Maybe an answer : http://www.lornajane.net/posts/2014/using-composer-without-gitignoring

rr- commented 10 years ago

Versioning external libraries is not a good idea. I'd pack whole thing along with dependencies into a ZIP and release it upon every major release.

jbrooksuk commented 10 years ago

That's the ideal solution here Marcin.

Sent from my iPhone

On 6 Oct 2014, at 16:48, Marcin Kurczewski notifications@github.com wrote:

Versioning external libraries is not a good idea. I'd pack whole thing along with dependencies into a ZIP and release it upon every major release.

— Reply to this email directly or view it on GitHub.

tchule commented 7 years ago

Re-added the default autoloader. This should not break the composer case and allow to use the project without it.