Closed sasa-b closed 3 years ago
@pamil I've added the PHP 8.0 in the github build.yaml and I've also bumped the Sylius version to ~1.10.0 there as the Admin Api has been extracted to a separate bundle in that version.
Any updates? How can I run the api v1 with php 8?
@dsbe-ak I've forked this bundle and use the fork for the time being https://github.com/sasa-b/SyliusAdminApiBundle. After updating the gitflow build file as requested it is failing now and I don't have time to dig deeper.
So this is only failing because of test "CustomerApiTest::it_returns_page_not_found_if_limit_is_set_to_0", correct? In my opinion this has nothing to do with the update to php 8.0 (test is also failing for php 7.4).
Is this test method necessary at all?
Thanks
replaced with #10
If we want to upgrade to Sylius 1.10.0 and keep the Sylius Admin Api bundle (point one in the upgrade guide https://github.com/Sylius/Sylius/blob/master/UPGRADE-1.10.md) while running it on PHP 8.0 we need this change in composer.json.