Grezor / ChopTaPhoto_2020

🛒 [2019/2020] Creation of an e-commerce site for my bts exam. I had to integrate a connection service for the client as well as create the Choptaphoto database and implement the reservation of photo terminals / purchase of photo albums

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors PHPCS

Grezor opened this issue · comments

FILE: D:\DEV\DGithub\ChopTaPhoto_2020\app\productDetails.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 9 | WARNING | Line exceeds 120 characters; contains 121
   |         | characters (Generic.Files.LineLength.TooLong)
----------------------------------------------------------------------


FILE: D:\DEV\DGithub\ChopTaPhoto_2020\app\products.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 67 | WARNING | Line exceeds 120 characters; contains 121
    |         | characters (Generic.Files.LineLength.TooLong)
----------------------------------------------------------------------


FILE: D:\DEV\DGithub\ChopTaPhoto_2020\app\router\router.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | A file should declare new symbols (classes, functions,
   |         | constants, etc.) and cause no other side effects, or
   |         | it should execute logic with side effects, but should
   |         | not do both. The first symbol is defined on line 5 and
   |         | the first side effect is on line 3.
   |         | (PSR1.Files.SideEffects.FoundWithSymbols)
----------------------------------------------------------------------


FILE: D:\DEV\DGithub\ChopTaPhoto_2020\include\orders.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | A file should declare new symbols (classes, functions,
   |         | constants, etc.) and cause no other side effects, or
   |         | it should execute logic with side effects, but should
   |         | not do both. The first symbol is defined on line 6 and
   |         | the first side effect is on line 3.
   |         | (PSR1.Files.SideEffects.FoundWithSymbols)
----------------------------------------------------------------------


FILE: D:\DEV\DGithub\ChopTaPhoto_2020\include\panier.class.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
 1 | WARNING | A file should declare new symbols (classes, functions,
   |         | constants, etc.) and cause no other side effects, or
   |         | it should execute logic with side effects, but should
   |         | not do both. The first symbol is defined on line 6 and
   |         | the first side effect is on line 3.
   |         | (PSR1.Files.SideEffects.FoundWithSymbols)
 6 | ERROR   | Each class must be in a namespace of at least one
   |         | level (a top-level vendor name)
   |         | (PSR1.Classes.ClassDeclaration.MissingNamespace)
----------------------------------------------------------------------


FILE: D:\DEV\DGithub\ChopTaPhoto_2020\include\vote.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 77 | WARNING | Line exceeds 120 characters; contains 145
    |         | characters (Generic.Files.LineLength.TooLong)
----------------------------------------------------------------------


FILE: D:\DEV\DGithub\ChopTaPhoto_2020\public\css\all.min.css
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 1 | WARNING | File appears to be minified and cannot be
   |         | processed (Internal.Tokenizer.Exception)
----------------------------------------------------------------------