Commit Graph

10 Commits

Author SHA1 Message Date
Sami Mazouz
da1bf8da21
chore(phpstan): enable phpstan in bundled extensions (#3667)
* feat(phpstan): pick up extended model relations typings
* feat(phpstan): pick up extended model date attributes
* feat(core): introduce `castAttribute` extender
Stops using `dates` as it's deprecated in laravel 8
* feat(phpstan): pick up extended model attributes through casts
* fix: extenders not resolved when declared namespace
* fix(phpstan): new model attributes are always nullable
* chore(phpstan): add helpful cache clearing command
* Apply fixes from StyleCI
* chore: improve extend files provider logic
* chore: rename `castAttribute` to just `cast`
* chore: update phpstan package to detect `cast` method
* chore: enable phpstan in bundled extensions
* chore: rebasing conflicts
* chore: rebasing conflicts
* chore: typings for latest 1.7 changes

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-19 21:49:38 +01:00
Alexander Skvortsov
be59e77a01 Move in visibility scoping from tags, add automated testing. 2021-05-11 20:04:52 -04:00
Alexander Skvortsov
506985e881 Update for beta 16 2021-03-13 17:03:56 -05:00
Sami Mazouz
c6e14394fd Use new extenders (#34) 2020-12-08 11:43:56 -05:00
Alexander Skvortsov
1e64ac9376 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:24:35 -04:00
Clark Winkelmann
2f2c1871d7 Add missing route for the flags page 2020-05-20 01:09:41 +02:00
Franz Liedke
cf764d2c00 Use new Model extender 2020-04-24 15:55:19 +02:00
Franz Liedke
e64ca03985 Apply fixes from StyleCI 2019-11-29 23:02:02 +00:00
Franz Liedke
8aab6111ec Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-15 16:47:41 +01:00
Toby Zerner
795d7c4b3f Rename bootstrap.php 2018-09-21 11:46:57 +09:30