Skip to content

Updated the app to Symfony 4.2.x-dev #865

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

Merged
merged 1 commit into from
Oct 5, 2018
Merged

Updated the app to Symfony 4.2.x-dev #865

merged 1 commit into from
Oct 5, 2018

Conversation

javiereguiluz
Copy link
Member

As we usually do, now that Symfony 4.2 is in feature freeze, let's update this app to 4.2.x-dev so we can detect issues/bugs/deprecations early and report to the appropriate repositories.

@javiereguiluz javiereguiluz merged commit f1840d2 into symfony:master Oct 5, 2018
javiereguiluz added a commit that referenced this pull request Oct 5, 2018
This PR was merged into the master branch.

Discussion
----------

Updated the app to Symfony 4.2.x-dev

As we usually do, now that Symfony 4.2 is in feature freeze, let's update this app to `4.2.x-dev` so we can detect issues/bugs/deprecations early and report to the appropriate repositories.

Commits
-------

f1840d2 Updated the app to Symfony 4.2.x-dev
javiereguiluz added a commit that referenced this pull request Oct 5, 2018
This PR was merged into the master branch.

Discussion
----------

Fixed the has_role() deprecation

This is a deprecation introduced by the upgrade to Symfony 4.2 in #865.

```
14x: Using the "has_role()" function in security expressions is deprecated since Symfony 4.2, use "is_granted()" instead.
    2x in BlogControllerTest::testAdminNewPost from App\Tests\Controller\Admin
    2x in BlogControllerTest::testAdminEditPost from App\Tests\Controller\Admin
    2x in BlogControllerTest::testAdminDeletePost from App\Tests\Controller\Admin
    2x in UserControllerTest::testAccessDeniedForAnonymousUsers from App\Tests\Controller
    2x in UserControllerTest::testEditUser from App\Tests\Controller
    2x in UserControllerTest::testChangePassword from App\Tests\Controller
    1x in BlogControllerTest::testAdminBackendHomePage from App\Tests\Controller\Admin
    1x in BlogControllerTest::testAdminShowPost from App\Tests\Controller\Admin
```

Commits
-------

51b5135 Fixed the has_role() deprecation
javiereguiluz added a commit that referenced this pull request Oct 5, 2018
This PR was merged into the master branch.

Discussion
----------

Fixed the DateTime constraint deprecation

This is a deprecation introduced by the upgrade to Symfony 4.2 in #865.

```
3x: Validating a \DateTimeInterface with "Symfony\Component\Validator\Constraints\DateTime" is deprecated since version 4.2. Use "Symfony\Component\Validator\Constraints\Type" instead or remove the constraint if the underlying model is already type hinted to \DateTimeInterface.
    1x in BlogControllerTest::testAdminNewPost from App\Tests\Controller\Admin
    1x in BlogControllerTest::testAdminEditPost from App\Tests\Controller\Admin
    1x in BlogControllerTest::testNewComment from App\Tests\Controller
```

Commits
-------

aec924a Fixed the DateTime constraint deprecation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant