Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Aug 1, 2022

Description
Fixes #6306

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

If we use new syntax in new PHP version when dropping older PHP version support,
syntax error occurs before the PHP version check.
@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Aug 1, 2022
ob_end_flush(); // @codeCoverageIgnore
}

// Throws new PageNotFoundException and remove exception message on production.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this got scooped up by mistake?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, yes. It is not related to this PR.

@totoprayogo1916
Copy link
Contributor

then https://github.com/kenjis/CodeIgniter4/blob/6ac3a7bfe48e72b687c5727cd60f88b9724da4ac/system/Language/en/Core.php#L17
should be removed

@kenjis kenjis merged commit 71edcc9 into codeigniter4:develop Aug 3, 2022
@kenjis kenjis deleted the fix-php-version-check branch August 3, 2022 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parse error: syntax error, unexpected '_536_000' (T_STRING), expecting ')'

3 participants