Skip to content
Permalink
Browse files

Fix PHP Code Sniffer warnings (#249)

  • Loading branch information...
anavarre authored and enzolutions committed Aug 22, 2019
1 parent 5c2aaef commit a8872d3b5d4d3b6ff73e6f6b8635c2e10e1074df
Showing with 23 additions and 47 deletions.
  1. +0 −1 translations/config.delete.yml
  2. +0 −1 translations/config.diff.yml
  3. +0 −1 translations/config.edit.yml
  4. +0 −1 translations/config.export.entity.yml
  5. +1 −1 translations/config.export.view.yml
  6. +0 −1 translations/config.export.yml
  7. +0 −1 translations/config.import.yml
  8. +0 −1 translations/config.override.yml
  9. +0 −1 translations/config.validate.yml
  10. +0 −1 translations/create.comments.yml
  11. +0 −1 translations/create.nodes.yml
  12. +0 −1 translations/create.roles.yml
  13. +0 −1 translations/create.terms.yml
  14. +0 −1 translations/create.users.yml
  15. +0 −1 translations/create.vocabularies.yml
  16. +0 −1 translations/cron.release.yml
  17. +1 −1 translations/database.dump.yml
  18. +1 −1 translations/database.log.clear.yml
  19. +1 −1 translations/database.log.common.yml
  20. +0 −1 translations/debug.features.yml
  21. +1 −1 translations/debug.router.yml
  22. +1 −1 translations/debug.theme.yml
  23. +0 −2 translations/debug.update.composer.yml
  24. +0 −1 translations/exec.yml
  25. +1 −1 translations/generate.ajax.command.yml
  26. +1 −1 translations/generate.breakpoint.yml
  27. +1 −1 translations/generate.cache.context.yml
  28. +1 −1 translations/generate.command.yml
  29. +1 −1 translations/generate.controller.yml
  30. +1 −1 translations/generate.entity.bundle.yml
  31. +1 −1 translations/generate.entity.config.yml
  32. +1 −1 translations/generate.entity.content.yml
  33. +1 −1 translations/generate.form.alter.yml
  34. +1 −1 translations/generate.help.yml
  35. +1 −1 translations/generate.module.file.yml
  36. +1 −1 translations/generate.plugin.block.yml
  37. +1 −1 translations/generate.plugin.ckeditorbutton.yml
  38. +1 −1 translations/generate.plugin.rules.condition.yml
  39. +0 −1 translations/generate.plugin.validationconstraint.yml
  40. +1 −1 translations/generate.site.alias.yml
  41. +1 −1 translations/migrate.rollback.yml
  42. 0 translations/module.uninstall.yml
  43. +0 −1 translations/queue.run.yml
  44. +0 −1 translations/self-update.yml
  45. +0 −1 translations/service.override.yml
  46. +0 −1 translations/site.install.yml
  47. +1 −1 translations/user.login.url.yml
@@ -17,4 +17,3 @@ questions:
examples:
- description: 'Provide a config type and a config name'
execution: drupal config:delete active all

@@ -15,4 +15,3 @@ messages:
examples:
- description: 'Provide a config directory'
execution: drupal config:diff ../config/path

@@ -12,4 +12,3 @@ examples:
execution: 'drupal config:edit system.cron'
- description: 'Edit system cron configurations with "gedit".'
execution: 'drupal config:edit system.cron gedit'

@@ -29,4 +29,3 @@ examples:
--optional-config \
--remove-uuid \
--remove-config-hash
@@ -32,4 +32,4 @@ examples:
drupal config:export:view viewid \
--module="modulename" \
--optional-config \
--include-module-dependencies
--include-module-dependencies
@@ -21,4 +21,3 @@ examples:
--tar \
--remove-uuid \
--remove-config-hash
@@ -21,4 +21,3 @@ examples:
execution: |
drupal config:import \
--directory=/path/to/config/dir
@@ -25,4 +25,3 @@ examples:
--value='es' \
--value='New label' \
--value='1'
@@ -7,4 +7,3 @@ messages:
examples:
- description: 'Provide the configuration name.'
execution: 'drupal config:validate configuration.name'

@@ -38,4 +38,3 @@ examples:
--limit="2" \
--title-words="5" \
--time-range="1"
@@ -40,4 +40,3 @@ examples:
--time-range="1" \
--revision \
--language="und"
@@ -16,4 +16,3 @@ examples:
- description: 'Provide the number of roles to create'
execution: |
drupal create:roles
@@ -25,4 +25,3 @@ examples:
drupal create:terms tags \
--limit="10" \
--name-words="5"
@@ -35,4 +35,3 @@ examples:
--limit="5" \
--password="usersnewpassword" \
--time-range="1"
@@ -18,4 +18,3 @@ examples:
drupal create:vocabularies \
--limit="5" \
--name-words="5"
@@ -5,4 +5,3 @@ examples:
- description: 'Execute the cron globally'
execution: |
drupal cron:execute
@@ -16,4 +16,4 @@ examples:
- description: 'Dump in gz compressed format'
execution: |
drupal database:dump \
--gz
--gz
@@ -19,4 +19,4 @@ examples:
drupal database:log:clear \
<database> \
--type=TYPE \
--severity=SEVERITY
--severity=SEVERITY
@@ -10,4 +10,4 @@ messages:
user: User
severity: Severity
invalid-severity: 'Severity type is invalid, filter was ignored'
user-deleted: 'User has been deleted'
user-deleted: 'User has been deleted'
@@ -8,4 +8,3 @@ messages:
machine-name: 'Machine Name'
status: 'Status'
state: 'State'

@@ -24,4 +24,4 @@ examples:
drupal debug:router user.login
- description: 'Display information for the routes by pattern (/user/login)'
execution: |
drupal debug:router --pattern=/user/login
drupal debug:router --pattern=/user/login
@@ -19,4 +19,4 @@ examples:
drupal debug:theme
- description: 'Bartik theme information'
execution: |
drupal debug:theme bartik
drupal debug:theme bartik
@@ -11,5 +11,3 @@ examples:
- description: 'List of pending updates from composer'
execution: |
drupal debug:update:composer
@@ -10,4 +10,3 @@ messages:
binary-not-found: 'Unable to find the binary "%s" to execute.'
working-directory: 'Working directory'
executing-command: 'Executing command'

@@ -10,4 +10,4 @@ questions:
module: 'Enter the module name'
class: 'Enter the Ajax class name'
method: 'Enter the render method name'
js-name: 'Enter a custom javascript name'
js-name: 'Enter a custom javascript name'
@@ -17,4 +17,4 @@ examples:
execution: |
drupal generate:breakpoint \
--theme="classy" \
--breakpoints='"breakpoint_name":"narrow", "breakpoint_label":"narrow", "breakpoint_media_query":"all and (min-width: 560px) and (max-width: 850px)", "breakpoint_weight":"1", "breakpoint_multipliers":"1x"'
--breakpoints='"breakpoint_name":"narrow", "breakpoint_label":"narrow", "breakpoint_media_query":"all and (min-width: 560px) and (max-width: 850px)", "breakpoint_weight":"1", "breakpoint_multipliers":"1x"'
@@ -15,4 +15,4 @@ examples:
drupal generate:cache:context \
--module="modulename" \
--cache-context="ContextName" \
--class="DefaultCacheContext"
--class="DefaultCacheContext"
@@ -29,4 +29,4 @@ examples:
--extension="ExtensionName" \
--extension-type="module" \
--class="DefaultCommand" \
--name="CommandName"
--name="CommandName"
@@ -27,4 +27,4 @@ examples:
--module="modulename" \
--class="DefaultController" \
--routes='"title":"ControllerMethod", "name":"modulename.default_controller_hello", "method":"hello", "path":"/modulename/hello/{name}"' \
--test
--test
@@ -17,4 +17,4 @@ examples:
drupal generate:entity:bundle \
--module="modulename" \
--bundle-name="default" \
--bundle-title="default"
--bundle-title="default"
@@ -23,4 +23,4 @@ examples:
--entity-class="DefaultEntity" \
--entity-name="default_entity" \
--base-path="/admin/structure" \
--label="Default entity"
--label="Default entity"
@@ -41,4 +41,4 @@ examples:
--label="Default entity" \
--is-translatable \
--revisionable
--has-forms
--has-forms
@@ -28,4 +28,4 @@ examples:
drupal generate:form:alter \
--module="modulename" \
--inputs='"name":"inputtext", "type":"text_format", "label":"InputText", "options":"", "description":"Just an input text", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""' \
--inputs='"name":"email", "type":"email", "label":"Email", "options":"", "description":"Just an email input", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""'
--inputs='"name":"email", "type":"email", "label":"Email", "options":"", "description":"Just an email input", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""'
@@ -14,4 +14,4 @@ examples:
execution: |
drupal generate:help \
--module="modulename" \
--description="My Awesome Module"
--description="My Awesome Module"
@@ -9,4 +9,4 @@ examples:
- description: 'Generate the .module file specifying the module name'
execution: |
drupal generate:module:file \
--module="modulename"
--module="modulename"
@@ -35,4 +35,4 @@ examples:
--label="Default block" \
--plugin-id="default_block" \
--theme-region="header" \
--inputs='"name":"inputtext", "type":"text_format", "label":"InputText", "options":"", "description":"Just an input text", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""'
--inputs='"name":"inputtext", "type":"text_format", "label":"InputText", "options":"", "description":"Just an input text", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""'
@@ -35,4 +35,4 @@ examples:
--label="Default ckeditor button" \
--plugin-id="default ckeditor button" \
--button-name="Default ckeditor button" \
--button-icon-path="modules/custom/modulename/js/plugins/default ckeditor button/images/icon.png"
--button-icon-path="modules/custom/modulename/js/plugins/default ckeditor button/images/icon.png"
@@ -29,4 +29,4 @@ examples:
--label="Default Action" \
--plugin-id="default_condition" \
--category="Action category" \
--context='"name":"user", "type":"entity:user", "label":"Context label", "description":"Context description"'
--context='"name":"user", "type":"entity:user", "label":"Context label", "description":"Context description"'
@@ -27,4 +27,3 @@ examples:
--field-id="field_exmaple_id" \
--bundle="entity_example_bundle" \
--no-interaction
@@ -39,4 +39,4 @@ examples:
--port="port" \
--drupal-console-binary="drupal" \
--extra-options="-tt" \
--directory="/Users/hjuarez/drupalSq/console/"
--directory="/Users/hjuarez/drupalSq/console/"
@@ -3,4 +3,4 @@ arguments:
id: 'Migration id(s)'
messages:
not-available: 'Migration Id "%s" is invalid.Skipping'
processing: 'Rollback "%s" completed'
processing: 'Rollback "%s" completed'
0 translations/module.uninstall.yml 100755 → 100644
No changes.
@@ -6,4 +6,3 @@ messages:
failed: '"%s" failed: "%s".'
missing-name: 'Provide a valid queue name.'
invalid-name: 'Invalid queue name "%s" provided.'

@@ -17,4 +17,3 @@ messages:
Or you can switch to a Phar install recommended
composer global remove drupal/console
curl https://drupalconsole.com/installer -L -o drupal.phar
@@ -24,4 +24,3 @@ examples:
--value='true' \
--value='false' \
--no-interaction
@@ -58,4 +58,3 @@ examples:
--account-name="admin" \
--account-mail="admin@example.com" \
--account-pass="p455w0rd"
@@ -11,4 +11,4 @@ examples:
- description: 'Get one time login url for user id 10'
execution: drupal user:login:url 10
- description: 'Get one time login url for username jmolivas'
execution: drupal user:login:url jmolivas
execution: drupal user:login:url jmolivas

0 comments on commit a8872d3

Please sign in to comment.
You can’t perform that action at this time.