Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

[BE] to be defined #6

@mstaack

Description

@mstaack

to be defined

  • Test Annotation
    • Using data providers needs the notation at the bottom
/** @test */
public function it_does_sth()

// VS

/**
 * @test
 */
public function it_does_sth()
  • action naming
    • AttachModelToRelationAction vs AttachModelToRelationAction
    • class naming says SHOULD suffix - but actions are very special classes as they are more like functions.
  • pivot accessor
    • pivot vs attribute_category
    • MUST use pivot table name as accessor
  • PSR-12 - single use statements
  • abort() & throw() helper

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions