]> git.agnieray.net Git - galette.git/commitdiff
Fix CS
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 13 May 2017 20:19:33 +0000 (22:19 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Sat, 13 May 2017 20:19:33 +0000 (22:19 +0200)
.travis.yml
galette/lib/Galette/Core/Plugins.php
galette/lib/Galette/Entity/Contribution.php
galette/lib/Galette/Repository/Contributions.php
galette/lib/Galette/Repository/Groups.php
galette/lib/Galette/Repository/Members.php

index 965deb319bc828fddec40637b47a37b04dcbd0cd..41dbe66a0d0ef7d9ec70fedcfcc9e9719af80354 100644 (file)
@@ -10,7 +10,7 @@ before_script:
   - 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
index 227851dbbd68158e1b46bff269ed8fd25a762be4..0751a0ea640ca51fe6601d48359ff79d4bf3ad29 100644 (file)
@@ -79,9 +79,9 @@ class Plugins
      * 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
      */
index 64f52fee109e277f906dccffc71eaa8d9f2bed70..bf6e9249ceda935fbbb1f2ebb608e6134d8494ce 100644 (file)
@@ -94,8 +94,8 @@ class Contribution
      * @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)
     {
@@ -887,9 +887,9 @@ class Contribution
      *
      * @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
      */
index c91254658377b8629d8f191f61dd3b4e18313e06..1b5628433cb1000e57ad0d3e95c0d52bf1759d42 100644 (file)
@@ -105,10 +105,10 @@ class Contributions
      * 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
index 5fba9a3bd991bc75b7705d77c1f2f131204b3381..cf9c30e42524eddff4679b61fb6eb1428f336410 100644 (file)
@@ -249,11 +249,11 @@ class Groups
      *
      * @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
      */
index 63b689a7839154ef48e7ca78c3cb90b47471a4de..91f24d14449aaaf8585f8ce7e1d7e1af628c873d 100644 (file)
@@ -137,10 +137,10 @@ class Members
      * 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
      *
@@ -166,10 +166,10 @@ class Members
      * 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
      *
@@ -194,10 +194,10 @@ class Members
      * 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
@@ -424,7 +424,7 @@ class Members
      * 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[]
      */