Skip to content

Commit

Permalink
More appropriate file headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Apr 11, 2018
1 parent 77dacc9 commit f55ae58
Show file tree
Hide file tree
Showing 63 changed files with 322 additions and 893 deletions.
19 changes: 5 additions & 14 deletions classes/Activation.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Plugin activation handler.
*
* @package query-monitor
*/

class QM_Activation extends QM_Plugin {

Expand Down
19 changes: 5 additions & 14 deletions classes/Backtrace.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Function call backtrace container.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Backtrace' ) ) {
class QM_Backtrace {
Expand Down
19 changes: 5 additions & 14 deletions classes/Collector.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Abstract data collector.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Collector' ) ) {
abstract class QM_Collector {
Expand Down
19 changes: 5 additions & 14 deletions classes/Collectors.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Container for data collectors.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Collectors' ) ) {
class QM_Collectors implements IteratorAggregate {
Expand Down
19 changes: 5 additions & 14 deletions classes/Dispatcher.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Abstract dispatcher.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Dispatcher' ) ) {
abstract class QM_Dispatcher {
Expand Down
19 changes: 5 additions & 14 deletions classes/Dispatchers.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Container for dispatchers.
*
* @package query-monitor
*/

class QM_Dispatchers implements IteratorAggregate {

Expand Down
19 changes: 5 additions & 14 deletions classes/Output.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Abstract output handler.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Output' ) ) {
abstract class QM_Output {
Expand Down
19 changes: 5 additions & 14 deletions classes/Plugin.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Abstract plugin wrapper.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Plugin' ) ) {
abstract class QM_Plugin {
Expand Down
19 changes: 5 additions & 14 deletions classes/QueryMonitor.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* The main Query Monitor plugin class.
*
* @package query-monitor
*/

class QueryMonitor extends QM_Plugin {

Expand Down
19 changes: 5 additions & 14 deletions classes/Timer.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Timer that collects timing and memory usage.
*
* @package query-monitor
*/

class QM_Timer {

Expand Down
19 changes: 5 additions & 14 deletions classes/Util.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* General utilities class.
*
* @package query-monitor
*/

if ( ! class_exists( 'QM_Util' ) ) {
class QM_Util {
Expand Down
19 changes: 5 additions & 14 deletions classes/debug_bar.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Mock 'Debug Bar' plugin class.
*
* @package query-monitor
*/

class Debug_Bar {
public $panels = array();
Expand Down
19 changes: 5 additions & 14 deletions classes/debug_bar_panel.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Mock 'Debug Bar' panel class.
*
* @package query-monitor
*/

abstract class Debug_Bar_Panel {

Expand Down
19 changes: 5 additions & 14 deletions collectors/admin.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Admin screen collector.
*
* @package query-monitor
*/

class QM_Collector_Admin extends QM_Collector {

Expand Down
19 changes: 5 additions & 14 deletions collectors/assets.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Enqueued scripts and styles collector.
*
* @package query-monitor
*/

class QM_Collector_Assets extends QM_Collector {

Expand Down
19 changes: 5 additions & 14 deletions collectors/cache.php
@@ -1,18 +1,9 @@
<?php
/*
Copyright 2009-2017 John Blackbourn
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/**
* Object cache collector.
*
* @package query-monitor
*/

class QM_Collector_Cache extends QM_Collector {

Expand Down

0 comments on commit f55ae58

Please sign in to comment.