Skip to content

Fix incorrect setup instructions in README.md - #23

Merged
janopae merged 2 commits into
masterfrom
212955-update-readme
Jul 30, 2026
Merged

Fix incorrect setup instructions in README.md#23
janopae merged 2 commits into
masterfrom
212955-update-readme

Conversation

@janopae

@janopae janopae commented Jul 30, 2026

Copy link
Copy Markdown
Member

The installation guide contained several errors that would break a fresh
setup. The routing resource pointed at
@WebfactoryNewsletterRegistrationBundle/src/Controller.php, but the
bundle class lives in src/, so the bundle path already resolves to that
directory and the reference expanded to a non-existent src/src/Controller.php;
it now points at @WebfactoryNewsletterRegistrationBundle/Controller.php.

The entity classes were referenced under AppBundle\Entity\* in the
resolve_target_entities mapping, the service definitions and the
"Adding fields" section, while the shipped templates declare them under
AppBundle\Newsletter\Entity\*. All references now use the latter
namespace consistently, and the template copy target and Doctrine mapping
directory (src/AppBundle/Newsletter/Entity/) match it as well.

Further corrections: %kernel.root_dir% (removed after Symfony 4) is
replaced by %kernel.project_dir%; the // labels inside YAML blocks
are turned into valid # comments; the bundles.php path is no longer
prefixed with src/, which is a project-specific convention rather than
a Symfony default; the RecpientFactoryInterface typo is corrected to
RecipientFactoryInterface; and a couple of grammar and naming
inconsistencies are cleaned up.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

janopae and others added 2 commits July 30, 2026 16:28
The installation guide contained several errors that would break a fresh
setup. The routing resource pointed at
`@WebfactoryNewsletterRegistrationBundle/src/Controller.php`, but the
bundle class lives in `src/`, so the bundle path already resolves to that
directory and the reference expanded to a non-existent `src/src/Controller.php`;
it now points at `@WebfactoryNewsletterRegistrationBundle/Controller.php`.

The entity classes were referenced under `AppBundle\Entity\*` in the
`resolve_target_entities` mapping, the service definitions and the
"Adding fields" section, while the shipped templates declare them under
`AppBundle\Newsletter\Entity\*`. All references now use the latter
namespace consistently, and the template copy target and Doctrine mapping
directory (`src/AppBundle/Newsletter/Entity/`) match it as well.

Further corrections: `%kernel.root_dir%` (removed after Symfony 4) is
replaced by `%kernel.project_dir%`; the `//` labels inside YAML blocks
are turned into valid `#` comments; the `bundles.php` path is no longer
prefixed with `src/`, which is a project-specific convention rather than
a Symfony default; the `RecpientFactoryInterface` typo is corrected to
`RecipientFactoryInterface`; and a couple of grammar and naming
inconsistencies are cleaned up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@janopae janopae changed the title 212955 update readme Update README.md Jul 30, 2026
@janopae
janopae merged commit ccaea21 into master Jul 30, 2026
3 checks passed
@janopae
janopae deleted the 212955-update-readme branch July 30, 2026 15:04
@janopae janopae changed the title Update README.md Fix incorrect setup instructions in README.md Jul 30, 2026
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