diff --git a/CHANGELOG.md b/CHANGELOG.md index ea8e7043..b89cd339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -133,7 +133,7 @@ - improved Clockwork rest api with only/except filters - improved handling of corrupted index records in file storage - improved cleaned up the code-base, added and improved comments, use modern php features -- removed Laravel total, initalization, boot and run timeline events +- removed Laravel total, initialization, boot and run timeline events - removed legacy clockwork.controller events - removed duplicate file/line information from collected metadata - fixed authentication route not being registered when web ui is disabled @@ -209,7 +209,7 @@ - improved Laravel events data source to include Laravel namespace in the default ignored events - improved Laravel views data source to strip view data prefixed with __ - improved PHP data source to not set request time for cli commands -- improved serializer to ommit data below depth limit, support debugInfo, jsonSerialize and toArray methods (partially implemented by mahagr, thanks!) +- improved serializer to omit data below depth limit, support debugInfo, jsonSerialize and toArray methods (partially implemented by mahagr, thanks!) - improved log to allow overriding serializer settings via context, no longer enabled toString by default - improved Request class now has pre-populated request time on creation - improved StackTrace helper with limit option, last method, fixed filter output keys @@ -357,7 +357,7 @@ - added new integration for vanilla PHP (thanks martbean) - added support for collecting authenticated user info -- added bunch of helper methods for adding data like databse queries or events to Clockwork +- added bunch of helper methods for adding data like database queries or events to Clockwork - added serializer options to the config files - updated web UI to match latest Chrome version - improved collecting of exceptions @@ -490,7 +490,7 @@ UPGRADING - update the required Clockwork version to ^2.0 in your composer.json - PHP 5.3 - no longer supported, you can continue using the latest 1.x version -- CodeIgniter - no longer supported, you can continue using the lastest 1.x version +- CodeIgniter - no longer supported, you can continue using the latest 1.x version - Slim 2 - update the imported namespace from Clockwork\Support\Slim to Clockwork\Support\Slim\Legacy - ability to register additional data sources via Clockwork config was removed, please call app('clockwork')->addDataSource(...) in your own service provider @@ -623,7 +623,7 @@ UPGRADING - added support for collecting emails and views data from Laravel - added --age argument to Laravel artisan clockwork::clean command, specifies how old the request data must be to be deleted (in hours) - improved Laravel service provider -- fixed compatibilty with latest Laravel 4.1 +- fixed compatibility with latest Laravel 4.1 1.3 NOTE: Clockwork\Request\Log::log method arguments have been changed from log($message, $level) to log($level, $message), levels are now specified via Psr\Log\LogLevel class, it's recommended to use shortcut methods for various levels (emergency, alert, critical, error, warning, notice, info and debug($message)) diff --git a/Clockwork/Clockwork.php b/Clockwork/Clockwork.php index 9a4a2dc0..b2c91f75 100644 --- a/Clockwork/Clockwork.php +++ b/Clockwork/Clockwork.php @@ -267,7 +267,7 @@ public function setStorage(StorageInterface $storage) return $this; } - // Get an authenitcator implementation + // Get an authenticator implementation public function getAuthenticator() { return $this->authenticator; diff --git a/Clockwork/DataSource/LaravelNotificationsDataSource.php b/Clockwork/DataSource/LaravelNotificationsDataSource.php index da0dd0f9..bda507c4 100644 --- a/Clockwork/DataSource/LaravelNotificationsDataSource.php +++ b/Clockwork/DataSource/LaravelNotificationsDataSource.php @@ -148,7 +148,7 @@ protected function updateLastNotification($notification) return true; } - // Resolve notification channnel specific data + // Resolve notification channel specific data protected function resolveChannelSpecific($event) { if (method_exists($event->notification, 'toMail')) { diff --git a/Clockwork/Request/Request.php b/Clockwork/Request/Request.php index 3a629a80..8f112953 100644 --- a/Clockwork/Request/Request.php +++ b/Clockwork/Request/Request.php @@ -358,7 +358,7 @@ public function timeline() return $this->currentTimeline; } - // Add a new overriden property + // Add a new overridden property public function override($property, $value) { $this->overrides[$property] = $value; diff --git a/Clockwork/Storage/Search.php b/Clockwork/Storage/Search.php index df13868c..ebe7833a 100644 --- a/Clockwork/Storage/Search.php +++ b/Clockwork/Storage/Search.php @@ -16,7 +16,7 @@ class Search public $name = []; public $type = []; - // Whether to stop search on the first not mathcing request + // Whether to stop search on the first not matching request public $stopOnFirstMismatch = false; // Create a new instance, takes search parameters and additional options diff --git a/Clockwork/Storage/SqlSearch.php b/Clockwork/Storage/SqlSearch.php index adc551e0..ecaa0907 100644 --- a/Clockwork/Storage/SqlSearch.php +++ b/Clockwork/Storage/SqlSearch.php @@ -22,7 +22,7 @@ public function __construct($search = []) $this->buildQuery(); } - // Creates a new isntance from a base Search class instance + // Creates a new instance from a base Search class instance public static function fromBase(Search $search = null) { return new static((array) $search); diff --git a/Clockwork/Support/Laravel/config/clockwork.php b/Clockwork/Support/Laravel/config/clockwork.php index 0dfc26ad..7635483b 100644 --- a/Clockwork/Support/Laravel/config/clockwork.php +++ b/Clockwork/Support/Laravel/config/clockwork.php @@ -296,7 +296,7 @@ // SQL database to use, can be a name of database configured in database.php or a path to a SQLite file 'storage_sql_database' => env('CLOCKWORK_STORAGE_SQL_DATABASE', storage_path('clockwork.sqlite')), - // SQL table name to use, the table is automatically created and udpated when needed + // SQL table name to use, the table is automatically created and updated when needed 'storage_sql_table' => env('CLOCKWORK_STORAGE_SQL_TABLE', 'clockwork'), // Maximum lifetime of collected metadata in minutes, older requests will automatically be deleted, false to disable diff --git a/Clockwork/Support/Vanilla/Clockwork.php b/Clockwork/Support/Vanilla/Clockwork.php index d9decfdc..640ca9b2 100644 --- a/Clockwork/Support/Vanilla/Clockwork.php +++ b/Clockwork/Support/Vanilla/Clockwork.php @@ -411,19 +411,19 @@ protected function incomingRequest() ]); } - // Return the underlaying Clockwork instance + // Return the underlying Clockwork instance public function getClockwork() { return $this->clockwork; } - // Pass any method calls to the underlaying Clockwork instance + // Pass any method calls to the underlying Clockwork instance public function __call($method, $args = []) { return $this->clockwork->$method(...$args); } - // Pass any static method calls to the underlaying Clockwork instance + // Pass any static method calls to the underlying Clockwork instance public static function __callStatic($method, $args = []) { return static::instance()->$method(...$args); diff --git a/Clockwork/Support/Vanilla/config.php b/Clockwork/Support/Vanilla/config.php index 97a37d23..8b0fe9da 100644 --- a/Clockwork/Support/Vanilla/config.php +++ b/Clockwork/Support/Vanilla/config.php @@ -65,7 +65,7 @@ // Collect only errors (requests with HTTP 4xx and 5xx responses) 'errors_only' => isset($_ENV['CLOCKWORK_REQUESTS_ERRORS_ONLY']) ? $_ENV['CLOCKWORK_REQUESTS_ERRORS_ONLY'] : false, - // Response time threshold in miliseconds after which the request will be marked as slow + // Response time threshold in milliseconds after which the request will be marked as slow 'slow_threshold' => isset($_ENV['CLOCKWORK_REQUESTS_SLOW_THRESHOLD']) ? $_ENV['CLOCKWORK_REQUESTS_SLOW_THRESHOLD'] : null, // Collect only slow requests @@ -158,7 +158,7 @@ 'storage_sql_username' => isset($_ENV['CLOCKWORK_STORAGE_SQL_USERNAME']) ? $_ENV['CLOCKWORK_STORAGE_SQL_USERNAME'] : null, 'storage_sql_password' => isset($_ENV['CLOCKWORK_STORAGE_SQL_PASSWORD']) ? $_ENV['CLOCKWORK_STORAGE_SQL_PASSWORD'] : null, - // SQL table name to use, the table is automatically created and udpated when needed + // SQL table name to use, the table is automatically created and updated when needed 'storage_sql_table' => isset($_ENV['CLOCKWORK_STORAGE_SQL_TABLE']) ? $_ENV['CLOCKWORK_STORAGE_SQL_TABLE'] : 'clockwork', // Maximum lifetime of collected metadata in minutes, older requests will automatically be deleted, false to disable