Skip to content

Commit

Permalink
Tiny typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fridzema committed Feb 3, 2022
1 parent 7252aa7 commit 524d7d6
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Clockwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Clockwork/DataSource/LaravelNotificationsDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Storage/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Storage/SqlSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Support/Laravel/config/clockwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Clockwork/Support/Vanilla/Clockwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions Clockwork/Support/Vanilla/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 524d7d6

Please sign in to comment.