Skip to content

Conversation

@GenieTim
Copy link

@GenieTim GenieTim commented Oct 8, 2022

No description provided.

Copy link
Owner

@pfilsx pfilsx left a comment

Choose a reason for hiding this comment

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

  1. Symgony 6 have not been fully implemented(some deps still ^4.0| ^5.0).
  2. Introduced mixed type-hints set strict php8 requirements, but the php7 requirement remains in the composer.json

"symfony/twig-bundle": "^4.0 || ^5.0",
"symfony/dependency-injection": "^4.0 || ^5.0",
"symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0",
"symfony/config": "^4.0 || ^5.0",
Copy link
Owner

Choose a reason for hiding this comment

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

missed ^6 version here

"symfony/framework-bundle": "^4.0 || ^5.0",
"symfony/framework-bundle": "^4.0 || ^5.0 || ^6.0",
"symfony/orm-pack": "*",
"symfony/twig-bundle": "^4.0 || ^5.0",
Copy link
Owner

Choose a reason for hiding this comment

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

missed ^6 version here

* The return value will be casted to boolean if non-boolean was returned.
*/
public final function offsetExists($offset)
public final function offsetExists(mixed $offset): bool
Copy link
Owner

Choose a reason for hiding this comment

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

mixed type-hint support added in PHP8, but in composer.json still PHP7.1 support

static::$kernel->getContainer()->get('twig'),
$stack,
static::$kernel->getContainer()->get('translator')
// static::$kernel->getContainer()->get('translator')
Copy link
Owner

Choose a reason for hiding this comment

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

please no commented code its a bad practice

@GenieTim GenieTim marked this pull request as draft November 17, 2022 07:50
@GenieTim
Copy link
Author

Thanks for the review and the comments, I should have probably marked this as a draft, as I have now. Until all tests are fixed, though that might yet take some time.

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.

2 participants