StackOverflow Questions for Tag: psr-12

klokop
klokop

Reputation: 2410

Tell phpcs to use a different indent inside control structures

Score: 0

Views: 379

Answers: 4

Read More
Nicolas
Nicolas

Reputation: 1474

PhpStorm Catch sentence with multiple exception classes PSR-12 code style

Score: 0

Views: 96

Answers: 1

Read More
coderboy
coderboy

Reputation: 1859

Is the following code PSR-1 and PSR-12 compliant?

Score: 0

Views: 95

Answers: 0

Read More
danjarvis
danjarvis

Reputation: 10190

PHP | define() vs. const

Score: 779

Views: 271590

Answers: 9

Read More
NameX
NameX

Reputation: 59

Not operator or Strict comparison on false?

Score: 1

Views: 284

Answers: 1

Read More
IT_man2018
IT_man2018

Reputation: 53

Is it necessary to put space after $this keyword in OOP PHP according to PSRs?

Score: 1

Views: 339

Answers: 2

Read More
Gregory Boutte
Gregory Boutte

Reputation: 733

PhpStorm code style and PHP_CodeSniffer conflict: Multi-line function call not indented correctly; expected 12 spaces but found 16

Score: 2

Views: 1081

Answers: 0

Read More
Gino Pane
Gino Pane

Reputation: 5001

How many new lines before namespace declaration in PSR?

Score: 1

Views: 3154

Answers: 1

Read More
Theo
Theo

Reputation: 2792

Is using alternative PHP syntax for control structures PSR compliant? (when mixed with HTML)

Score: 2

Views: 860

Answers: 1

Read More
PeanutsMcgee
PeanutsMcgee

Reputation: 65

PSR-12 - method chaining, line breaks, and indentation

Score: 0

Views: 1470

Answers: 1

Read More
exigez
exigez

Reputation: 41

PSR12 Allow newline after closing parenthesis

Score: 3

Views: 432

Answers: 0

Read More
Libertie
Libertie

Reputation: 153

Trailing Whitespace and PSR-12 Formatting in Mixed PHP/HTML Files

Score: 1

Views: 551

Answers: 0

Read More
Tiago Mateus
Tiago Mateus

Reputation: 354

PHP var declaration best practices

Score: -1

Views: 743

Answers: 2

Read More
Dmitry Leiko
Dmitry Leiko

Reputation: 4372

PSR-12 if statement

Score: 0

Views: 1504

Answers: 1

Read More
Emerson Nunes
Emerson Nunes

Reputation: 456

Atom editor - set it to codeigniter standard - PSR12

Score: 0

Views: 363

Answers: 1

Read More
Matt Komarnicki
Matt Komarnicki

Reputation: 5422

Does PSR-12 say anything about the way how namespace imports and aliasing should be grouped and sorted?

Score: 1

Views: 1382

Answers: 1

Read More
Ernesto Allely
Ernesto Allely

Reputation: 861

PSR-12 and assigning same value to multiple variables

Score: 1

Views: 734

Answers: 1

Read More
Danny Peeters
Danny Peeters

Reputation: 13

Is there a way to break down a namespace in PHP?

Score: 1

Views: 1070

Answers: 1

Read More
Ernesto Allely
Ernesto Allely

Reputation: 861

PSR-12 and method chaining

Score: 4

Views: 1612

Answers: 0

Read More
Theodore R. Smith
Theodore R. Smith

Reputation: 23231

How can I Partially disable PHPCS' PSR-12 declare(strict_types=1) checks?

Score: 3

Views: 3730

Answers: 1

Read More
PreviousPage 1Next