stefanzweifel / screeenly

πŸ“Έ Screenshot as a Service
https://secure.screeenly.com
MIT License
495 stars 102 forks source link

Bump wnx/laravel-stats from 1.9.2 to 2.0.0 #301

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps wnx/laravel-stats from 1.9.2 to 2.0.0.

Release notes *Sourced from [wnx/laravel-stats's releases](https://github.com/stefanzweifel/laravel-stats/releases).* > ## v2.0.0 > Almost 2 years after the first major release of *stats* I'm thrilled to release 2.0. πŸŽ‰ > > Under the hood a lot has changed: Many internal classes have been rewritten to pave the path for new cool features (more about them soon). Performance for bigger projects wich more than 1000 classes has also been improved, by using more caches internally. > > On the side of breaking changes, support for older PHP, Laravel and Lumen versions has been removed. > Also checkout the "Upgrade Guide" below to see, if your apps works as intended with version 2.0. > > ## New Features > > ### Differentiation between Application Code and Test Code > One of the statistics *stats* shows you, is the ratio between application code and test code. > The previous versions had a naive approach of determining if a class belongs to the application or test code (If the class wasn't a test, it counted towards the application code). > In 2.0, each Component can now be explicitly be configured to count towards application or test code. > > For example all Laravel Nova Classifiers (Actions, Filters, Lenses and Resources) have been configured to **NOT** count towards the application **AND NOT** towards the test code. > If you disagree with this decision, feel free to [open an issue](https://github.com/stefanzweifel/laravel-stats/issues/new). Im open for discussions! > > > ### Verbose Mode > Previously, it was impossible to see which classes have been classified as "Others". Version 2.0 now supports a verbose option – triggered by adding `-v` or `--verbose` to the command call – which will list all recognized classes for a component. > > **Example output for a fresh Laravel 6.0 app:** > > ```shell > php artisan stats --verbose > +----------------------------+----------------------------+---------+---------------+-----+------+-------------+ > | Name | Classes | Methods | Methods/Class | LoC | LLoC | LLoC/Method | > +----------------------------+----------------------------+---------+---------------+-----+------+-------------+ > | Middlewares | 7 | 2 | 0.29 | 146 | 26 | 13 | > | - App\Http\Middleware\VerifyCsrfToken | 0 | 0 | 24 | 4 | 0 | > | - App\Http\Middleware\RedirectIfAuthenticated | 1 | 1 | 26 | 5 | 5 | > | - App\Http\Middleware\TrimStrings | 0 | 0 | 18 | 3 | 0 | > | - App\Http\Middleware\Authenticate | 1 | 1 | 21 | 3 | 3 | > | - App\Http\Middleware\TrustProxies | 0 | 0 | 23 | 5 | 0 | > | - App\Http\Middleware\CheckForMaintenanceMode | 0 | 0 | 17 | 3 | 0 | > | - App\Http\Middleware\EncryptCookies | 0 | 0 | 17 | 3 | 0 | > +----------------------------+----------------------------+---------+---------------+-----+------+-------------+ > | Migrations | 3 | 6 | 2 | 103 | 31 | 5.17 | > | - CreatePasswordResetsTable | 2 | 2 | 32 | 8 | 4 | > | - CreateUsersTable | 2 | 2 | 36 | 12 | 6 | > | - CreateFailedJobsTable | 2 | 2 | 35 | 11 | 5.5 | > +----------------------------+----------------------------+---------+---------------+-----+------+-------------+ > | Models | 1 | 0 | 0 | 39 | 8 | 0 | > | - App\User | 0 | 0 | 39 | 8 | 0 | > +----------------------------+----------------------------+---------+---------------+-----+------+-------------+ > | Seeders | 1 | 1 | 1 | 16 | 1 | 1 | > | - DatabaseSeeder | 1 | 1 | 16 | 1 | 1 | > +----------------------------+----------------------------+---------+---------------+-----+------+-------------+ > | Service Providers | 5 | 9 | 1.8 | 186 | 28 | 3.11 | > ... (truncated)
Changelog *Sourced from [wnx/laravel-stats's changelog](https://github.com/stefanzweifel/laravel-stats/blob/master/CHANGELOG.md).* > ## [v2.0.0](https://github.com/stefanzweifel/laravel-stats/compare/v1.9.2...v2.0.0) - 2019-09-01 > > Checkout the [Release and Upgrade Guide](https://github.com/stefanzweifel/laravel-stats/releases/tag/v2.0.0) for more. > > ### Added > - Add Verbose Mode > - Add ability to filter output by one or multiple component names > > ### Changed > - Rename `getName()` to `name()` [#147](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/pull/147) > - Rename "LOC" to "LLOC" [#148](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/pull/148) > - Refactored Internal Classes [#150](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/pull/150) > + Move some of the logic from `ComponentFinder` to `ClassesFinder` > + Update `Classifier`-contract and update existing Classifiers to implement new contract > + Move tests for each existing Classifier into their own test files > > ### Removed > - Drop support for Laravel 5.5, Lumen 5.5 and PHP 7.0 [#133](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/pull/133) > - Drop support for Laravel 5.6, 5.7 and PHP 7.1 [#151](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/pull/151)
Commits - [`1b3c60b`](https://github.com/stefanzweifel/laravel-stats/commit/1b3c60bfbf81233973cbc2a63be4e6f83b2d6205) Tag v2.0.0 - [`f869ccb`](https://github.com/stefanzweifel/laravel-stats/commit/f869ccb39124f0ee7dfd57add14d34b6798cfa3d) Merge pull request [#150](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/issues/150) from stefanzweifel/develop - [`998727d`](https://github.com/stefanzweifel/laravel-stats/commit/998727dd5cc7ed0547cef08126056d3f52971350) Update README - [`f4ffc00`](https://github.com/stefanzweifel/laravel-stats/commit/f4ffc00a96981b9e084269cd16e34be69f09a943) Update Screenshot - [`d1b2194`](https://github.com/stefanzweifel/laravel-stats/commit/d1b2194a82690d7724f176fb94c25bcc2ea9f90e) Merge branch 'master' into develop - [`c6fc2e0`](https://github.com/stefanzweifel/laravel-stats/commit/c6fc2e0ba2d6c9dcd823a4560f57265e1a23f29a) Nitpicking - [`7cad245`](https://github.com/stefanzweifel/laravel-stats/commit/7cad245ef48706c723f439e40b55c98fb4e120e1) Update Changelog - [`92c2cda`](https://github.com/stefanzweifel/laravel-stats/commit/92c2cda90828db62e0b0c345b19467cef0ae626a) Merge pull request [#151](https://github-redirect.dependabot.com/stefanzweifel/laravel-stats/issues/151) from stefanzweifel/refactor/drop-support-for-l56-l57-... - [`e9766c9`](https://github.com/stefanzweifel/laravel-stats/commit/e9766c9a2696325a032996349b82bc85619fd5bf) Apply fixes from StyleCI - [`bfed13d`](https://github.com/stefanzweifel/laravel-stats/commit/bfed13db96ba280da39de1471c650c7aaf673a08) Drop Support for PHP 7.1 - Additional commits viewable in [compare view](https://github.com/stefanzweifel/laravel-stats/compare/v1.9.2...v2.0.0)


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because it includes a major update to a production dependency.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.