Merge pull request #1786 from chamilo/scrutinizer-patch-1

Scrutinizer Auto-Fixes
pull/2487/head
Julio Montoya 9 years ago committed by GitHub
commit 8aa3ff83ae
  1. 8
      plugin/date/plugin.php
  2. 10
      plugin/pens/plugin.php
  3. 2
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Minimal.php
  4. 2
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestFreeAnswer.php
  5. 4
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/UniqueAnswerImage.php

@ -9,10 +9,10 @@
* Plugin details (must be present) * Plugin details (must be present)
*/ */
//the plugin title //the plugin title
$plugin_info['title']='Date'; $plugin_info['title'] = 'Date';
//the comments that go with the plugin //the comments that go with the plugin
$plugin_info['comment']="Multinational date display"; $plugin_info['comment'] = "Multinational date display";
//the plugin version //the plugin version
$plugin_info['version']='1.0'; $plugin_info['version'] = '1.0';
//the plugin author //the plugin author
$plugin_info['author']='Yannick Warnier'; $plugin_info['author'] = 'Yannick Warnier';

@ -24,13 +24,13 @@
*/ */
//the plugin title //the plugin title
$plugin_info['title']='PENS'; $plugin_info['title'] = 'PENS';
//the comments that go with the plugin //the comments that go with the plugin
$plugin_info['comment']="PENS implementation for Chamilo"; $plugin_info['comment'] = "PENS implementation for Chamilo";
//the locations where this plugin can be shown //the locations where this plugin can be shown
$plugin_info['location']=array(); $plugin_info['location'] = array();
//the plugin version //the plugin version
$plugin_info['version']='1.1'; $plugin_info['version'] = '1.1';
//the plugin author //the plugin author
$plugin_info['author']='Guillaume Viguier-Just, Yannick Warnier'; $plugin_info['author'] = 'Guillaume Viguier-Just, Yannick Warnier';
$plugin_info = PENSPlugin::create()->get_info(); $plugin_info = PENSPlugin::create()->get_info();

@ -34,7 +34,7 @@ class Minimal extends Basic
], ],
[ [
'name' => 'links', 'name' => 'links',
'items' => [ 'Link', 'Unlink', 'Anchor'] 'items' => ['Link', 'Unlink', 'Anchor']
] ]
]; ];

@ -54,7 +54,7 @@ class TestFreeAnswer extends Basic
['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord'], ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord'],
['Undo', 'Redo', '-', 'SelectAll', 'Find', '-', 'RemoveFormat'], ['Undo', 'Redo', '-', 'SelectAll', 'Find', '-', 'RemoveFormat'],
['Link', 'Unlink', 'Anchor', 'Glossary'], ['Link', 'Unlink', 'Anchor', 'Glossary'],
['Image', 'Mapping', 'Video', 'Oembed', 'Youtube', 'Flash', 'Audio', 'leaflet', 'Smiley', 'SpecialChar', 'Asciimath',], ['Image', 'Mapping', 'Video', 'Oembed', 'Youtube', 'Flash', 'Audio', 'leaflet', 'Smiley', 'SpecialChar', 'Asciimath', ],
'/', '/',
['Table', '-', 'CreateDiv'], ['Table', '-', 'CreateDiv'],
['BulletedList', 'NumberedList', 'HorizontalRule', '-', 'Outdent', 'Indent', 'Blockquote'], ['BulletedList', 'NumberedList', 'HorizontalRule', '-', 'Outdent', 'Indent', 'Blockquote'],

@ -18,8 +18,8 @@ class UniqueAnswerImage extends Basic
{ {
$config['toolbarGroups'] = array( $config['toolbarGroups'] = array(
'/', '/',
array('name' => 'basicstyles', 'groups' =>array('basicstyles', 'cleanup', )), array('name' => 'basicstyles', 'groups' =>array('basicstyles', 'cleanup',)),
array('name' => 'paragraph', 'groups' =>array('list', 'indent', 'blocks', 'align' )), array('name' => 'paragraph', 'groups' =>array('list', 'indent', 'blocks', 'align')),
array('name' => 'links'), array('name' => 'links'),
array('name' => 'insert'), array('name' => 'insert'),
'/', '/',

Loading…
Cancel
Save