Skip to content

Commit

Permalink
Merge pull request #105 from 84m/actions-update
Browse files Browse the repository at this point in the history
update to latest action version
  • Loading branch information
HeahDude committed Mar 8, 2024
2 parents 3a64204 + cbeb56a commit b626dcc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP, extensions and composer with shivammathur/setup-php
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP, extensions and composer with shivammathur/setup-php
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"require-dev": {
"symfony/form": "^5.4 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^7.0",
"symfony/phpunit-bridge": "^7.0.1",
"twig/twig": "^2.4.4 || ^3.0"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/CacheWarmer/SerializerCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(array $paths, array $profiles, HTMLPurifiersRegistry
$this->filesystem = $filesystem;
}

public function warmUp($cacheDir, string $buildDir = null): array
public function warmUp($cacheDir, ?string $buildDir = null): array
{
foreach ($this->paths as $path) {
$this->filesystem->remove($path); // clean previous cache
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/ExerciseHTMLPurifierExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private static function resolveProfileInheritance(string $parent, array $configs
$resolved[$parent]['blank_elements'] = $configs[$parent]['blank_elements'];
}

private static function getResolvedConfig(string $parameter, array $parents, array $definition = null): array
private static function getResolvedConfig(string $parameter, array $parents, ?array $definition = null): array
{
if (null !== $definition) {
return array_filter(array_merge(
Expand Down
2 changes: 1 addition & 1 deletion src/HTMLPurifierConfigFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class HTMLPurifierConfigFactory
public static function create(
string $profile,
array $configArray,
\HTMLPurifier_Config $defaultConfig = null,
?\HTMLPurifier_Config $defaultConfig = null,
array $parents = [],
array $attributes = [],
array $elements = [],
Expand Down

0 comments on commit b626dcc

Please sign in to comment.