Skip to content

Conversation

@jmleroux
Copy link
Contributor

  • Update documentation about Docker usage for dev
  • Introduce Makefile instead of Composer scripts. I believe this is the most widespread practice in the Symfony ecosystem.
  • Update README with some generated images
  • Mutualize Docker compose configuration

@jmleroux jmleroux marked this pull request as ready for review October 27, 2025 10:33
- name: Run tests
run: CONTAINER=${{ matrix.container }} make tests

tests-php84:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Extracted from the matrix while it is not stable

- name: Coding Standard Checks
run: docker compose run --rm ${{ matrix.container }} bin/php-cs-fixer fix --verbose --diff --dry-run
- name: Run tests
run: CONTAINER=${{ matrix.container }} make tests
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Running tests with make will also validate the target works as expected

@jmleroux
Copy link
Contributor Author

See kartsims/easysvg#39 for an EasySVG fix for PHP 8.4

@garak garak added the hacktoberfest-accepted https://hacktoberfest.digitalocean.com/ label Oct 31, 2025
@jmleroux
Copy link
Contributor Author

jmleroux commented Nov 5, 2025

See kartsims/easysvg#39 for an EasySVG fix for PHP 8.4

I'try to have some news about the fix.

@garak
Copy link
Collaborator

garak commented Nov 6, 2025

See kartsims/easysvg#39 for an EasySVG fix for PHP 8.4

I'try to have some news about the fix.

From what I see in the linked issue, there's only a deprecation.
That should not prevent us from using EasySVG on PHP 8.4 (or on PHP 8.5, either)

run: |
docker compose run --rm php84 bin/php-cs-fixer fix --verbose --diff --dry-run
docker compose run --rm php84 bin/phpunit
docker compose run --rm php84 php -d error_reporting='E_ALL & ~E_DEPRECATED' bin/behat --snippets-for
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could also hide deprecation for all tests. But it's like hiding the dust under the carpet.
Thoughts?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hiding all deprecations for php 8.4 is acceptable for me. We can still remove the hiding later, when hopefully easysvg will have solved its problems.

@jmleroux
Copy link
Contributor Author

jmleroux commented Nov 7, 2025

Last commit is a demo with deprecation ignored for all behat tests.
It can be reverted if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted https://hacktoberfest.digitalocean.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants