Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/staging' into banners_frontend_cs
Browse files Browse the repository at this point in the history
Conflicts:
	components/com_banners/models/banners.php
  • Loading branch information
wilsonge committed Oct 17, 2014
2 parents 9c57934 + b3600b5 commit 83fbcc5
Show file tree
Hide file tree
Showing 1,023 changed files with 8,083 additions and 30,692 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ php:

before_script:
- composer self-update
- pyrus install -f pear/PHP_CodeSniffer-1.5.4
- pyrus install -f pear/PHP_CodeSniffer-1.5.5
- phpenv rehash
- mysql -e 'create database joomla_ut;'
- mysql joomla_ut < tests/unit/suites/database/stubs/mysql.sql
- mysql joomla_ut < tests/unit/schema/mysql.sql
- psql -c 'create database joomla_ut;' -U postgres
- psql -d joomla_ut -a -f tests/unit/suites/database/stubs/postgresql.sql
- psql -d joomla_ut -a -f tests/unit/schema/postgresql.sql

script:
- phpunit --configuration travisci-phpunit.xml
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All contributions are welcome to be submitted for review for inclusion in the Jo

2) Follow the [Joomla! Coding Standards](http://joomla.github.io/coding-standards)!

3) When filing an issue or opening a pull request, please include a clear title and description. The title should be a short summary of an issue and if possible, should include a reference to an open issue. For example, `Invalid Query in com_admin (Ref #1234)` would be sufficient. All issues and pull requests should include a description with as much detail as possible, including what the issue is, (if a pull request) what the pull request is addressing as well as testing instructions, and environmental information (PHP version, database driver and version, and other data you would retrieve from your site's System Information view) in case the issue is specific to certain environments. If additional information is needed, please be prepared to provide it as our community members review your submission.

Please be patient as not all items will be tested immediately (remember, all bug testing for the Joomla! CMS is done by volunteers) and be receptive to feedback about your code.

#### Branches
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Admin Controller
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminController extends JControllerLegacy
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/controllers/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* User profile controller class.
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminControllerProfile extends JControllerForm
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Utility class working with directory
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
abstract class JHtmlDirectory
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Utility class working with phpsetting
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
abstract class JHtmlPhpSetting
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/helpers/html/system.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Utility class working with system
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
abstract class JHtmlSystem
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/models/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Admin Component Help Model
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminModelHelp extends JModelLegacy
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/models/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
/**
* User model.
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminModelProfile extends UsersModelUser
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/models/sysinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Model for the display of system information.
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminModelSysInfo extends JModelLegacy
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_admin/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Script file of Joomla CMS
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6.4
* @since 1.6.4
*/
class JoomlaInstallerScript
{
Expand Down
12 changes: 8 additions & 4 deletions administrator/components/com_admin/views/help/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* HTML View class for the Admin component
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminViewHelp extends JViewLegacy
{
Expand Down Expand Up @@ -49,7 +47,11 @@ class AdminViewHelp extends JViewLegacy
protected $start_here = null;

/**
* Display the view
* Execute and display a template script.
*
* @param string $tpl The name of the template file to parse; automatically searches through the template paths.
*
* @return mixed A string if successful, otherwise a Error object.
*/
public function display($tpl = null)
{
Expand All @@ -66,6 +68,8 @@ public function display($tpl = null)
/**
* Setup the Toolbar
*
* @return void
*
* @since 1.6
*/
protected function addToolbar()
Expand Down
13 changes: 9 additions & 4 deletions administrator/components/com_admin/views/profile/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* View class to allow users edit their own profile.
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminViewProfile extends JViewLegacy
{
Expand All @@ -25,7 +23,11 @@ class AdminViewProfile extends JViewLegacy
protected $state;

/**
* Display the view
* Execute and display a template script.
*
* @param string $tpl The name of the template file to parse; automatically searches through the template paths.
*
* @return mixed A string if successful, otherwise a Error object.
*/
public function display($tpl = null)
{
Expand All @@ -37,6 +39,7 @@ public function display($tpl = null)
if (count($errors = $this->get('Errors')))
{
JError::raiseError(500, implode("\n", $errors));

return false;
}

Expand All @@ -50,6 +53,8 @@ public function display($tpl = null)
/**
* Add the page title and toolbar.
*
* @return void
*
* @since 1.6
*/
protected function addToolbar()
Expand Down
12 changes: 8 additions & 4 deletions administrator/components/com_admin/views/sysinfo/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Sysinfo View class for the Admin component
*
* @package Joomla.Administrator
* @subpackage com_admin
* @since 1.6
* @since 1.6
*/
class AdminViewSysinfo extends JViewLegacy
{
Expand Down Expand Up @@ -44,7 +42,11 @@ class AdminViewSysinfo extends JViewLegacy
protected $directory = null;

/**
* Display the view
* Execute and display a template script.
*
* @param string $tpl The name of the template file to parse; automatically searches through the template paths.
*
* @return mixed A string if successful, otherwise a Error object.
*/
public function display($tpl = null)
{
Expand Down Expand Up @@ -89,6 +91,8 @@ protected function _setSubMenu()
/**
* Setup the Toolbar
*
* @return void
*
* @since 1.6
*/
protected function addToolbar()
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Banners master display controller.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersController extends JControllerLegacy
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/controllers/banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Banner controller class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersControllerBanner extends JControllerForm
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/controllers/banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Banners list controller class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersControllerBanners extends JControllerAdmin
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/controllers/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Client controller class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersControllerClient extends JControllerForm
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/controllers/clients.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Clients list controller class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersControllerClients extends JControllerAdmin
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/controllers/tracks.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Tracks list controller class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersControllerTracks extends JControllerLegacy
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Tracks list controller class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersControllerTracks extends JControllerLegacy
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/helpers/banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Banners component helper.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersHelper extends JHelperContent
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/helpers/html/banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Banner HTML class.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 2.5
* @since 2.5
*/
abstract class JHtmlBanner
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/models/banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Banner model.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersModelBanner extends JModelAdmin
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/models/banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Methods supporting a list of banner records.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersModelBanners extends JModelList
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/models/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Client model.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersModelClient extends JModelAdmin
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/models/clients.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Methods supporting a list of banner records.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class BannersModelClients extends JModelList
{
Expand Down
4 changes: 1 addition & 3 deletions administrator/components/com_banners/models/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
/**
* Download model.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.5
* @since 1.5
*/
class BannersModelDownload extends JModelForm
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
/**
* Bannerclient Field class for the Joomla Framework.
*
* @package Joomla.Administrator
* @subpackage com_banners
* @since 1.6
* @since 1.6
*/
class JFormFieldBannerClient extends JFormFieldList
{
Expand Down

0 comments on commit 83fbcc5

Please sign in to comment.