Allow custom messages in DeprecatedServicePropertyTrait
1 open thread
Closes #3519400
Merge request reports
Activity
added 6 commits
-
897bd58f...4680f1ab - 4 commits from branch
project:11.x
- 4ad2b043 - Merge branch '11.x' into 3519400-update-deprecatedservicepropertytrait-for
- 45086004 - Fix test
-
897bd58f...4680f1ab - 4 commits from branch
- Resolved by Stephen Mustgrave
- Resolved by Stephen Mustgrave
added 67 commits
-
45086004...62ad3f04 - 63 commits from branch
project:11.x
- 58087f90 - Allow custom messages in DeprecatedServicePropertyTrait
- c19d9c73 - Add tests
- 74147b42 - Fix test
- 693fbabc - Addressed feedback
Toggle commit list-
45086004...62ad3f04 - 63 commits from branch
18 18 } 19 19 20 20 if (isset($this->deprecatedProperties[$name])) { 21 $service_name = $this->deprecatedProperties[$name]; 22 $class_name = static::class; 21 if (is_string($this->deprecatedProperties[$name])) { 22 $service_name = $this->deprecatedProperties[$name]; 23 $class_name = static::class; 24 $next_major_version = intval(ceil((float) \Drupal::VERSION)) . '.0.0'; Can't this be simplified to just use intval + 1? See https://3v4l.org/mI7aC
Please register or sign in to reply