Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CakePHP - Are these files unnecessary?

When you download CakePHP, these files are present:

.editorconfig, .travis.yml, build.properties, and build.xml

I have never really had to edit these files before or use them for my applications, but I never deleted them. Are these files important? Or can I just delete them?

I am using CakePHP version 2.4.2

like image 980
Sameer Anand Avatar asked Nov 06 '13 19:11

Sameer Anand


1 Answers

You can delete them

The files do serve a purpose but they are not used by the application at run time.

What are they for

  • .editorconfig is a file used to help ensure code is consistently formatted.
  • .travis.yml is a file used to configure automated builds using travis - so that the test suite runs automatically for commits and pull requests.
  • build.xml is used to create a new release, and update pear using phing.
  • build.properties is a configuration file containing info used by phing (see above) to parameters pirum - to update the cakephp pear channel.
like image 90
AD7six Avatar answered Oct 30 '22 01:10

AD7six