Commit 6050c21
Docker Support + Laravel 12 support + Configurable automatic fixing (#37)
* Updated workflow for Laravel 11
* Updated workflow for Laravel 11
* Added separate jobs for Laravel 10 and Laravel 11
* Added separate jobs for Laravel 9
* Added package lock to ignore, removed from project
* Revert changes for package lock
* Added support for more parameters including docker support
* Fixed pint issues
* Fixed pipeline failure detection
* Fixed pint issues
* Updated readme
* Updated readme and tests
* Updated readme
* Fixed after rebase
* Refactoring for strong typing enforce, added phpstan and rector run in pipeline
* Added rector rules
* Updated phpstan standard, added rector and php insights support
* Added option for validate_paths
* Added option for analyzer_chunk_size
* Create dependabot.yml
* Create snyk-security.yml
* Removed snyk config
* Create codacy.yml
* Removed codacy config
* Fixed param usage
* Updated chunk size to be configurable per command if needed
* Fixed rector tests
* pint fixes
* pint fixes
* pint fixes
* Updated composer reqs for pest plugin laravel
* Removed Laravel 9 support
* Updated npm package lock
* fix: upgrade prettier from 2.8.7 to 2.8.8
Snyk has created this PR to upgrade prettier from 2.8.7 to 2.8.8.
See this package in npm:
prettier
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Update package-lock.json
* Updated npm deps
* Updated npm deps
* FΓΌge UnterstΓΌtzung fΓΌr Laravel Sail hinzu
* Extend README.md with a "Laravel Sail" section
* Optimize README.md
Optimize config order
* fix: upgrade eslint-plugin-import from 2.30.0 to 2.31.0
Snyk has created this PR to upgrade eslint-plugin-import from 2.30.0 to 2.31.0.
See this package in npm:
eslint-plugin-import
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint-plugin-vue from 9.28.0 to 9.30.0
Snyk has created this PR to upgrade eslint-plugin-vue from 9.28.0 to 9.30.0.
See this package in npm:
eslint-plugin-vue
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint-plugin-vue from 9.30.0 to 9.31.0
Snyk has created this PR to upgrade eslint-plugin-vue from 9.30.0 to 9.31.0.
See this package in npm:
eslint-plugin-vue
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint-plugin-vue from 9.31.0 to 9.32.0
Snyk has created this PR to upgrade eslint-plugin-vue from 9.31.0 to 9.32.0.
See this package in npm:
eslint-plugin-vue
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade blade-formatter from 1.41.1 to 1.42.0
Snyk has created this PR to upgrade blade-formatter from 1.41.1 to 1.42.0.
See this package in npm:
blade-formatter
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
* updated package.json
* Update .eslintrcFixture.js
* Update .eslintrcFixture.js
* Updated files
* Skip test for now
* Update main.yml
* Update main.yml
* Updated deps to be more loose with upgrades
* Added cron execution for tests
* Update main.yml
* Fix ESLint tests
* Upgrade scrutinizer checks
* scrutinizer using 8.2 instead
* scrutinizer using node v20.18.2
* node v22
* node v18
* node v18
* node v20 again
* test
* Check 2
* Check 3
* Check 4
* Using image
* fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
* fix: upgrade eslint from 9.18.0 to 9.19.0
Snyk has created this PR to upgrade eslint from 9.18.0 to 9.19.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Updated deps
* Updated deps
* Updated deps
* Updated cache key
* Added continue-on-error for laravel 12 for now
* Removed laravel 12 jobs for now
* Disable phpinsights security check (unrealiable now)
* fix: upgrade eslint from 9.19.0 to 9.20.0
Snyk has created this PR to upgrade eslint from 9.19.0 to 9.20.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade blade-formatter from 1.42.1 to 1.42.2
Snyk has created this PR to upgrade blade-formatter from 1.42.1 to 1.42.2.
See this package in npm:
blade-formatter
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint from 9.20.0 to 9.20.1
Snyk has created this PR to upgrade eslint from 9.20.0 to 9.20.1.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Set fixed eslint version to avoid conflicts
* Fixed eslint version
* Update main.yml
* Updated eslint deps
* Update ESLintPreCommitHookTest.php
* fix: upgrade eslint from 9.23.0 to 9.24.0
Snyk has created this PR to upgrade eslint from 9.23.0 to 9.24.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint from 9.24.0 to 9.25.1
Snyk has created this PR to upgrade eslint from 9.24.0 to 9.25.1.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint from 9.25.1 to 9.26.0
Snyk has created this PR to upgrade eslint from 9.25.1 to 9.26.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint from 9.26.0 to 9.27.0
Snyk has created this PR to upgrade eslint from 9.26.0 to 9.27.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint-plugin-import from 2.31.0 to 2.32.0
Snyk has created this PR to upgrade eslint-plugin-import from 2.31.0 to 2.32.0.
See this package in npm:
eslint-plugin-import
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Bump @eslint/plugin-kit in the npm_and_yarn group across 1 directory
---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
dependency-version: 0.3.3
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <[email protected]>
* fix: upgrade eslint from 9.27.0 to 9.30.1
Snyk has created this PR to upgrade eslint from 9.27.0 to 9.30.1.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* fix: upgrade eslint from 9.30.1 to 9.31.0
Snyk has created this PR to upgrade eslint from 9.30.1 to 9.31.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Bump @eslint/plugin-kit in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [@eslint/plugin-kit](https://github.com/eslint/rewrite/tree/HEAD/packages/plugin-kit).
Updates `@eslint/plugin-kit` from 0.3.3 to 0.3.4
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/plugin-kit/CHANGELOG.md)
- [Commits](https://github.com/eslint/rewrite/commits/plugin-kit-v0.3.4/packages/plugin-kit)
---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
dependency-version: 0.3.4
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <[email protected]>
* fix: upgrade blade-formatter from 0.42.2 to 1.42.3
Snyk has created this PR to upgrade blade-formatter from 1.42.2 to 1.42.3.
See this package in npm:
blade-formatter
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Update package-lock.json
* Added mocking for test tools
* Update main.yml
* Update main.yml
* Revert mock changes
* Deprecate Laravel 10 support
* Update .scrutinizer.yml
* Added php-cs-fixer hook
* Removed vitest reference
* Updated readme
* fix: upgrade eslint from 9.33.0 to 9.34.0
Snyk has created this PR to upgrade eslint from 9.33.0 to 9.34.0.
See this package in npm:
eslint
See this project in Snyk:
https://app.snyk.io/org/indy2kro/project/9f43d42b-212b-4851-b15c-d9c34efe76c1?utm_source=github&utm_medium=referral&page=upgrade-pr
* Reverted upgrade to eslint
* Update package-lock.json
* feat: add Docker support and auto-fix capabilities to pre-commit hooks
* refactor: remove Enlightn package and update related configurations
* feat: add strict types declaration to WithAutoFix, WithDockerSupport, and WithFileAnalysis
* feat: enhance pre-commit hooks with strict types and additional methods for command handling
* wip
* wip
* feat: improve Docker command execution and enhance file analysis methods
* feat: add CLAUDE.md for guidance on Laravel Git Hooks and update .gitignore
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: cradu <cradu@cradu>
Co-authored-by: Cristi Radu <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Martin Seysen <[email protected]>
Co-authored-by: Martin Seysen <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent c42045f commit 6050c21
File tree
115 files changed
+4609
-2371
lines changed- .github
- workflows
- config
- src
- Console/Commands
- Hooks
- stubs
- Contracts
- Exceptions
- Facades
- Git
- Traits
- tests
- Datasets
- Features/Commands
- Hooks
- Fixtures
- Traits
- Unit
- Git
- Traits
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
115 files changed
+4609
-2371
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | | - | |
| 32 | + | |
27 | 33 | | |
28 | | - | |
29 | | - | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
65 | 71 | | |
66 | 72 | | |
67 | 73 | | |
68 | | - | |
| 74 | + | |
69 | 75 | | |
70 | | - | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | | - | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
83 | | - | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 117 | + | |
| 118 | + | |
191 | 119 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 120 | + | |
| 121 | + | |
201 | 122 | | |
202 | | - | |
203 | | - | |
| 123 | + | |
| 124 | + | |
204 | 125 | | |
205 | | - | |
| 126 | + | |
206 | 127 | | |
207 | 128 | | |
208 | 129 | | |
| 130 | + | |
209 | 131 | | |
210 | 132 | | |
211 | | - | |
| 133 | + | |
212 | 134 | | |
213 | 135 | | |
214 | | - | |
| 136 | + | |
215 | 137 | | |
216 | | - | |
217 | | - | |
| 138 | + | |
| 139 | + | |
218 | 140 | | |
219 | 141 | | |
220 | 142 | | |
| |||
232 | 154 | | |
233 | 155 | | |
234 | 156 | | |
235 | | - | |
| 157 | + | |
236 | 158 | | |
237 | 159 | | |
238 | 160 | | |
| |||
253 | 175 | | |
254 | 176 | | |
255 | 177 | | |
256 | | - | |
| 178 | + | |
257 | 179 | | |
258 | | - | |
| 180 | + | |
259 | 181 | | |
260 | 182 | | |
261 | 183 | | |
262 | 184 | | |
263 | 185 | | |
264 | 186 | | |
265 | | - | |
| 187 | + | |
266 | 188 | | |
267 | 189 | | |
268 | 190 | | |
269 | 191 | | |
270 | 192 | | |
271 | | - | |
| 193 | + | |
272 | 194 | | |
273 | 195 | | |
274 | 196 | | |
| |||
296 | 218 | | |
297 | 219 | | |
298 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
5 | | - | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
0 commit comments