Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Oct 31, 2021

Description

See "Usage of static Variables in Inherited Methods"
https://www.php.net/manual/en/migration81.incompatible.php

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

It makes escape chars wrong on PHP 8.1.
See
Usage of static Variables in Inherited Methods
https://www.php.net/manual/en/migration81.incompatible.php
To prevent inappropriate behavior when inheriting by using the values of the parent class on PHP 8.1.

Usage of static Variables in Inherited Methods
https://www.php.net/manual/en/migration81.incompatible.php
@kenjis kenjis mentioned this pull request Oct 31, 2021
15 tasks
@paulbalandan paulbalandan merged commit 4034dc4 into codeigniter4:develop Oct 31, 2021
@kenjis kenjis deleted the remove-static-for-php81 branch October 31, 2021 11:31
@MGatner
Copy link
Member

MGatner commented Oct 31, 2021

Glad to see these go. Inline static variables in classes weird me out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants