Skip to content

Commit

Permalink
remome larastan
Browse files Browse the repository at this point in the history
  • Loading branch information
fey committed Apr 7, 2020
1 parent 6409e03 commit 0051188
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 156 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Check lint
run: make lint

- name: Analyse by phpstan
run: make analyse

- name: Execute tests (Unit and Feature tests) via PHPUnit
run: make test

Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ start:
db-prepare:
php artisan migrate --seed

analyse:
composer phpstan analyse

lint:
composer phpcs

Expand Down
12 changes: 0 additions & 12 deletions app/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@

namespace App;

/**
* @property int $id
* @property string|null $log_name
* @property string $description
* @property int|null $subject_id
* @property string|null $subject_type
* @property int|null $causer_id
* @property string|null $causer_type
* @property \Illuminate\Support\Collection|null $properties
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
*/
class Activity extends \Spatie\Activitylog\Models\Activity
{
}
4 changes: 4 additions & 0 deletions app/Http/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

class Authenticate extends Middleware
{
/**
* @param \Illuminate\Http\Request $request
* @return string|void
*/
protected function redirectTo($request): ?string
{
if (!$request->expectsJson()) {
Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"heroku/heroku-buildpack-php": "^164.0",
"mockery/mockery": "^1.3",
"nunomaduro/collision": "~4.2",
"nunomaduro/larastan": "^0.5.0",
"phpunit/phpunit": "^9.0",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "*"
Expand Down Expand Up @@ -82,7 +81,6 @@
"phpcs": "phpcs",
"phpunit": "phpunit",
"phpcbf": "phpcbf",
"phpstan": "phpstan",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
Expand Down
123 changes: 6 additions & 117 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions phpstan.neon

This file was deleted.

0 comments on commit 0051188

Please sign in to comment.