Skip to content

Commit 9b81d71

Browse files
committed
Merge branch 'develop'
2 parents 200d880 + db9229e commit 9b81d71

File tree

100 files changed

+20959
-1197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+20959
-1197
lines changed

.deprecated/Styles.php

Lines changed: 359 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,359 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace AlecRabbit\Spinner\Core\Contracts;
6+
7+
use AlecRabbit\ConsoleColour\Contracts\Color;
8+
use AlecRabbit\ConsoleColour\Contracts\Effect;
9+
use AlecRabbit\Spinner\Settings\Contracts\Defaults;
10+
11+
interface Styles extends Juggler
12+
{
13+
public const DEFAULT_STYLES =
14+
[
15+
self::FRAMES_STYLES =>
16+
[
17+
self::COLOR256 => self::C256_ROYAL_RAINBOW,
18+
self::COLOR => self::C_DARK,
19+
self::FORMAT => Defaults::DEFAULT_FORMAT,
20+
self::SPACER => Defaults::DEFAULT_SPACER,
21+
],
22+
self::MESSAGE_STYLES =>
23+
[
24+
self::COLOR256 => self::DISABLED,
25+
self::COLOR => self::C_DARK,
26+
self::FORMAT => Defaults::DEFAULT_FORMAT,
27+
self::SPACER => Defaults::DEFAULT_SPACER,
28+
],
29+
self::PROGRESS_STYLES =>
30+
[
31+
self::COLOR256 => self::DISABLED,
32+
self::COLOR => self::C_DARK,
33+
self::FORMAT => Defaults::DEFAULT_FORMAT,
34+
self::SPACER => Defaults::DEFAULT_SPACER,
35+
],
36+
];
37+
38+
public const STYLING_DISABLED =
39+
[
40+
self::FRAMES_STYLES => self::DEFAULT_STYLES_ELEMENT,
41+
self::MESSAGE_STYLES => self::DEFAULT_STYLES_ELEMENT,
42+
self::PROGRESS_STYLES => self::DEFAULT_STYLES_ELEMENT,
43+
];
44+
45+
public const DEFAULT_STYLES_ELEMENT =
46+
[
47+
self::COLOR256 => self::DISABLED,
48+
self::COLOR => self::DISABLED,
49+
self::FORMAT => Defaults::DEFAULT_FORMAT,
50+
self::SPACER => Defaults::DEFAULT_SPACER,
51+
];
52+
53+
/*
54+
Styles
55+
*/
56+
public const DISABLED = null;
57+
58+
59+
public const C256_PURPLE_RED =
60+
[
61+
56,
62+
56,
63+
92,
64+
92,
65+
128,
66+
128,
67+
164,
68+
164,
69+
163,
70+
163,
71+
162,
72+
162,
73+
161,
74+
161,
75+
162,
76+
162,
77+
163,
78+
163,
79+
164,
80+
164,
81+
128,
82+
128,
83+
92,
84+
92,
85+
];
86+
87+
public const C256_ROYAL_BLUE_INDIAN_RED =
88+
[
89+
63,
90+
63,
91+
99,
92+
99,
93+
135,
94+
135,
95+
171,
96+
171,
97+
207,
98+
207,
99+
206,
100+
206,
101+
205,
102+
205,
103+
204,
104+
204,
105+
205,
106+
205,
107+
206,
108+
206,
109+
207,
110+
207,
111+
171,
112+
171,
113+
135,
114+
135,
115+
99,
116+
99,
117+
];
118+
119+
public const C256_ROYAL_RAINBOW =
120+
[
121+
196,
122+
196,
123+
202,
124+
202,
125+
208,
126+
208,
127+
214,
128+
214,
129+
220,
130+
220,
131+
226,
132+
226,
133+
190,
134+
190,
135+
154,
136+
154,
137+
118,
138+
118,
139+
82,
140+
82,
141+
46,
142+
46,
143+
47,
144+
47,
145+
48,
146+
48,
147+
49,
148+
49,
149+
50,
150+
50,
151+
51,
152+
51,
153+
45,
154+
45,
155+
39,
156+
39,
157+
33,
158+
33,
159+
27,
160+
27,
161+
// 21,
162+
// 21,
163+
56,
164+
56,
165+
57,
166+
57,
167+
93,
168+
93,
169+
129,
170+
129,
171+
165,
172+
165,
173+
201,
174+
201,
175+
200,
176+
200,
177+
199,
178+
199,
179+
198,
180+
198,
181+
197,
182+
197,
183+
];
184+
185+
public const C256_RAINBOW =
186+
[
187+
203,
188+
203,
189+
209,
190+
209,
191+
215,
192+
215,
193+
221,
194+
221,
195+
227,
196+
227,
197+
191,
198+
191,
199+
155,
200+
155,
201+
119,
202+
119,
203+
83,
204+
83,
205+
84,
206+
84,
207+
85,
208+
85,
209+
86,
210+
86,
211+
87,
212+
87,
213+
81,
214+
81,
215+
75,
216+
75,
217+
69,
218+
69,
219+
63,
220+
63,
221+
99,
222+
99,
223+
135,
224+
135,
225+
171,
226+
171,
227+
207,
228+
207,
229+
206,
230+
206,
231+
205,
232+
205,
233+
204,
234+
204,
235+
];
236+
237+
public const C256_C_RAINBOW =
238+
[
239+
160,
240+
160,
241+
166,
242+
166,
243+
172,
244+
172,
245+
178,
246+
178,
247+
184,
248+
184,
249+
148,
250+
148,
251+
112,
252+
112,
253+
76,
254+
76,
255+
40,
256+
40,
257+
41,
258+
41,
259+
42,
260+
42,
261+
43,
262+
43,
263+
44,
264+
44,
265+
38,
266+
38,
267+
32,
268+
32,
269+
26,
270+
26,
271+
// 20,
272+
// 20,
273+
56,
274+
56,
275+
92,
276+
92,
277+
128,
278+
128,
279+
164,
280+
164,
281+
163,
282+
163,
283+
162,
284+
162,
285+
161,
286+
161,
287+
];
288+
289+
public const C256_YELLOW_WHITE =
290+
[
291+
226,
292+
227,
293+
228,
294+
229,
295+
229,
296+
230,
297+
230,
298+
230,
299+
231,
300+
231,
301+
231,
302+
231,
303+
230,
304+
230,
305+
230,
306+
229,
307+
229,
308+
228,
309+
227,
310+
226,
311+
];
312+
313+
public const C256_BG_RAINBOW =
314+
[
315+
[232, 203,],
316+
[232, 209,],
317+
[232, 215,],
318+
[232, 221,],
319+
[232, 227,],
320+
[232, 191,],
321+
[232, 155,],
322+
[232, 119,],
323+
[232, 83,],
324+
[232, 84,],
325+
[232, 85,],
326+
[232, 86,],
327+
[232, 87,],
328+
[232, 81,],
329+
[232, 75,],
330+
[232, 69,],
331+
[232, 63,],
332+
[232, 99,],
333+
[232, 135,],
334+
[232, 171,],
335+
[232, 207,],
336+
[232, 206,],
337+
[232, 205,],
338+
[232, 204,],
339+
];
340+
341+
public const C256_BG_YELLOW_WHITE =
342+
[
343+
[232, 231,],
344+
[232, 230,],
345+
[232, 229,],
346+
[232, 228,],
347+
[232, 227,],
348+
[232, 226,],
349+
[232, 226,],
350+
[232, 227,],
351+
[232, 228,],
352+
[232, 229,],
353+
[232, 230,],
354+
];
355+
356+
public const C_LIGHT_YELLOW = [Color::LIGHT_YELLOW];
357+
public const C_LIGHT_CYAN = [Color::LIGHT_CYAN];
358+
public const C_DARK = [Effect::DARK];
359+
}
File renamed without changes.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.png binary
2+
*.jpg binary
23
CHANGELOG.md export-ignore
34
.chglog/ export-ignore
45
composer.lock export-ignore

.gitattributes.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.png binary
2+
*.jpg binary

.make/project/app/app.Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ app_deptrac_run_uncovered:
9191
test:
9292
@$(eval c ?=)
9393
@${_ECHO} "\n${_C_SELECT} ${PROJECT_NAME} ${_C_STOP} ${_C_INFO}Default tests...${_C_STOP}\n";
94-
${_DC_EXEC} -e XDEBUG_MODE=coverage ${APP_CONTAINER} vendor/bin/phpunit $(c) --display-warnings
94+
${_DC_EXEC} -e XDEBUG_MODE=off ${APP_CONTAINER} vendor/bin/phpunit $(c) --display-warnings
9595
@${_ECHO_BG_GREEN};
9696

9797
test_coverage:
1.26 KB
Loading

.tools/.report/.deptrac/.deptrac.report

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Violations 0
66
Skipped violations 0
77
Uncovered 191
8-
Allowed 2794
8+
Allowed 3154
99
Warnings 0
1010
Errors 0
1111
-------------------- ------

0 commit comments

Comments
 (0)