Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency atk4/ui to v2.4.0 - autoclosed #53

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
atk4/ui (source) require-dev minor 2.3.5 -> 2.4.0

Release Notes

atk4/ui

v2.4.0

Compare Source

This release brings a lot of focus code-sense and hinting. If you are using modern PHP IDE, you will feel benefit of autocompletion almost everywhere.

Magical hintable fields

The hintable support is another major game changer in sense of cleaness and maintainability. Annotate model fields and used them magically as a real properties.

Usage
add Model class phpdoc:

/**
 * @​property string   $name   @​Atk4\Field()
 * @​property int      $age    @​Atk4\Field()
 * @​property Standard $mother @​Atk4\RefOne()
 */
class X extends Model
{ ...

Use the properties either as standard value property:

$model->age // instead of  $model->get('age')
$model->age = 25 // instead of $model->set('age', 25)

You will also notice that adding fields in examples is using a different syntax:

$this->addField($this->fieldName()->age); // instead of addField('age');

What’s Changed

Breaking Changes

Major Features


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency atk4/ui to v2.4.0 Update dependency atk4/ui to v2.4.0 - autoclosed Apr 17, 2021
@renovate renovate bot closed this Apr 17, 2021
@renovate renovate bot deleted the renovate/atk4-ui-2.x branch April 17, 2021 07:50
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.

1 participant