Skip to content

Commit

Permalink
Merge pull request #2454 from boltdesignsystem/feature/DS-745-support…
Browse files Browse the repository at this point in the history
…-php-8

DS-745 Support PHP 8
  • Loading branch information
remydenton committed Mar 22, 2022
2 parents d433ebb + 6006c04 commit fcfef78
Show file tree
Hide file tree
Showing 22 changed files with 154 additions and 610 deletions.
7 changes: 6 additions & 1 deletion docs-site/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,10 @@
"patternlab-plugin"
]
},
"minimum-stability": "dev"
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"cweagans/composer-patches": true
}
}
}
139 changes: 21 additions & 118 deletions docs-site/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs-site/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ lineageMatch: '{%([ ]+)?(?:include|extends|embed)( |\()["\']([\/.@A-Za
lineageMatchKey: 3
patternExtension: twig
twigExtensions:
- '\BasaltInc\TwigTools\TwigExtensions\BasaltFakerExtension'
- '\Bolt\TwigExtensions\BoltCore'
- '\Bolt\TwigExtensions\BoltCoreCompat'
- '\Bolt\TwigExtensions\BoltExtras'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",,
}
]
}, with_context = false),
Expand All @@ -24,7 +24,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",,
}
]
}, with_context = false),
Expand All @@ -38,7 +38,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",,
}
]
}, with_context = false),
Expand All @@ -52,7 +52,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",,
}
]
}, with_context = false),
Expand All @@ -66,7 +66,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",,
}
]
}, with_context = false),
Expand All @@ -80,7 +80,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",,
}
]
}, with_context = false),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
}
]
}, with_context = false),
Expand All @@ -24,7 +24,7 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
}
]
}, with_context = false),
Expand All @@ -38,10 +38,10 @@
},
{
pattern: "text",
text: faker.text(100),
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
}
]
}, with_context = false),
],
loop: true,
} only %}
} only %}
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
{
cardUrl: "#!",
cardSubtitle: "Module",
cardTitle: bolt.faker.sentence(3),
cardTitle: "Quidem ut sunt et quidem est accusamus aut. Fuga est placeat rerum ut. Enim ex eveniet facere sunt.",
cardMetaItems: [
macros.include("@bolt-components-headline/text.twig", {
size: "small",
weight: "bold",
text: "#{bolt.faker.numberBetween(2,10)} Topics",
text: "3 Topics",
}, false),
macros.include("@bolt-components-headline/text.twig", {
size: "small",
Expand All @@ -31,7 +31,7 @@
],
cardGradient: "teal",
cardIcon: "orbit",
cardDescription: bolt.faker.paragraph(2),
cardDescription: "Aut modi eos iure et dolorum molestiae consequatur. Ad velit dolorem officiis odit dolores assumenda omnis vero.",
cardUtilityItems: [
macros.include("@bolt-elements-button/button.twig", {
content: "Share",
Expand All @@ -56,12 +56,12 @@
{
cardUrl: "#!",
cardSubtitle: "Module",
cardTitle: bolt.faker.sentence(3),
cardTitle: "Quidem ut sunt et quidem est accusamus aut. Fuga est placeat rerum ut. Enim ex eveniet facere sunt.",
cardMetaItems: [
macros.include("@bolt-components-headline/text.twig", {
size: "small",
weight: "bold",
text: "#{bolt.faker.numberBetween(2,10)} Topics",
text: "4 Topics",
}, false),
macros.include("@bolt-components-headline/text.twig", {
size: "small",
Expand All @@ -74,7 +74,7 @@
],
cardGradient: "orange",
cardIcon: "meteor",
cardDescription: bolt.faker.paragraph(2),
cardDescription: "Aut modi eos iure et dolorum molestiae consequatur. Ad velit dolorem officiis odit dolores assumenda omnis vero.",
cardUtilityItems: [
macros.include("@bolt-elements-button/button.twig", {
content: "Share",
Expand Down

0 comments on commit fcfef78

Please sign in to comment.