Commit graph

59 commits

Author SHA1 Message Date
Alex Russell
4133bb7905 Extended phpcs plugin to allow for extra commandline arguments.
- Now accepts paths in the --standards argument (and correctly prepends
  the build directory) so it actually works

- Now accepts the --tabwidth argument so that if your project favours tabs
  over spaces you can still just use PSR2 and you don't have to sacrifice
  using the Generic.WhiteSpace.ScopeIndent rule because it is spaces-only

- Now accpets the --encoding argument. I haven't used this before, but
  looking in the phpcs documentation it looks like a very useful one to
  have as most people code in utf-8 but phpcs defaults to iso-8859-1 and
  it can apparently "cause double-encoding problems when generating UTF-8
  encoded XML reports"
2013-07-30 14:58:00 +01:00
japaveh
89c0082ad4 Merge remote-tracking branch 'upstream/master' 2013-07-25 23:21:13 +02:00
Dan Cryer
8c98a3ab64 Merge pull request #84 from sanpii/atoum
Add atoum plugin
2013-07-25 04:21:30 -07:00
Alexander Pirogov
2a0e6d2401 added rules option to phpmd plugin 2013-07-19 16:40:16 +03:00
Alexander Pirogov
a137e9c0c6 added prefer_dist option to composer plugin 2013-07-18 16:10:55 +03:00
Alexander Pirogov
6c76208992 added smtp_encryption config parameter 2013-07-18 14:14:22 +03:00
japaveh
dd3671186f Included support for PhpLoc and Pdepend 2013-07-13 00:19:43 +02:00
Sanpi
ff8bd75b22 Add atoum plugin 2013-06-25 13:50:23 +02:00
meadsteve
84370038aa Added basic body and title for the email notifications. 2013-06-04 21:47:45 +01:00
meadsteve
33b840a82d Adding a default address that is always mailed to by notifications. 2013-06-04 21:09:16 +01:00
meadsteve
f8407e39c8 Email plugin now looks in the yaml file for an addresses setting. All these addresses will be mailed with a pass or fail message. 2013-06-01 13:57:39 +01:00
meadsteve
76e5c66b38 Fixing the email plugin so that it retrieves the system config correctly. 2013-06-01 13:29:59 +01:00
meadsteve
f0a5ba50ca Filled out the Plugin\Email::sendEmail(). Pulls in the following settings from the phpci config under the heading email_settings:
smtp_address
smtp_port
smtp_username
smtp_password

and

from_address
2013-06-01 09:40:05 +01:00
meadsteve
f76a2a75cc Empty Email plugin and test committed. 2013-05-31 12:56:35 +01:00
Gabriel Baker
e342483f03 This should be checking the value not the key 2013-05-23 06:36:40 +01:00
Dan Cryer
c1bf4ab636 Merge pull request #59 from kamermans/feature_variable_interpolation
Variable interpolation support
2013-05-22 14:25:02 -07:00
Gabriel Baker
be13ec90ee indentation 2013-05-22 21:53:56 +01:00
Gabriel Baker
81b2f89435 PHP CS Fixer and indentation fix 2013-05-22 21:43:19 +01:00
Steve Kamerman
d7c62f3609 Added interpolation support to Env plugin 2013-05-22 15:54:18 -04:00
Steve Kamerman
095b7d7f14 Added support for interpolation in MySQL host, user, database, queries and file imports 2013-05-22 14:21:17 -04:00
Dan Cryer
c5b20b4891 Adding Shell plugin, but with the requirement that ENABLE_SHELL_PLUGIN must be defined and true, to give sysadmins some control. Closes #45. 2013-05-22 17:23:35 +01:00
Dan Cryer
822aad753c Merge branch 'feature/shell-plugin' of https://github.com/kinncj/PHPCI into feature/shell_plugin 2013-05-22 17:21:26 +01:00
Dan Cryer
aff5b1886e Merge branch 'master' of github.com:Block8/PHPCI 2013-05-20 14:07:11 +01:00
Dan Cryer
fa0cfc3614 Make copy_build copy dot files, also fix comments in new build plugins. Closes #50. 2013-05-20 14:06:53 +01:00
Dan Cryer
005c6225da Merge pull request #48 from kamermans/feature_env
Implemented environment plugin
2013-05-20 05:56:53 -07:00
Steve Kamerman
e04e49bb32 Added support for standard YAML key/value pairs 2013-05-19 16:54:35 -04:00
Steve Kamerman
3b72e12491 Removed unused local var 2013-05-19 11:28:27 -04:00
Steve Kamerman
7245b351a0 Implemented environment plugin 2013-05-19 01:47:41 -04:00
Steve Kamerman
5f66ff6199 Fixed file path problem 2013-05-18 23:46:26 -04:00
Steve Kamerman
c03d5f3af3 Fixed file path problem 2013-05-18 23:40:30 -04:00
Steve Kamerman
60894db8dc Syntax changes 2013-05-18 23:33:39 -04:00
Steve Kamerman
dda472f96d Implemented MySQL file imports 2013-05-18 23:25:14 -04:00
Dan Cryer
29541ac1fe Adding Clean Build and Package Build, Closes #38, Closes #37. 2013-05-17 23:19:38 +01:00
Dan Cryer
705c432272 Fixing the copy_build plugin, issue #36 2013-05-17 22:16:37 +01:00
Dan Cryer
ecd051a2eb Copy build plugin. 2013-05-17 17:50:27 +01:00
Kinn Coelho Julião
623bb18dd4 Added a Shell Plugin 2013-05-17 10:10:48 -04:00
Dan Cryer
14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Dan Cryer
7d9abf21fb Fixing PHPMD and PHPCS plugins, updating code to pass both, and updating phpci.yml to enable them. Issue #18 2013-05-16 16:46:46 +01:00
Dan Cryer
953a209d6d Fixing exclude functionality in PHPMD 2013-05-16 16:25:26 +01:00
Dan Cryer
11932e4b9c Fix for ignores in PHPCS 2013-05-16 16:14:01 +01:00
Dan Cryer
83dcb2ba0c PHPCI/Plugin PSR2 compliance. Issue #18 2013-05-16 15:50:19 +01:00
Dan Cryer
160540b6ee Add class-level docblock to every file. 2013-05-16 02:30:48 +01:00
Dan Cryer
6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
Dan Cryer
450d03aeb9 Adding PgSQL plugin, powered by PDO. Accepts connection parameters from build_settings.pgsql 2013-05-16 00:52:18 +01:00
Dan Cryer
3ac5df9eb3 Updating MySQL plugin to use PDO, and accept connection parameters from build_settings.mysql 2013-05-16 00:51:48 +01:00
Dan Cryer
a5a03e1f07 Switching executeCommand() to use sprintf for parameters, and all the plugins to pass params separately. See #12, closes #24 2013-05-16 00:19:24 +01:00
meadsteve
83f857095d Updated the comments in the PHPUnit plugin to relfect the fact that directory and config file can also be arrays of strings. 2013-05-16 09:54:15 +01:00
Steve Kamerman
ead7f9a5eb Added comments 2013-05-15 23:50:21 -04:00
Steve Kamerman
dae10c1977 Added phpunit flag to allow running tests from an alternate working directory 2013-05-15 23:26:49 -04:00
meadsteve
24e709f77e Modified the PHPunit plugin so that it can take multiple config files and dirs and will combine the results of each. 2013-05-15 13:41:30 +01:00