-
In a SaaS kind of app, I want the Roles to be tenant specific, meaning:
Roles for App X | Roles for App Y
------------ | -------------
Owner | Superintendent
Worker| All mighty
Maintenance| Sup…
-
- Larastan Version: 8.6.7
- `--level` used: max
- Pull request with failing test: https://github.com/nunomaduro/larastan/pull/1039
### Description
Larastan finds an issue when calling the method…
-
I have a problem, I use master and slave postgres. master is located far from the backend, and slave is nearby. This package is automatically connected by default to the master - write connection, the…
-
Post -> comments (3).
One comment is already deleted.
Post::first()->delete();
After call this all 3 comments has deleted_at set in one moment.
Is this how it should works?
Restoring post cause …
-
- Larastan Version: 1.0.1
- `--level` used: 5
### Description
Custom model properties need to be defined for phpstan to know of their existence. But if `$timestamps = true` is set or the `SoftD…
-
- Laravel Version: 8.71.0
- PHP Version: 8.0.2
- Database Driver & Version: MySQL 8.0
### Description:
The testing helpers `assertSoftDeleted()` and `assertNotSoftDeleted()` both accept ei…
-
- Laravel Version: 8.61.0
- Nova Version: 3.29.0
- PHP Version: 7.4
- Database Driver & Version: MySQL 8.0.25
- Operating System and Version: macOS Big Sur
- Browser type and version: Safari
#…
-
1. There is an `expirable()` blueprint method, but no opposite (`removeExpirable()` or similar):
```php
public function removeExpirable()
{
return function ($columnN…
-
- Laravel Version: 7.29.3
- Nova Version: 3.15.0
- PHP Version: 7.4.12
- Database Driver & Version: MySQL 14.14
- Operating System and Version: Ubuntu 16.04.7 LTS
- Browser type and version: Chro…
-
It would be really helpful for traits to be able to define a set of requirements, that the classes that use these traits need to fulfill.
## Motivation
Often times, traits are created to be use…