Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
feat(v4.0.0): 175 WCAG 2.2 & ARIA rules, VPAT 2.5, 11 presets, PolicyEngine, inline suppressions, cache, CI generator, PHPUnit assertions, and open-source YakNet identity
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace YakNet\AccessibilityConsole\Presets;
|
||||
|
||||
class Bitv2Preset implements PresetInterface
|
||||
{
|
||||
public function getName(): string
|
||||
{
|
||||
return 'bitv2';
|
||||
}
|
||||
|
||||
public function getDescription(): string
|
||||
{
|
||||
return 'German BITV 2.0 (Barrierefreie-Informationstechnik-Verordnung) public accessibility profile.';
|
||||
}
|
||||
|
||||
public function getLevel(): int
|
||||
{
|
||||
return 5;
|
||||
}
|
||||
|
||||
public function getIncludedRules(): array
|
||||
{
|
||||
return [
|
||||
'WCAG_1_4_3_CONTRAST',
|
||||
'WCAG_1_4_12_TEXT_SPACING',
|
||||
'WCAG_2_4_7_FOCUS_OUTLINE',
|
||||
'WCAG_3_1_1_LANG',
|
||||
'WCAG_3_1_2_LANG',
|
||||
'WCAG_3_1_4_ABBR_TITLE',
|
||||
'WCAG_2_4_1_SkipNavigation',
|
||||
'WCAG_2_4_6_DOCUMENT_H1',
|
||||
];
|
||||
}
|
||||
|
||||
public function getExcludedRules(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user