- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" && $DB == "mysql" ]]; then phpenv rehash; fi
script:
- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" && $DB == "mysql" ]]; then phpcs -n -p --ignore=Pdf.php --ignore=PdfGroups.php --ignore=PdfAttendanceSheet.php --standard=phpcs-rules.xml galette/lib/ tests/ galette/webroot/index.php galette/includes/fields_defs/ galette/includes/smarty_plugins/ galette/includes/functions.inc.php galette/includes/galette.inc.php galette/includes/dependencies.php galette/includes/main.inc.php; fi
+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" && $DB == "mysql" ]]; then phpcs -n -p --ignore=Pdf.php,PdfGroups.php,PdfAttendanceSheet.php --standard=phpcs-rules.xml galette/lib/ tests/ galette/webroot/index.php galette/includes/fields_defs/ galette/includes/smarty_plugins/ galette/includes/functions.inc.php galette/includes/galette.inc.php galette/includes/dependencies.php galette/includes/main.inc.php; fi
- php galette/vendor/bin/atoum -mcn 1 -bf tests/TestsBootstrap.php -d tests/Galette/
language: php
* Loads modules.
*
* @param string $path could be a separated list of paths
- * (path separator depends on your OS).
+ * (path separator depends on your OS).
* @param string $lang Indicates if we need to load a lang file on plugin
- * loading.
+ * loading.
*
* @return void
*/
* @param Db $zdb Database
* @param Login $login Login instance
* @param null|int|ResultSet $args Either a ResultSet row to load
- * a specific contribution, or an type id
- * to just instanciate object
+ * a specific contribution, or an type id
+ * to just instanciate object
*/
public function __construct(Db $zdb, Login $login, $args = null)
{
*
* @param ExternalScript $es External script to execute
* @param array $extra Extra informations on contribution
- * Defaults to null
+ * Defaults to null
* @param array $pextra Extra information on payment
- * Defaults to null
+ * Defaults to null
*
* @return mixed Script return value on success, values and script output on fail
*/
* Get contributions list
*
* @param bool $as_contrib return the results as an array of
- * Contribution object.
+ * Contribution object.
* @param array $fields field(s) name(s) to get. Should be a string or
- * an array. If null, all fields will be
- * returned
+ * an array. If null, all fields will be
+ * returned
* @param boolean $count true if we want to count members
*
* @return Contribution[]|ResultSet
*
* @param Adherent $adh Member
* @param array $groups Groups Groups list. Each entry must contain
- * the group id, name each value separated
- * by a pipe.
+ * the group id, name each value separated
+ * by a pipe.
* @param boolean $manager Add member as manager, defaults to false
* @param boolean $transaction Does a SQL transaction already exists? Defaults
- * to false.
+ * to false.
*
* @return boolean
*/
* Get staff members list
*
* @param bool $as_members return the results as an array of
- * Member object.
+ * Member object.
* @param array $fields field(s) name(s) to get. Should be a string or
- * an array. If null, all fields will be
- * returned
+ * an array. If null, all fields will be
+ * returned
* @param boolean $count true if we want to count members
* @param boolean $limit true to LIMIT query
*
* Get managed members list (for groups managers)
*
* @param bool $as_members return the results as an array of
- * Member object.
+ * Member object.
* @param array $fields field(s) name(s) to get. Should be a string or
- * an array. If null, all fields will be
- * returned
+ * an array. If null, all fields will be
+ * returned
* @param boolean $count true if we want to count members
* @param boolean $limit true to LIMIT query
*
* Get members list
*
* @param bool $as_members return the results as an array of
- * Member object.
+ * Member object.
* @param array $fields field(s) name(s) to get. Should be a string or
- * an array. If null, all fields will be
- * returned
+ * an array. If null, all fields will be
+ * returned
* @param boolean $count true if we want to count members
* @param boolean $staff true if we want only staff members
* @param boolean $managed true if we want only managed groups
* Get members list with public informations available
*
* @param boolean $with_photos get only members which have uploaded a
- * photo (for trombinoscope)
+ * photo (for trombinoscope)
*
* @return Adherent[]
*/