Skip to content

Use strict types #352

@codedge

Description

@codedge

Hey @petemcfarlane, @djjohnsongeek, @arueckauer,

as discussed with @neenjaw in a new exercise an enhancement to the php tasks would be to enforce strict types by adding declare(strict_types=1); to every php file.

This should be already in the skeleton files offered by the exercise.io platform, so that a possible file could look like this:

<?php

declare(strict_types=1);

function xyz() {

}

What do you think?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions