Skip to content

Commit 078ba87

Browse files
committed
Misc base project application improvements
- Add support for static analysis using php stan - PHPCS now present in phpcs.xml instead of as composer command inline parameter - Updated .gitignore files - Updated requirements.php to match the documentation
1 parent 87a25b2 commit 078ba87

File tree

12 files changed

+209
-286
lines changed

12 files changed

+209
-286
lines changed

.gitattributes

+13-21
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
11
# Define the line ending behavior of the different file extensions
2-
# Set default behaviour, in case users don't have core.autocrlf set.
3-
* text=auto
4-
* text eol=lf
5-
6-
# Explicitly declare text files we want to always be normalized and converted
7-
# to native line endings on checkout.
8-
*.php text
9-
*.default text
10-
*.ctp text
11-
*.sql text
12-
*.md text
13-
*.po text
14-
*.js text
15-
*.css text
16-
*.ini text
17-
*.properties text
18-
*.txt text
19-
*.xml text
20-
*.svg text
21-
*.yml text
22-
.htaccess text
2+
# Set default behavior, in case users don't have core.autocrlf set.
3+
* text text=auto eol=lf
234

245
# Declare files that will always have CRLF line endings on checkout.
256
*.bat eol=crlf
@@ -30,13 +11,24 @@
3011
# Denote all files that are truly binary and should not be modified.
3112
*.png binary
3213
*.jpg binary
14+
*.jpeg binary
3315
*.gif binary
16+
*.webp binary
3417
*.ico binary
3518
*.mo binary
3619
*.pdf binary
20+
*.xls binary
21+
*.xlsx binary
3722
*.phar binary
3823
*.woff binary
3924
*.woff2 binary
4025
*.ttf binary
4126
*.otf binary
4227
*.eot binary
28+
*.gz binary
29+
*.bz2 binary
30+
*.7z binary
31+
*.zip binary
32+
*.webm binary
33+
*.mp4 binary
34+
*.ogv binary

.gitignore

+65-68
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,42 @@
1414
/config/gpg/*.key
1515
/config/license
1616

17-
# Dependencies #
17+
# JS Dependencies #
1818
################
19-
/vendor/*
2019
/node_modules
2120

22-
# Temp config files #
23-
#####################
24-
/tmp/*
25-
/logs/*
26-
27-
# User specific #
21+
# Legacy images #
2822
#################
2923
/webroot/img/public/*
3024
!/webroot/img/public/empty
3125

26+
# DEBIAN Package #
27+
##################
28+
.kitchen/
29+
.kitchen.local.yml
30+
debian/tmp/
31+
debian/passbolt-ce/
32+
debian/.debhelper/
33+
debian/files
34+
debian/passbolt-api-ce/
35+
debian/passbolt-api-pro/
36+
debian/*debhelper*
37+
debian/*substvars*
38+
39+
# CakePHP specific files #
40+
##########################
41+
/config/app_local.php
42+
/config/.env
43+
/logs/*
44+
/tmp/*
45+
/vendor/*
46+
3247
# IDE and editor specific files #
3348
#################################
34-
/nbproject
35-
.idea
36-
*.mo
37-
.project
49+
3850

3951
# IDE and editor specific files #
4052
#################################
41-
/nbproject
42-
.idea
4353
/.project
4454
/.buildpath
4555
/.settings/
@@ -54,66 +64,53 @@
5464
Icon?
5565
ehthumbs.db
5666
Thumbs.db
57-
/.settings
58-
/.idea/*
59-
60-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
61-
62-
.buildpath
63-
*.iml
64-
65-
## Directory-based project format:
66-
.idea/
67-
# if you remove the above rule, at least ignore the following:
68-
69-
# User-specific stuff:
70-
# .idea/workspace.xml
71-
# .idea/tasks.xml
72-
# .idea/dictionaries
73-
74-
# Sensitive or high-churn files:
75-
# .idea/dataSources.ids
76-
# .idea/dataSources.xml
77-
# .idea/sqlDataSources.xml
78-
# .idea/dynamic.xml
79-
# .idea/uiDesigner.xml
80-
81-
# Gradle:
82-
# .idea/gradle.xml
83-
# .idea/libraries
84-
85-
# Mongo Explorer plugin:
86-
# .idea/mongoSettings.xml
67+
.directory
8768

88-
## File-based project format:
89-
*.ipr
90-
*.iws
69+
# Tool specific files #
70+
#######################
71+
# PHPUnit
72+
.phpunit.result.cache
9173

92-
## Plugin-specific files:
74+
# Crashlytics plugin (for Android Studio and IntelliJ)
75+
com_crashlytics_export_strings.xml
76+
crashlytics.properties
77+
crashlytics-build.properties
9378

94-
# IntelliJ
79+
# IDE specific files #
80+
#######################
81+
# vim
82+
*~
83+
*.swp
84+
*.swo
85+
# sublime text & textmate
86+
*.sublime-*
87+
*.stTheme.cache
88+
*.tmlanguage.cache
89+
*.tmPreferences.cache
90+
# Eclipse
91+
.settings/*
92+
# JetBrains, aka PHPStorm, IntelliJ IDEA
93+
.idea
94+
.idea/*
95+
/.idea/*
9596
/out/
96-
97+
# NetBeans
98+
nbproject/*
99+
/nbproject
100+
# Visual Studio Code
101+
.vscode
102+
# Sass preprocessor
103+
.sass-cache/
97104
# mpeltonen/sbt-idea plugin
98105
.idea_modules/
99-
100106
# JIRA plugin
101107
atlassian-ide-plugin.xml
108+
# Others
109+
*.mo
110+
.project
111+
.buildpath
112+
*.iml
102113

103-
# Crashlytics plugin (for Android Studio and IntelliJ)
104-
com_crashlytics_export_strings.xml
105-
crashlytics.properties
106-
crashlytics-build.properties
107-
.kitchen/
108-
.kitchen.local.yml
109-
debian/tmp/
110-
debian/passbolt-ce/
111-
debian/.debhelper/
112-
debian/files
113-
debian/passbolt-api-ce/
114-
debian/passbolt-api-pro/
115-
debian/*debhelper*
116-
debian/*substvars*
117-
118-
# PHPUNIT generated file
119-
.phpunit.result.cache
114+
## File-based project format:
115+
*.ipr
116+
*.iws

.travis.yml

-131
This file was deleted.

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
Copyright (c) 2021 Passbolt SA
1010
https://www.passbolt.com
1111

12-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c804760791534e62b90632215952eaf0)](https://www.codacy.com/app/passbolt/passbolt_api?utm_source=github.com&utm_medium=referral&utm_content=passbolt/passbolt_api&utm_campaign=Badge_Grade)
13-
[![Build Status](https://travis-ci.org/passbolt/passbolt_api.svg?branch=master)](https://travis-ci.org/passbolt/passbolt_api)
14-
[![Coverage Status](https://coveralls.io/repos/github/passbolt/passbolt_api/badge.svg?branch=master)](https://coveralls.io/github/passbolt/passbolt_api?branch=master)
15-
1612
## License
1713

1814
Passbolt - Open source password manager for teams

0 commit comments

Comments
 (0)