• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nette / forms / 8860576145

27 Apr 2024 02:35PM UTC coverage: 93.067% (-0.05%) from 93.113%
8860576145

push

github

dg
added HTML attribute data-nette-error

1 of 1 new or added line in 1 file covered. (100.0%)

33 existing lines in 5 files now uncovered.

2094 of 2250 relevant lines covered (93.07%)

0.93 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.9
/src/Forms/Form.php
1
<?php
2

3
/**
4
 * This file is part of the Nette Framework (https://nette.org)
5
 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6
 */
7

8
declare(strict_types=1);
9

10
namespace Nette\Forms;
11

12
use Nette;
13
use Nette\Utils\Arrays;
14
use Nette\Utils\Html;
15
use Stringable;
16

17

18
/**
19
 * Creates, validates and renders HTML forms.
20
 *
21
 * @property-read array $errors
22
 * @property-read array $ownErrors
23
 * @property-read Html $elementPrototype
24
 * @property-read FormRenderer $renderer
25
 * @property string $action
26
 * @property string $method
27
 */
28
class Form extends Container implements Nette\HtmlStringable
29
{
30
        /** validator */
31
        public const
32
                Equal = ':equal',
33
                IsIn = self::Equal,
34
                NotEqual = ':notEqual',
35
                IsNotIn = self::NotEqual,
36
                Filled = ':filled',
37
                Blank = ':blank',
38
                Required = self::Filled,
39
                Valid = ':valid',
40

41
                // button
42
                Submitted = ':submitted',
43

44
                // text
45
                MinLength = ':minLength',
46
                MaxLength = ':maxLength',
47
                Length = ':length',
48
                Email = ':email',
49
                URL = ':url',
50
                Pattern = ':pattern',
51
                PatternInsensitive = ':patternCaseInsensitive',
52
                Integer = ':integer',
53
                Numeric = ':numeric',
54
                Float = ':float',
55
                Min = ':min',
56
                Max = ':max',
57
                Range = ':range',
58

59
                // multiselect
60
                Count = self::Length,
61

62
                // file upload
63
                MaxFileSize = ':fileSize',
64
                MimeType = ':mimeType',
65
                Image = ':image',
66
                MaxPostSize = ':maxPostSize';
67

68
        /** method */
69
        public const
70
                Get = 'get',
71
                Post = 'post';
72

73
        /** submitted data types */
74
        public const
75
                DataText = 1,
76
                DataLine = 2,
77
                DataFile = 3,
78
                DataKeys = 8;
79

80
        /** @internal tracker ID */
81
        public const TrackerId = '_form_';
82

83
        /** @internal protection token ID */
84
        public const ProtectorId = '_token_';
85

86
        /** @deprecated use Form::Equal */
87
        public const EQUAL = self::Equal;
88

89
        /** @deprecated use Form::IsIn */
90
        public const IS_IN = self::IsIn;
91

92
        /** @deprecated use Form::NotEqual */
93
        public const NOT_EQUAL = self::NotEqual;
94

95
        /** @deprecated use Form::IsNotIn */
96
        public const IS_NOT_IN = self::IsNotIn;
97

98
        /** @deprecated use Form::Filled */
99
        public const FILLED = self::Filled;
100

101
        /** @deprecated use Form::Blank */
102
        public const BLANK = self::Blank;
103

104
        /** @deprecated use Form::Required */
105
        public const REQUIRED = self::Required;
106

107
        /** @deprecated use Form::Valid */
108
        public const VALID = self::Valid;
109

110
        /** @deprecated use Form::Submitted */
111
        public const SUBMITTED = self::Submitted;
112

113
        /** @deprecated use Form::MinLength */
114
        public const MIN_LENGTH = self::MinLength;
115

116
        /** @deprecated use Form::MaxLength */
117
        public const MAX_LENGTH = self::MaxLength;
118

119
        /** @deprecated use Form::Length */
120
        public const LENGTH = self::Length;
121

122
        /** @deprecated use Form::Email */
123
        public const EMAIL = self::Email;
124

125
        /** @deprecated use Form::Pattern */
126
        public const PATTERN = self::Pattern;
127

128
        /** @deprecated use Form::PatternCI */
129
        public const PATTERN_ICASE = self::PatternInsensitive;
130

131
        /** @deprecated use Form::Integer */
132
        public const INTEGER = self::Integer;
133

134
        /** @deprecated use Form::Numeric */
135
        public const NUMERIC = self::Numeric;
136

137
        /** @deprecated use Form::Float */
138
        public const FLOAT = self::Float;
139

140
        /** @deprecated use Form::Min */
141
        public const MIN = self::Min;
142

143
        /** @deprecated use Form::Max */
144
        public const MAX = self::Max;
145

146
        /** @deprecated use Form::Range */
147
        public const RANGE = self::Range;
148

149
        /** @deprecated use Form::Count */
150
        public const COUNT = self::Count;
151

152
        /** @deprecated use Form::MaxFileSize */
153
        public const MAX_FILE_SIZE = self::MaxFileSize;
154

155
        /** @deprecated use Form::MimeType */
156
        public const MIME_TYPE = self::MimeType;
157

158
        /** @deprecated use Form::Image */
159
        public const IMAGE = self::Image;
160

161
        /** @deprecated use Form::MaxPostSize */
162
        public const MAX_POST_SIZE = self::MaxPostSize;
163

164
        /** @deprecated use Form::Get */
165
        public const GET = self::Get;
166

167
        /** @deprecated use Form::Post */
168
        public const POST = self::Post;
169

170
        /** @deprecated use Form::DataText */
171
        public const DATA_TEXT = self::DataText;
172

173
        /** @deprecated use Form::DataLine */
174
        public const DATA_LINE = self::DataLine;
175

176
        /** @deprecated use Form::DataFile */
177
        public const DATA_FILE = self::DataFile;
178

179
        /** @deprecated use Form::DataKeys */
180
        public const DATA_KEYS = self::DataKeys;
181

182
        /** @deprecated use Form::TrackerId */
183
        public const TRACKER_ID = self::TrackerId;
184

185
        /** @deprecated use Form::ProtectorId */
186
        public const PROTECTOR_ID = self::ProtectorId;
187

188
        /**
189
         * Occurs when the form is submitted and successfully validated
190
         * @var array<callable(self, array|object): void|callable(array|object): void>
191
         */
192
        public array $onSuccess = [];
193

194
        /** @var array<callable(self): void>  Occurs when the form is submitted and is not valid */
195
        public array $onError = [];
196

197
        /** @var array<callable(self): void>  Occurs when the form is submitted */
198
        public array $onSubmit = [];
199

200
        /** @var array<callable(self): void>  Occurs before the form is rendered */
201
        public array $onRender = [];
202

203
        /** @internal used only by standalone form */
204
        public Nette\Http\IRequest $httpRequest;
205
        protected bool $crossOrigin = false;
206
        private static ?Nette\Http\IRequest $defaultHttpRequest = null;
207
        private SubmitterControl|bool $submittedBy = false;
208
        private array $httpData;
209
        private Html $element;
210
        private FormRenderer $renderer;
211
        private ?Nette\Localization\Translator $translator = null;
212

213
        /** @var ControlGroup[] */
214
        private array $groups = [];
215
        private array $errors = [];
216
        private bool $beforeRenderCalled = false;
217

218

219
        public function __construct(?string $name = null)
1✔
220
        {
221
                if ($name !== null) {
1✔
222
                        $this->getElementPrototype()->id = 'frm-' . $name;
1✔
223
                        $tracker = new Controls\HiddenField($name);
1✔
224
                        $tracker->setOmitted();
1✔
225
                        $this[self::TrackerId] = $tracker;
1✔
226
                        $this->setParent(null, $name);
1✔
227
                }
228

229
                $this->monitor(self::class, function (): void {
1✔
230
                        throw new Nette\InvalidStateException('Nested forms are forbidden.');
231
                });
1✔
232
        }
1✔
233

234

235
        /**
236
         * Returns self.
237
         */
238
        public function getForm(bool $throw = true): static
1✔
239
        {
240
                return $this;
1✔
241
        }
242

243

244
        /**
245
         * Sets form's action.
246
         */
247
        public function setAction(string|Stringable $url): static
1✔
248
        {
249
                $this->getElementPrototype()->action = $url;
1✔
250
                return $this;
1✔
251
        }
252

253

254
        /**
255
         * Returns form's action.
256
         */
257
        public function getAction(): string|Stringable
258
        {
259
                return $this->getElementPrototype()->action;
1✔
260
        }
261

262

263
        /**
264
         * Sets form's method GET or POST.
265
         */
266
        public function setMethod(string $method): static
1✔
267
        {
268
                if (isset($this->httpData)) {
1✔
269
                        throw new Nette\InvalidStateException(__METHOD__ . '() must be called until the form is empty.');
×
270
                }
271

272
                $this->getElementPrototype()->method = strtolower($method);
1✔
273
                return $this;
1✔
274
        }
275

276

277
        /**
278
         * Returns form's method.
279
         */
280
        public function getMethod(): string
281
        {
282
                return $this->getElementPrototype()->method;
1✔
283
        }
284

285

286
        /**
287
         * Checks if the request method is the given one.
288
         */
289
        public function isMethod(string $method): bool
1✔
290
        {
291
                return strcasecmp($this->getElementPrototype()->method, $method) === 0;
1✔
292
        }
293

294

295
        /**
296
         * Changes forms's HTML attribute.
297
         */
298
        public function setHtmlAttribute(string $name, mixed $value = true): static
299
        {
300
                $this->getElementPrototype()->$name = $value;
×
301
                return $this;
×
302
        }
303

304

305
        /**
306
         * Disables CSRF protection using a SameSite cookie.
307
         */
308
        public function allowCrossOrigin(): void
309
        {
310
                $this->crossOrigin = true;
1✔
311
        }
1✔
312

313

314
        /**
315
         * Cross-Site Request Forgery (CSRF) form protection.
316
         */
317
        public function addProtection(?string $errorMessage = null): Controls\CsrfProtection
1✔
318
        {
319
                $control = new Controls\CsrfProtection($errorMessage);
1✔
320
                $children = $this->getComponents();
1✔
321
                $first = $children ? (string) array_key_first($children) : null;
1✔
322
                $this->addComponent($control, self::ProtectorId, $first);
1✔
323
                return $control;
1✔
324
        }
325

326

327
        /**
328
         * Adds fieldset group to the form.
329
         */
330
        public function addGroup(string|Stringable|null $caption = null, bool $setAsCurrent = true): ControlGroup
1✔
331
        {
332
                $group = new ControlGroup;
1✔
333
                $group->setOption('label', $caption);
1✔
334
                $group->setOption('visual', true);
1✔
335

336
                if ($setAsCurrent) {
1✔
337
                        $this->setCurrentGroup($group);
1✔
338
                }
339

340
                return !is_scalar($caption) || isset($this->groups[$caption])
1✔
341
                        ? $this->groups[] = $group
1✔
342
                        : $this->groups[$caption] = $group;
1✔
343
        }
344

345

346
        /**
347
         * Removes fieldset group from form.
348
         */
349
        public function removeGroup(string|ControlGroup $name): void
350
        {
351
                if (is_string($name) && isset($this->groups[$name])) {
×
352
                        $group = $this->groups[$name];
×
353

354
                } elseif ($name instanceof ControlGroup && in_array($name, $this->groups, strict: true)) {
×
355
                        $group = $name;
×
356
                        $name = array_search($group, $this->groups, strict: true);
×
357

358
                } else {
359
                        throw new Nette\InvalidArgumentException("Group not found in form '{$this->getName()}'");
×
360
                }
361

362
                foreach ($group->getControls() as $control) {
×
363
                        $control->getParent()->removeComponent($control);
×
364
                }
365

366
                unset($this->groups[$name]);
×
367
        }
368

369

370
        /**
371
         * Returns all defined groups.
372
         * @return ControlGroup[]
373
         */
374
        public function getGroups(): array
375
        {
376
                return $this->groups;
1✔
377
        }
378

379

380
        /**
381
         * Returns the specified group.
382
         */
383
        public function getGroup(string|int $name): ?ControlGroup
1✔
384
        {
385
                return $this->groups[$name] ?? null;
1✔
386
        }
387

388

389
        /********************* translator ****************d*g**/
390

391

392
        /**
393
         * Sets translate adapter.
394
         */
395
        public function setTranslator(?Nette\Localization\Translator $translator): static
1✔
396
        {
397
                $this->translator = $translator;
1✔
398
                return $this;
1✔
399
        }
400

401

402
        /**
403
         * Returns translate adapter.
404
         */
405
        public function getTranslator(): ?Nette\Localization\Translator
406
        {
407
                return $this->translator;
1✔
408
        }
409

410

411
        /********************* submission ****************d*g**/
412

413

414
        /**
415
         * Tells if the form is anchored.
416
         */
417
        public function isAnchored(): bool
418
        {
419
                return true;
1✔
420
        }
421

422

423
        /**
424
         * Tells if the form was submitted.
425
         */
426
        public function isSubmitted(): SubmitterControl|bool
427
        {
428
                if (!isset($this->httpData)) {
1✔
429
                        $this->getHttpData();
1✔
430
                }
431

432
                return $this->submittedBy;
1✔
433
        }
434

435

436
        /**
437
         * Tells if the form was submitted and successfully validated.
438
         */
439
        public function isSuccess(): bool
440
        {
441
                return $this->isSubmitted() && $this->isValid();
1✔
442
        }
443

444

445
        /**
446
         * Sets the submittor control.
447
         * @internal
448
         */
449
        public function setSubmittedBy(?SubmitterControl $by): static
1✔
450
        {
451
                $this->submittedBy = $by ?? false;
1✔
452
                return $this;
1✔
453
        }
454

455

456
        /**
457
         * Returns submitted HTTP data.
458
         */
459
        public function getHttpData(?int $type = null, ?string $htmlName = null): string|array|Nette\Http\FileUpload|null
1✔
460
        {
461
                if (!isset($this->httpData)) {
1✔
462
                        if (!$this->isAnchored()) {
1✔
463
                                throw new Nette\InvalidStateException('Form is not anchored and therefore can not determine whether it was submitted.');
×
464
                        }
465

466
                        $data = $this->receiveHttpData();
1✔
467
                        $this->httpData = (array) $data;
1✔
468
                        $this->submittedBy = is_array($data);
1✔
469
                }
470

471
                return $htmlName === null
1✔
472
                        ? $this->httpData
1✔
473
                        : Helpers::extractHttpData($this->httpData, $htmlName, $type);
1✔
474

475
        }
476

477

478
        /**
479
         * Fires submit/click events.
480
         */
481
        public function fireEvents(): void
482
        {
483
                if (!$this->isSubmitted()) {
1✔
484
                        return;
1✔
485

486
                } elseif (!$this->getErrors()) {
1✔
487
                        $this->validate();
1✔
488
                }
489

490
                $handled = count($this->onSuccess ?? []) || count($this->onSubmit ?? []) || $this->submittedBy === true;
1✔
491

492
                if ($this->submittedBy instanceof Controls\SubmitButton) {
1✔
493
                        $handled = $handled || count($this->submittedBy->onClick ?? []);
1✔
494
                        if ($this->isValid()) {
1✔
495
                                $this->invokeHandlers($this->submittedBy->onClick, $this->submittedBy);
1✔
496
                        } else {
497
                                Arrays::invoke($this->submittedBy->onInvalidClick, $this->submittedBy);
1✔
498
                        }
499
                }
500

501
                if ($this->isValid()) {
1✔
502
                        $this->invokeHandlers($this->onSuccess);
1✔
503
                }
504

505
                if (!$this->isValid()) {
1✔
506
                        Arrays::invoke($this->onError, $this);
1✔
507
                }
508

509
                Arrays::invoke($this->onSubmit, $this);
1✔
510

511
                if (!$handled) {
1✔
512
                        trigger_error("Form was submitted but there are no associated handlers (form '{$this->getName()}').", E_USER_WARNING);
1✔
513
                }
514
        }
1✔
515

516

517
        private function invokeHandlers(iterable $handlers, $button = null): void
1✔
518
        {
519
                foreach ($handlers as $handler) {
1✔
520
                        $params = Nette\Utils\Callback::toReflection($handler)->getParameters();
1✔
521
                        $types = array_map([Helpers::class, 'getSingleType'], $params);
1✔
522
                        if (!isset($types[0])) {
1✔
523
                                $arg0 = $button ?: $this;
1✔
524
                        } elseif ($this instanceof $types[0]) {
1✔
525
                                $arg0 = $this;
1✔
526
                        } elseif ($button instanceof $types[0]) {
1✔
527
                                $arg0 = $button;
1✔
528
                        } else {
529
                                $arg0 = $this->getValues($types[0]);
1✔
530
                        }
531

532
                        $arg1 = isset($params[1]) ? $this->getValues($types[1]) : null;
1✔
533
                        $handler($arg0, $arg1);
1✔
534

535
                        if (!$this->isValid()) {
1✔
536
                                return;
1✔
537
                        }
538
                }
539
        }
1✔
540

541

542
        /**
543
         * Resets form.
544
         */
545
        public function reset(): static
546
        {
547
                $this->setSubmittedBy(null);
1✔
548
                $this->setValues([], erase: true);
1✔
549
                return $this;
1✔
550
        }
551

552

553
        /**
554
         * Internal: returns submitted HTTP data or null when form was not submitted.
555
         */
556
        protected function receiveHttpData(): ?array
557
        {
558
                $httpRequest = $this->getHttpRequest();
1✔
559
                if (strcasecmp($this->getMethod(), $httpRequest->getMethod())) {
1✔
560
                        return null;
1✔
561
                }
562

563
                if ($httpRequest->isMethod('post')) {
1✔
564
                        if (!$this->crossOrigin && !$httpRequest->isSameSite()) {
1✔
565
                                return null;
1✔
566
                        }
567

568
                        $data = Nette\Utils\Arrays::mergeTree($httpRequest->getPost(), $httpRequest->getFiles());
1✔
569
                } else {
570
                        $data = $httpRequest->getQuery();
1✔
571
                        if (!$data) {
1✔
572
                                return null;
1✔
573
                        }
574
                }
575

576
                if ($tracker = $this->getComponent(self::TrackerId, throw: false)) {
1✔
577
                        if (!isset($data[self::TrackerId]) || $data[self::TrackerId] !== $tracker->getValue()) {
1✔
UNCOV
578
                                return null;
×
579
                        }
580
                }
581

582
                return $data;
1✔
583
        }
584

585

586
        /********************* validation ****************d*g**/
587

588

589
        public function validate(?array $controls = null): void
1✔
590
        {
591
                $this->cleanErrors();
1✔
592
                if ($controls === null && $this->submittedBy instanceof SubmitterControl) {
1✔
593
                        $controls = $this->submittedBy->getValidationScope();
1✔
594
                }
595

596
                $this->validateMaxPostSize();
1✔
597
                parent::validate($controls);
1✔
598
        }
1✔
599

600

601
        /** @internal */
602
        public function validateMaxPostSize(): void
603
        {
604
                if (!$this->submittedBy || !$this->isMethod('post') || empty($_SERVER['CONTENT_LENGTH'])) {
1✔
605
                        return;
1✔
606
                }
607

608
                $maxSize = Helpers::iniGetSize('post_max_size');
1✔
609
                if ($maxSize > 0 && $maxSize < $_SERVER['CONTENT_LENGTH']) {
1✔
610
                        $this->addError(sprintf(Validator::$messages[self::MaxFileSize], $maxSize));
1✔
611
                }
612
        }
1✔
613

614

615
        /**
616
         * Adds global error message.
617
         */
618
        public function addError(string|Stringable $message, bool $translate = true): void
1✔
619
        {
620
                if ($translate && $this->translator) {
1✔
621
                        $message = $this->translator->translate($message);
1✔
622
                }
623

624
                $this->errors[] = $message;
1✔
625
        }
1✔
626

627

628
        /**
629
         * Returns global validation errors.
630
         */
631
        public function getErrors(): array
632
        {
633
                return array_unique(array_merge($this->errors, parent::getErrors()));
1✔
634
        }
635

636

637
        public function hasErrors(): bool
638
        {
639
                return (bool) $this->getErrors();
1✔
640
        }
641

642

643
        public function cleanErrors(): void
644
        {
645
                $this->errors = [];
1✔
646
        }
1✔
647

648

649
        /**
650
         * Returns form's validation errors.
651
         */
652
        public function getOwnErrors(): array
653
        {
654
                return array_unique($this->errors);
1✔
655
        }
656

657

658
        /********************* rendering ****************d*g**/
659

660

661
        /**
662
         * Returns form's HTML element template.
663
         */
664
        public function getElementPrototype(): Html
665
        {
666
                if (!isset($this->element)) {
1✔
667
                        $this->element = Html::el('form');
1✔
668
                        $this->element->action = ''; // RFC 1808 -> empty uri means 'this'
1✔
669
                        $this->element->method = self::Post;
1✔
670
                }
671

672
                return $this->element;
1✔
673
        }
674

675

676
        /**
677
         * Sets form renderer.
678
         */
679
        public function setRenderer(?FormRenderer $renderer): static
1✔
680
        {
681
                $this->renderer = $renderer;
1✔
682
                return $this;
1✔
683
        }
684

685

686
        /**
687
         * Returns form renderer.
688
         */
689
        public function getRenderer(): FormRenderer
690
        {
691
                if (!isset($this->renderer)) {
1✔
692
                        $this->renderer = new Rendering\DefaultFormRenderer;
1✔
693
                }
694

695
                return $this->renderer;
1✔
696
        }
697

698

699
        protected function beforeRender()
700
        {
701
        }
1✔
702

703

704
        /**
705
         * Must be called before form is rendered and render() is not used.
706
         */
707
        public function fireRenderEvents(): void
708
        {
709
                if (!$this->beforeRenderCalled) {
1✔
710
                        $this->beforeRenderCalled = true;
1✔
711
                        $this->beforeRender();
1✔
712
                        Arrays::invoke($this->onRender, $this);
1✔
713
                }
714
        }
1✔
715

716

717
        /**
718
         * Renders form.
719
         */
720
        public function render(...$args): void
1✔
721
        {
722
                $this->fireRenderEvents();
1✔
723
                echo $this->getRenderer()->render($this, ...$args);
1✔
724
        }
1✔
725

726

727
        /**
728
         * Renders form to string.
729
         */
730
        public function __toString(): string
731
        {
732
                $this->fireRenderEvents();
1✔
733
                return $this->getRenderer()->render($this);
1✔
734
        }
735

736

737
        public function getToggles(): array
738
        {
739
                $toggles = [];
1✔
740
                foreach ($this->getComponentTree() as $control) {
1✔
741
                        if ($control instanceof Controls\BaseControl) {
1✔
742
                                $toggles = $control->getRules()->getToggleStates($toggles);
1✔
743
                        }
744
                }
745

746
                return $toggles;
1✔
747
        }
748

749

750
        /********************* backend ****************d*g**/
751

752

753
        /**
754
         * Initialize standalone forms.
755
         */
756
        public static function initialize(bool $reinit = false): void
1✔
757
        {
758
                if ($reinit) {
1✔
759
                        self::$defaultHttpRequest = null;
1✔
760
                        return;
1✔
761
                } elseif (self::$defaultHttpRequest) {
1✔
762
                        return;
1✔
763
                }
764

765
                self::$defaultHttpRequest = (new Nette\Http\RequestFactory)->fromGlobals();
1✔
766

767
                if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
1✔
UNCOV
768
                        if (headers_sent($file, $line)) {
×
769
                                throw new Nette\InvalidStateException(
×
770
                                        'Create a form or call Nette\Forms\Form::initialize() before the headers are sent to initialize CSRF protection.'
UNCOV
771
                                        . ($file ? " (output started at $file:$line)" : '') . '. ',
×
772
                                );
773
                        }
774

UNCOV
775
                        $response = new Nette\Http\Response;
×
776
                        $response->cookieSecure = self::$defaultHttpRequest->isSecured();
×
777
                        Nette\Http\Helpers::initCookie(self::$defaultHttpRequest, $response);
×
778
                }
779
        }
1✔
780

781

782
        private function getHttpRequest(): Nette\Http\IRequest
783
        {
784
                if (!isset($this->httpRequest)) {
1✔
785
                        self::initialize();
1✔
786
                        $this->httpRequest = self::$defaultHttpRequest;
1✔
787
                }
788

789
                return $this->httpRequest;
1✔
790
        }
791
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc