certificationy / symfony-pack

A series of questions to prepare for the Symfony certification
https://certification.symfony.com/
MIT License
326 stars 130 forks source link

Make the certification pack valid for both Symfony 2 and Symfony 3 and Symfony 4 #51

Open mickaelandrieu opened 7 years ago

mickaelandrieu commented 7 years ago
timonf commented 6 years ago

Maybe you could think about the yaml format. Would be great to have something like:

questions:
    -
        question: 'Which of these response objects does not exists?'
        versions: ['symfony2', 'symfony3', 'symfony4']
        answers:
            - {value: XmlResponse,        correct: true}
            - {value: JsonResponse,       correct: false}
            - {value: BinaryFileResponse, correct: false}
            - {value: RedirectResponse,   correct: false}
20uf commented 6 years ago

Yes already discussed and I find it relevant, we can apply it for php versions etc.

timonf commented 6 years ago

@20uf Discussed on Gitter or on another issue?

20uf commented 6 years ago

@timonf I don't know anymore, maybe verbally with @mickaelandrieu.

mickaelandrieu commented 6 years ago

I'm more in favor of a deck by version of Symfony, but as Symfony 2 will be deprecated we will probably update this deck for Symfony3 & Symfony4. I don't have time to work on it right now, I'll accept reviews of questions with pleasure :)

And this deck "works", some certified people told me the questions were "good" :+1:

Koc commented 6 years ago
14 Which function are mandatory to your command class ? | execute(InputInterface $input, OutputInterface $output), configure()            | ✗      |      |

Does configure is mandatory for 4.0? We can set default command name using static property or inside DI tag attribute.

mickaelandrieu commented 6 years ago

@Koc it's outdated, can you make a pull request please ?

rzilin commented 6 years ago

why just do not have different branch per symfony version ? by a way symfony 4 cert is out