Skip to content

Commit

Permalink
Stop running "style" coder check (#722)
Browse files Browse the repository at this point in the history
* We run phpcs separately, so stop running it here
* Code in comments is discouraged, but we'll try to skip
* Have to hide the code in comments
* Remove blank comment line
  • Loading branch information
whikloj authored and jonathangreen committed Jul 16, 2019
1 parent f5ff5a1 commit 90414e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion tests/scripts/travis_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ checkReturn $?

# Coding standards
echo "Drush coder-review"
drush coder-review --reviews=production,security,style,i18n,potx $TRAVIS_BUILD_DIR
drush coder-review --reviews=production,security,i18n,potx $TRAVIS_BUILD_DIR
checkReturn $?

# Skip code sniffer for PHP 5.3.3
Expand Down
12 changes: 1 addition & 11 deletions theme/islandora-object.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
*
* to test if a datastream exists isset($object['dsid'])
*
* to iterate over datastreams:
* foreach ($object as $ds) {
* $ds->label, etc
* }
* to iterate over datastreams do a "foreach ($object as $ds) {}"
*
* each $ds in the above loop has the following properties:
* $ds->label - The label for this datastream.
Expand All @@ -49,13 +46,6 @@
* and each element has an array of values.
* dc.title can have none, one or many titles
* this is the case for all dc elements.
*
*
*
* we can get a list of datastreams by doing
* foreach ($object as $ds) {
* do something here
* }
*/
?>
<div class="islandora-object islandora">
Expand Down

0 comments on commit 90414e5

Please sign in to comment.