Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ AWS_BUCKET=
AWS_DEFAULT_REGION=fra1
AWS_ENDPOINT=https://fra1.digitaloceanspaces.com
AWS_CDN_ENDPOINT=https://srv-dev-space-fra-001.fra1.cdn.digitaloceanspaces.com
AWS_PATH=
AWS_PATH=www-paperflakes.ch
AWS_SECRET_ACCESS_KEY=

VITE_APP_NAME="${APP_NAME}"
Expand Down
86 changes: 0 additions & 86 deletions .github/workflows/assets_staging.yml

This file was deleted.

1 change: 0 additions & 1 deletion app/Helpers/HelperDevice.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class HelperDevice
{
public function isMobileDevice(): bool
{
// @phpstan-ignore-next-line
return Arr::has($_SERVER, 'HTTP_USER_AGENT') && Str::contains($_SERVER['HTTP_USER_AGENT'], ['mobile', 'Mobile']);
}
}
1 change: 0 additions & 1 deletion app/Models/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class Activity extends Model
{
/** @phpstan-ignore-next-line */
use HasFactory;

public const array RELATIONS = [
Expand Down
2 changes: 0 additions & 2 deletions app/Models/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
class Role extends BaseRole
{
use HasActivity;

/** @phpstan-ignore-next-line */
use HasFactory;
}
3 changes: 0 additions & 3 deletions app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
class User extends Authenticatable implements MustVerifyEmailContract
{
use HasActivity;

/** @phpstan-ignore-next-line */
use HasFactory;

use HasRoles;
use HasUuid;
use MustVerifyEmail;
Expand Down
16 changes: 2 additions & 14 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,8 @@ parameters:
- app

# Level 9 is the highest level
level: 9
level: 1

ignoreErrors:
- "#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ has parameter \\$[a-zA-Z0-9_]+ with no value type specified in iterable type array#"
- "#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ return type has no value type specified in iterable type array#"
- "#Property [a-zA-Z0-9\\$\\_\\\\:\\(\\)]+ type has no value type specified in iterable type array#"
- "#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ return type with generic class [a-zA-Z0-9\\_\\\\]+ does not specify its types: [a-zA-Z0-9\\_]+#"
- "#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ has parameter \\$[a-zA-Z0-9_]+ with generic class [a-zA-Z0-9\\_\\\\]+ but does not specify its types: [a-zA-Z0-9\\_]+#"


excludePaths:
- .\app\Nova\Resources\Resource.php
- .\app\Nova\Resources\Role.php
- .\app\Nova\Resources\Activity.php
- .\app\Nova\Resources\Configuration.php?
- .\app\Nova\Resources\DocuwareConfiguration.php?
- .\app\Providers\NovaServiceProvider.php?
excludePaths: