Skip to content

Commit

Permalink
removed 'require_once', typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 4, 2010
1 parent 7c078f2 commit 9d6006d
Show file tree
Hide file tree
Showing 114 changed files with 113 additions and 581 deletions.
6 changes: 0 additions & 6 deletions Nette/Application/AppForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Forms/Form.php';

require_once dirname(__FILE__) . '/../Application/ISignalReceiver.php';



/**
* Web form as presenter component.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Application/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@



require_once dirname(__FILE__) . '/../Object.php';



/**
* Front Controller.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Control.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Application/PresenterComponent.php';

require_once dirname(__FILE__) . '/../Application/IRenderable.php';



/**
* Control is renderable component.
*
Expand Down
2 changes: 1 addition & 1 deletion Nette/Application/Exceptions/ApplicationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class ApplicationException extends /*\*/Exception
{
/**/
function __construct($message = '', $code = 0, /*\*/Exception $previous = NULL)
public function __construct($message = '', $code = 0, /*\*/Exception $previous = NULL)
{
if (version_compare(PHP_VERSION , '5.3', '<')) {
$this->previous = $previous;
Expand Down
2 changes: 1 addition & 1 deletion Nette/Application/Exceptions/BadRequestException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BadRequestException extends /*\*/Exception
protected $defaultCode = 404;


function __construct($message = '', $code = 0, /*\*/Exception $previous = NULL)
public function __construct($message = '', $code = 0, /*\*/Exception $previous = NULL)
{
if ($code < 200 || $code > 504) {
$code = $this->defaultCode;
Expand Down
4 changes: 0 additions & 4 deletions Nette/Application/Exceptions/BadSignalException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../../Application/Exceptions/BadRequestException.php';



/**
* Signal exception.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Application/Exceptions/ForbiddenRequestException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../../Application/Exceptions/BadRequestException.php';



/**
* Forbidden request exception - access denied.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Application/Exceptions/InvalidPresenterException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../../Application/Exceptions/InvalidLinkException.php';



/**
* The exception that is thrown when a presenter cannot be loaded.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Application/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../Object.php';



/**
* Lazy encapsulation of PresenterComponent::link().
* Do not instantiate directly, use PresenterComponent::lazyLink()
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@



require_once dirname(__FILE__) . '/../Application/Control.php';

require_once dirname(__FILE__) . '/../Application/IPresenter.php';



/**
* Presenter object represents a webpage instance. It executes all the logic for the request.
*
Expand Down
8 changes: 0 additions & 8 deletions Nette/Application/PresenterComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@



require_once dirname(__FILE__) . '/../ComponentContainer.php';

require_once dirname(__FILE__) . '/../Application/ISignalReceiver.php';

require_once dirname(__FILE__) . '/../Application/IStatePersistent.php';



/**
* PresenterComponent is the base class for all presenters components.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Application/PresenterLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../Application/IPresenterLoader.php';



/**
* Default presenter loader.
*
Expand Down
2 changes: 0 additions & 2 deletions Nette/Application/PresenterRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

/*namespace Nette\Application;*/

require_once dirname(__FILE__) . '/../FreezableObject.php';



/**
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Responses/DownloadResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IPresenterResponse.php';



/**
* File download response.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Responses/ForwardingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IPresenterResponse.php';



/**
* Forwards to new request.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Responses/JsonResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IPresenterResponse.php';



/**
* JSON response used for AJAX requests.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Responses/RedirectingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IPresenterResponse.php';



/**
* Redirects to new request.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Responses/RenderResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IPresenterResponse.php';



/**
* Rendering presenter response.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Routers/CliRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IRouter.php';



/**
* The unidirectional router for CLI. (experimental)
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Routers/MultiRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Application/IRouter.php';

require_once dirname(__FILE__) . '/../../Collections/ArrayList.php';



/**
* The router broker.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Routers/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IRouter.php';



/**
* The bidirectional route is responsible for mapping
* HTTP request to a PresenterRoute object for dispatch and vice-versa.
Expand Down
6 changes: 0 additions & 6 deletions Nette/Application/Routers/SimpleRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../../Object.php';

require_once dirname(__FILE__) . '/../../Application/IRouter.php';



/**
* The bidirectional route for trivial routing via query string.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Caching/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../Object.php';



/**
* Implements the cache for a application.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Caching/DummyStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Object.php';

require_once dirname(__FILE__) . '/../Caching/ICacheStorage.php';



/**
* Cache dummy storage.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Caching/FileStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Object.php';

require_once dirname(__FILE__) . '/../Caching/ICacheStorage.php';



/**
* Cache file storage.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Caching/MemcachedStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Object.php';

require_once dirname(__FILE__) . '/../Caching/ICacheStorage.php';



/**
* Memcached storage.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Collections/ArrayList.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Collections/Collection.php';

require_once dirname(__FILE__) . '/../Collections/IList.php';



/**
* Provides the base class for a generic list (items can be accessed by index).
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Collections/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@



require_once dirname(__FILE__) . '/../Collections/ICollection.php';



/**
* SPL ArrayObject customization.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Collections/Hashtable.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Collections/Collection.php';

require_once dirname(__FILE__) . '/../Collections/IMap.php';



/**
* The exception that is thrown when the key specified for accessing
* an element in a collection does not match any key.
Expand Down
4 changes: 0 additions & 4 deletions Nette/Collections/IList.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../Collections/ICollection.php';



/**
* Represents a collection of objects that can be individually
* accessed by index (ordered collection)
Expand Down
4 changes: 0 additions & 4 deletions Nette/Collections/IMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../Collections/ICollection.php';



/**
* Represents a generic collection of key/value pairs.
*
Expand Down
4 changes: 0 additions & 4 deletions Nette/Collections/ISet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@



require_once dirname(__FILE__) . '/../Collections/ICollection.php';



/**
* A collection that contains no duplicate elements.
*
Expand Down
6 changes: 0 additions & 6 deletions Nette/Collections/Set.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@



require_once dirname(__FILE__) . '/../Collections/Collection.php';

require_once dirname(__FILE__) . '/../Collections/ISet.php';



/**
* Provides the base class for a collection that contains no duplicate elements.
*
Expand Down

0 comments on commit 9d6006d

Please sign in to comment.