zeruniverse / Password-Manager

An online keepass-like tool to manage password. client-side AES encryption!
Other
170 stars 44 forks source link

Follow PSR-2 Coding Standards (#236) #238

Closed schams-net closed 5 years ago

schams-net commented 5 years ago

This change updates PHP files to follow PSR-2 coding standards, except for the following 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.

This warning can not be addressed without a restructure of the overall application architecture.

Please note: this commit has not been fully tested yet. In particular $DEFAULT_FIELDS = json_encode([ ...]); in file src/function/config.php requires a review.

Resolves: #236

zeruniverse commented 5 years ago

I was on vacation and in the process of picking up my work. Will review this when I have time. Sry for delay